@ibm-cloud/cd-tools 1.3.1 → 1.3.2
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.
|
@@ -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);
|