-
Notifications
You must be signed in to change notification settings - Fork 0
[CBTL-2670] Add additional business group ID #40
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
base: develop
Are you sure you want to change the base?
[CBTL-2670] Add additional business group ID #40
Conversation
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.
A small comment, also can we find some other name for SECONDARY_BUSINESS_GROUP_ID
@hoangmirs - how about UPSTREAM_BUSINESS_GROUP_ID
🤔
@@ -69,6 +69,8 @@ on: | |||
required: false | |||
BUSINESS_GROUP_ID: | |||
required: true | |||
SECONDARY_BUSINESS_GROUP_ID: |
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.
Hi @hoangmirs can you explain a bit on this idea as we didn't consume the SECONDARY_BUSINESS_GROUP_ID
in this workflow, why do we need to add it here? 🤔
Or you are missing it in uses: nimblehq/mulesoft-actions/deploy_cloudhub_1_0@v1.23.0
step?
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.
@andyduong1920 This enables us to define the repositories here for the app to download.
So, from my understanding, whenever we build the app (in test or deploy workflows), we will need to add it so that the app can have access to the correct repository to download the assets (documentation or modules).
For the name, SECONDARY_BUSINESS_GROUP_ID
I chose it as this is not the main business group ID of the app, but another one that the app need to fetch the modules, in this case, the GT one. Same for GT app, later we might need to download from other services (maybe from JFC), so I don't think we should name it as UPSTREAM_BUSINESS_GROUP_ID
.
For the naming, can we name it as ADDITIONAL_BUSINESS_GROUP_ID
?
@hoangmirs btw, Instead of putthing this new configuration, can you use the |
Is it ok to put it as hard-coded? I also want to to that so that we don't need to pass it through a few steps like the current one 🤔 |
yes @hoangmirs as that is not sensitive information - and we have that in the app, for example, you can check the codebase like |
What happened 👀
SECONDARY_BUSINESS_GROUP_ID
to support download assets from the secondary exchange. In our case, CBTL would like to use the common-module from GTInsight 📝
Proof Of Work 📹
N/A