Project

General

Profile

1
/**
2
 * This environment is used when running the microservices locally WITHOUT using Zuul edge server
3
 * for all endpoints, using directly each service's dedicated url (not very practical, but meh)
4
 */
5

    
6
export const environment = {
7
  production: false,
8
  staging: true,
9
  enableGlobalErrorToast: false,
10
  baseApiUrl: 'https://gx-zwe661dilbt2-s001.glblcloud.ad.pwcinternal.com',
11
  apiUrl: {
12
    configurationWs: '/configuration-ws',
13
    documentsProcessesWs: '/documents-processes-ws',
14
    verificationRulesWs: '/verification-rules-ws',
15
    usersWs: '/users-ws'
16
  },
17
  defaultLanguage: 'en',
18
  languages: [
19
    {
20
      code: 'en',
21
      name: 'English'
22
    },
23
    {
24
      code: 'el',
25
      name: 'Ελληνικά'
26
    }
27
  ],
28
  oAuth2: {
29
    serverUrl: 'https://login-stg.pwc.com:443/openam/oauth2/',
30
    issuerUrl: 'https://login-stg.pwc.com:443/openam/oauth2',
31
    realmName: '',
32
    // The commented one is the original webserver hostname, second one is the extra DNS record also pointing to the web server
33
    // redirectUri: 'http://GX-ZWEWEBSWV239.glblcloud.ad.pwcinternal.com',
34
    redirectUri: 'https://rtastg.cy.ema.ad.pwcinternal.com',
35
    clientId: 'urn:rta',
36
    // Scope for the permissions the client should request
37
    // scope: 'openid profile email auth',
38
    scope: 'profile email cloudEmail uid preferredMail',
39
    // Set this to "true" if you want automatic redirection to OAuth2 login to happen when user visits any page as anonymous,
40
    // without manually clicking 'login'.
41
    autoLogin: true
42
  },
43
  globalRightsClientID: 'PWC',
44
  dashboardSelectedIpowerClientsStorageTime: 432000000 //5 day in miliseconds
45
};
(4-4/5)