Remove the dependency with TestConfig (#4752)

* Remove the dependency with TestConfig

* Change protocol to https

* Trigger the cloud change

* Trigger the cloud change
This commit is contained in:
Maurizio Vitale
2019-05-20 18:11:01 +01:00
committed by Vito
parent cff9bf0930
commit 1141511a07
5 changed files with 12 additions and 11 deletions

View File

@@ -27,10 +27,10 @@ async function main() {
config = {
provider: 'BPM',
hostBpm: `http://${program.host}`,
hostBpm: `https://${program.host}`,
authType: 'OAUTH',
oauth2: {
host: `http://${program.host}/auth/realms/alfresco`,
host: `https://${program.host}/auth/realms/alfresco`,
clientId: program.client,
scope: 'openid',
secret: '',
@@ -433,7 +433,7 @@ async function deleteSiteByName(name) {
let alfrescoJsApi = new alfrescoApi.AlfrescoApiCompatibility({
provider: 'ECM',
hostEcm: `http://${program.host}`
hostEcm: `https://${program.host}`
});
await this.alfrescoJsApi.login(program.username, program.password);