@ibm-cloud/cd-tools 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cmd/utils/import-terraform.js +1 -1
- package/cmd/utils/requests.js +1 -2
- package/config.js +2 -0
- package/package.json +1 -1
|
@@ -262,7 +262,7 @@ export async function importTerraform(token, apiKey, region, toolchainId, toolch
|
|
|
262
262
|
|
|
263
263
|
// clean up parameters
|
|
264
264
|
const newParamsMap = {};
|
|
265
|
-
const paramsToInclude = ['api_token', 'auth_type', 'enable_traceability', '
|
|
265
|
+
const paramsToInclude = ['api_token', 'auth_type', 'enable_traceability', 'toolchain_issues_enabled'];
|
|
266
266
|
for (const param of paramsToInclude) {
|
|
267
267
|
newParamsMap[param] = paramsMap[param];
|
|
268
268
|
}
|
package/cmd/utils/requests.js
CHANGED
|
@@ -294,8 +294,7 @@ async function getGitOAuth(bearer, targetRegion, gitId) {
|
|
|
294
294
|
'Authorization': `Bearer ${bearer}`,
|
|
295
295
|
'Content-Type': 'application/json',
|
|
296
296
|
},
|
|
297
|
-
|
|
298
|
-
params: { env_id: `ibm:yp:${targetRegion}`, git_id: gitId, console_url: 'https://cloud.ibm.com', return_uri: `https://cloud.ibm.com/devops/git?env_id=ibm:yp:${targetRegion}` },
|
|
297
|
+
params: { env_id: `ibm:yp:${targetRegion}`, git_id: gitId, console_url: 'https://cloud.ibm.com', return_uri: `https://cloud.ibm.com/devops/git/static/github_return.html` },
|
|
299
298
|
validateStatus: () => true
|
|
300
299
|
};
|
|
301
300
|
const response = await axios(options);
|
package/config.js
CHANGED
|
@@ -197,6 +197,7 @@ const SUPPORTED_TOOLS_MAP = {
|
|
|
197
197
|
'eventnotifications': 'ibm_cd_toolchain_tool_eventnotifications',
|
|
198
198
|
'hostedgit': 'ibm_cd_toolchain_tool_hostedgit',
|
|
199
199
|
'githubconsolidated': 'ibm_cd_toolchain_tool_githubconsolidated',
|
|
200
|
+
'cloudobjectstorage': 'ibm_cd_toolchain_tool_cos',
|
|
200
201
|
'gitlab': 'ibm_cd_toolchain_tool_gitlab',
|
|
201
202
|
'hashicorpvault': 'ibm_cd_toolchain_tool_hashicorpvault',
|
|
202
203
|
'jenkins': 'ibm_cd_toolchain_tool_jenkins',
|
|
@@ -204,6 +205,7 @@ const SUPPORTED_TOOLS_MAP = {
|
|
|
204
205
|
'keyprotect': 'ibm_cd_toolchain_tool_keyprotect',
|
|
205
206
|
'nexus': 'ibm_cd_toolchain_tool_nexus',
|
|
206
207
|
'customtool': 'ibm_cd_toolchain_tool_custom',
|
|
208
|
+
'pagerduty': 'ibm_cd_toolchain_tool_pagerduty',
|
|
207
209
|
'saucelabs': 'ibm_cd_toolchain_tool_saucelabs',
|
|
208
210
|
'secretsmanager': 'ibm_cd_toolchain_tool_secretsmanager',
|
|
209
211
|
'security_compliance': 'ibm_cd_toolchain_tool_securitycompliance',
|