@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.
@@ -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', 'integration_owner', 'toolchain_issues_enabled'];
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
  }
@@ -294,8 +294,7 @@ async function getGitOAuth(bearer, targetRegion, gitId) {
294
294
  'Authorization': `Bearer ${bearer}`,
295
295
  'Content-Type': 'application/json',
296
296
  },
297
- // TODO: replace return_uri with "official" endpoint
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',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibm-cloud/cd-tools",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "Tools and utilities for the IBM Cloud Continuous Delivery service and resources",
5
5
  "repository": {
6
6
  "type": "git",