-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add list rule with service_group_id test #168
Conversation
Signed-off-by: Cameron Davis <[email protected]>
@@ -18,7 +18,8 @@ | |||
|
|||
const { readExternalSources } = require('ibm-cloud-sdk-core'); | |||
const { v4: uuidv4 } = require('uuid'); | |||
const ContextBasedRestrictionsV1 = require('../../dist/context-based-restrictions/v1'); | |||
// const ContextBasedRestrictionsV1 = require('../../dist/context-based-restrictions/v1'); | |||
const ContextBasedRestrictionsV1 = require('@ibm-cloud/platform-services/context-based-restrictions/v1'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cam-d12 did you make this change or the generator code? The dist folder should have the latest locally built code. If you need to help with how to build the code into the dist folder, try the readme or reach out and I can try to help.
ruleEtag = res.headers.etag; | ||
|
||
//list rule with service_group_id attribute | ||
const listParams = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would expect that we'd want to pass the serviceGroupId parameter to make sure filtering by the property is working as expected?
Signed-off-by: Cameron Davis <[email protected]>
Signed-off-by: Cameron Davis <[email protected]>
Signed-off-by: Cameron Davis <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
## [0.26.1](v0.26.0...v0.26.1) (2022-10-14) ### Bug Fixes * **Context Based Restrictions:** add list rule with service_group_id test ([#168](#168)) ([8dbfe4b](8dbfe4b))
🎉 This PR is included in version 0.26.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Signed-off-by: Cameron Davis [email protected]
PR summary
This PR adds CBR support for the new service_group_id parameter in rules.
PR Checklist
Please make sure that your PR fulfills the following requirements:
Current vs new behavior
No current behavior should be modified. Adds the further control to be able to apply rules to service groups
Does this PR introduce a breaking change?
Other information