File tree Expand file tree Collapse file tree 5 files changed +105
-158
lines changed
_samples/full-portal/top-app-mashup Expand file tree Collapse file tree 5 files changed +105
-158
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " http://json.schemastore.org/prettierrc" ,
3+ "extends" : " @pega/prettier-config" ,
4+ "printWidth" : 150 ,
5+ "singleQuote" : true ,
6+ "trailingComma" : " none"
7+ }
Original file line number Diff line number Diff line change 11< div *ngIf ="portalSelectionScreen; else loadPortal " class ="portal-load-error ">
2- < div >
2+ < div data-test-id =" defaultPortalErrorMessage " >
33 Default portal ( < span class ="portal-name "> {{ defaultPortalName }}</ span > ) for current operator is not compatible with SDK. < br /> < br />
44 Please select one of the portals available to the operator's access group:
55 </ div >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Utils } from '../_helpers/utils';
33import { endpoints } from '../_services/endpoints' ;
44
55@Injectable ( {
6- providedIn : 'root' ,
6+ providedIn : 'root'
77} )
88export class ServerConfigService {
99 PCore : any ;
@@ -130,14 +130,14 @@ export class ServerConfigService {
130130 const arExcludedPortals = serverConfig [ 'excludePortals' ] ;
131131 let headers = {
132132 Authorization : Utils . sdkGetAuthHeader ( ) ,
133- 'Content-Type' : 'application/json' ,
133+ 'Content-Type' : 'application/json'
134134 } ;
135135
136136 // Using v1 API here as v2 data_views is not able to access same data page currently. Should move to avoid having this logic to find
137137 // a default portal or constellation portal and rather have Constellation JS Engine API just load the default portal
138- fetch ( `${ serverUrl } ${ appAliasPath } ${ endpoints . API } ${ endpoints . DATA } /${ dataPageName } ` , {
138+ fetch ( `${ serverUrl } ${ appAliasPath } / ${ endpoints . API } ${ endpoints . DATA } /${ dataPageName } ` , {
139139 method : 'GET' ,
140- headers,
140+ headers
141141 } )
142142 . then ( ( response ) => {
143143 if ( response . ok && response . status === 200 ) {
Original file line number Diff line number Diff line change 11// require('lighthouse/lighthouse-core/config/lr-desktop-config.js');
22
33const config = {
4- baseUrl : " http://localhost:3500/portal" ,
4+ baseUrl : ' http://localhost:3500/portal' ,
55 apps : {
66 mediaCo : {
77 rep : {
8- username : " rep@mediaco" ,
9- password : " pega" ,
8+ username : ' rep@mediaco' ,
9+ password : ' pega'
1010 } ,
1111 manager : {
12- username : " manager@mediaco" ,
13- password : " pega" ,
12+ username : ' manager@mediaco' ,
13+ password : ' pega'
1414 } ,
1515 tech : {
16- username : " tech@mediaco" ,
17- password : " pega" ,
16+ username : ' tech@mediaco' ,
17+ password : ' pega'
1818 } ,
19+ admin : {
20+ username : 'admin@mediaco' ,
21+ password : 'pega'
22+ }
1923 } ,
2024 digv2 : {
2125 user : {
22- username : " user.digv2" ,
23- password : " pega" ,
24- } ,
25- } ,
26+ username : ' user.digv2' ,
27+ password : ' pega'
28+ }
29+ }
2630 } ,
2731 testsetting : {
2832 // Enable network throttling(Default is false)
@@ -43,8 +47,8 @@ const config = {
4347 width : 1920 ,
4448 height : 1080 ,
4549 headless : true ,
46- devtools : false ,
47- } ,
50+ devtools : false
51+ }
4852} ;
4953
5054exports . config = config ;
You can’t perform that action at this time.
0 commit comments