mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
* modify settings page and add test for login with SSO * remove await * added the HOST_SSO as parameter * change setSilentLogin method, add new method, add new test * remove comment * optional parameters silentLogin and implicitFlow * moved --host_sso "$E2E_HOST_SSO" to ./scripts/test-e2e-lib.sh script
111 lines
2.2 KiB
JavaScript
111 lines
2.2 KiB
JavaScript
/**
|
||
* Contains the default app deployment settings
|
||
* @class config.test.config
|
||
*/
|
||
|
||
var HOST = process.env.URL_HOST_ADF;
|
||
const HOST_SSO = process.env.URL_HOST_SSO_ADF;
|
||
var USERNAME = process.env.USERNAME_ADF;
|
||
var PASSWORD = process.env.PASSWORD_ADF;
|
||
var EMAIL = process.env.EMAIL_ADF;
|
||
var TIMEOUT = process.env.TIMEOUT || 20000;
|
||
|
||
module.exports = {
|
||
|
||
main: {
|
||
timeout: TIMEOUT,
|
||
|
||
presence_timeout: 60000,
|
||
|
||
rootPath: __dirname
|
||
},
|
||
|
||
adf: {
|
||
/**
|
||
* base
|
||
*/
|
||
url: "http://" + HOST,
|
||
|
||
/**
|
||
* adf port
|
||
*/
|
||
port: "",
|
||
|
||
/**
|
||
* adf login
|
||
*/
|
||
login: "/login",
|
||
|
||
/**
|
||
* admin username
|
||
*/
|
||
adminUser: USERNAME,
|
||
|
||
/**
|
||
* main admin email
|
||
*/
|
||
adminEmail: EMAIL,
|
||
|
||
/**
|
||
* main admin password
|
||
*/
|
||
adminPassword: PASSWORD,
|
||
|
||
hostSso: "http://" + HOST_SSO
|
||
|
||
},
|
||
|
||
adf_acs: {
|
||
/**
|
||
* The protocol where the app runs.
|
||
* @config main.protocol {String}
|
||
*/
|
||
protocol: "http",
|
||
|
||
/**
|
||
* The protocol where the app runs.
|
||
* @config main.protocol {String}
|
||
*/
|
||
host: HOST,
|
||
|
||
/**
|
||
* * The port where the app runs.
|
||
* * @config main.port {String}
|
||
* */
|
||
port: "",
|
||
|
||
/**
|
||
* The ECM API context required for calls
|
||
* @config adf.ACSAPIContextRoot {String}
|
||
*/
|
||
apiContextRoot: "/alfresco/api/-default-/public",
|
||
},
|
||
|
||
adf_aps: {
|
||
/**
|
||
* The protocol where the app runs.
|
||
* @config main.protocol {String}
|
||
*/
|
||
protocol: "http",
|
||
|
||
/**
|
||
* The host where the app runs.
|
||
* @config main.host {String}
|
||
*/
|
||
host: HOST,
|
||
|
||
/**
|
||
* * The port where the app runs.
|
||
* * @config main.port {String}
|
||
* */
|
||
port: "",
|
||
|
||
/**
|
||
* The BPM API context required for calls
|
||
* @config adf.APSAPIContextRoot {String}
|
||
*/
|
||
apiContextRoot: "/activiti-app"
|
||
}
|
||
|
||
};
|