* Change strategy with process cloud e2e and fixes

* Change strategy with process cloud e2e and fixes

* Fix path and host

* improve the config and run the replace for cloud

* Use the same name of other scripts

* Fix lint

* Run the replace in case of cloud

* typo

* Export variables if needed
Fix the check env passing the oauth
This commit is contained in:
Maurizio Vitale
2019-05-23 10:24:32 +01:00
committed by Denys Vuika
parent 446efe4297
commit abb76d956b
26 changed files with 301 additions and 282 deletions

View File

@@ -20,6 +20,7 @@ async function main() {
program
.version('0.1.0')
.option('--host [type]', 'Remote environment host adf.lab.com ')
.option('--oauth [type]', 'oauth host')
.option('--client [type]', 'clientId ')
.option('-p, --password [type]', 'password ')
.option('-u, --username [type]', 'username ')
@@ -27,10 +28,10 @@ async function main() {
config = {
provider: 'BPM',
hostBpm: `https://${program.host}`,
hostBpm: `${program.host}`,
authType: 'OAUTH',
oauth2: {
host: `https://${program.host}/auth/realms/alfresco`,
host: `${program.oauth}`,
clientId: program.client,
scope: 'openid',
secret: '',