-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SALTO-6154: Using ts-node for cred_store scripts (#6136)
- Loading branch information
Showing
12 changed files
with
69 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env ts-node | ||
|
||
const { cli } = require('@salto-io/e2e-credentials-store') | ||
const adapter = require('./credentials_store/adapter').default | ||
|
||
cli.main({ | ||
adapters: { | ||
confluence: adapter, | ||
}, | ||
}) |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
10 changes: 7 additions & 3 deletions
10
packages/google-workspace-adapter/e2e_test/cred_store
100644 → 100755
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#!/usr/bin/env node | ||
require('@salto-io/e2e-credentials-store').cli.main({ | ||
#!/usr/bin/env ts-node | ||
|
||
const { cli } = require('@salto-io/e2e-credentials-store') | ||
const adapter = require('./credentials_store/adapter').default | ||
|
||
cli.main({ | ||
adapters: { | ||
'google-workspace': require('../dist/e2e_test/credentials_store/adapter').default, | ||
'google-workspace': adapter, | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
#!/usr/bin/env node | ||
require('@salto-io/e2e-credentials-store').cli.main({ | ||
#!/usr/bin/env ts-node | ||
|
||
const { cli } = require('@salto-io/e2e-credentials-store') | ||
const adapter = require('./credentials_store/adapter').default | ||
|
||
cli.main({ | ||
adapters: { | ||
jira: require('../dist/e2e_test/credentials_store/adapter').default, | ||
jira_datacenter: require('../dist/e2e_test/credentials_store/adapter').default, | ||
jira: adapter, | ||
jira_datacenter: adapter, | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#!/usr/bin/env node | ||
require('@salto-io/e2e-credentials-store').cli.main({ | ||
#!/usr/bin/env ts-node | ||
|
||
const { cli } = require('@salto-io/e2e-credentials-store') | ||
const adapter = require('./credentials_store/adapter').default | ||
|
||
cli.main({ | ||
adapters: { | ||
netsuite: require('../dist/e2e_test/credentials_store/adapter').default, | ||
netsuite: adapter, | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#!/usr/bin/env node | ||
require('@salto-io/e2e-credentials-store').cli.main({ | ||
#!/usr/bin/env ts-node | ||
|
||
const { cli } = require('@salto-io/e2e-credentials-store') | ||
const adapter = require('./credentials_store/adapter').default | ||
|
||
cli.main({ | ||
adapters: { | ||
okta: require('../dist/e2e_test/credentials_store/adapter').default, | ||
okta: adapter, | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#!/usr/bin/env node | ||
require('@salto-io/e2e-credentials-store').cli.main({ | ||
#!/usr/bin/env ts-node | ||
|
||
const { cli } = require('@salto-io/e2e-credentials-store') | ||
const adapter = require('./credentials_store/adapter').default | ||
|
||
cli.main({ | ||
adapters: { | ||
salesforce: require('../dist/e2e_test/credentials_store/adapter').default, | ||
salesforce: adapter, | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#!/usr/bin/env node | ||
require('@salto-io/e2e-credentials-store').cli.main({ | ||
#!/usr/bin/env ts-node | ||
|
||
const { cli } = require('@salto-io/e2e-credentials-store') | ||
const adapter = require('./credentials_store/adapter').default | ||
|
||
cli.main({ | ||
adapters: { | ||
stripe: require('../dist/e2e_test/credentials_store/adapter').default, | ||
stripe: adapter, | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#!/usr/bin/env node | ||
require('@salto-io/e2e-credentials-store').cli.main({ | ||
#!/usr/bin/env ts-node | ||
|
||
const { cli } = require('@salto-io/e2e-credentials-store') | ||
const adapter = require('./credentials_store/adapter').default | ||
|
||
cli.main({ | ||
adapters: { | ||
zendesk: require('../dist/e2e_test/credentials_store/adapter').default, | ||
zendesk: adapter, | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#!/usr/bin/env node | ||
require('@salto-io/e2e-credentials-store').cli.main({ | ||
#!/usr/bin/env ts-node | ||
|
||
const { cli } = require('@salto-io/e2e-credentials-store') | ||
const adapter = require('./credentials_store/adapter').default | ||
|
||
cli.main({ | ||
adapters: { | ||
zuora_billing: require('../dist/e2e_test/credentials_store/adapter').default, | ||
zuora_billing: adapter, | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters