@eui/cli 14.0.0-beta.2 → 14.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.version.properties +1 -1
- package/lib/__old-to-review/skeletons/_angular/_base-advanced/src/app/app-starter.service.ts +9 -0
- package/lib/skeletons/_angular/base/angular.json +1 -0
- package/lib/skeletons/_angular/base/gitignore_TO_REPLACE +4 -1
- package/lib/skeletons/_angular/base/package.json +9 -9
- package/lib/skeletons/_angular/base/src/app/app.component.ts +0 -4
- package/lib/skeletons/_angular/base/src/app/app.module.ts +11 -1
- package/lib/skeletons/_angular/base/src/app/core/core.module.ts +2 -2
- package/lib/skeletons/_angular/base/src/assets/config/{env-json-config-ENV.json → env-json-config-PROD.json} +0 -0
- package/lib/skeletons/_angular/base/src/assets/config/{env-json-config-local.json → env-json-config.json} +0 -0
- package/lib/skeletons/_angular/base-mobile/package.json +11 -24
- package/lib/skeletons/_angular/options/ecl/package.json +7 -6
- package/lib/skeletons/_angular/options/openid-jwt/package.json +6 -12
- package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/{env-json-config-mock.json → env-json-config.json} +0 -0
- package/lib/skeletons/web-symfony/myapp-web/package.json +2 -2
- package/package.json +3 -3
- package/lib/skeletons/_angular/base/src/assets/config/env-json-config-mock.json +0 -7
- package/lib/skeletons/_angular/base/src/assets/config/env-json-config-proxy.json +0 -7
- package/lib/skeletons/_angular/options/ecl/src/app/app.module.ts +0 -37
- package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-acc.json +0 -24
- package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-proxy.json +0 -10
- package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-tst.json +0 -24
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
14.0.0-
|
|
1
|
+
14.0.0-rc.3
|
package/lib/__old-to-review/skeletons/_angular/_base-advanced/src/app/app-starter.service.ts
CHANGED
|
@@ -25,6 +25,7 @@ import { LangChangeEvent } from '@ngx-translate/core/lib/translate.service';
|
|
|
25
25
|
})
|
|
26
26
|
export class AppStarterService {
|
|
27
27
|
defaultUserPreferences: UserPreferences;
|
|
28
|
+
preferencesLoaded = false;
|
|
28
29
|
|
|
29
30
|
constructor(
|
|
30
31
|
protected userService: UserService,
|
|
@@ -106,6 +107,7 @@ export class AppStarterService {
|
|
|
106
107
|
this.fetchUserPreferences(),
|
|
107
108
|
).pipe(
|
|
108
109
|
switchMap(([userDetails, userPreferences]) => {
|
|
110
|
+
this.preferencesLoaded = true;
|
|
109
111
|
|
|
110
112
|
const user: UserState = {
|
|
111
113
|
...userDetails,
|
|
@@ -166,6 +168,13 @@ export class AppStarterService {
|
|
|
166
168
|
if (!url) {
|
|
167
169
|
return of({});
|
|
168
170
|
}
|
|
171
|
+
if (!this.preferencesLoaded) {
|
|
172
|
+
console.error(
|
|
173
|
+
'The user\'s preferences initially failed to load. Storing default preferences could overwrite legitimate preferences. ' +
|
|
174
|
+
'The REST call to store preferences is therefore cancelled.'
|
|
175
|
+
);
|
|
176
|
+
return of(prefs);
|
|
177
|
+
}
|
|
169
178
|
|
|
170
179
|
return this.store.select(getUserId).pipe(switchMap(userId => this.http.put<UserPreferences>(`${url}?userId=${userId}`, prefs)));
|
|
171
180
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eui-angular-app",
|
|
3
|
-
"version": "14.0.0-
|
|
3
|
+
"version": "14.0.0-rc.3",
|
|
4
4
|
"license": "EUPL-1.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"ng": "ng",
|
|
7
7
|
"start-mock-server": "nodemon --watch ./mock ./mock/server.js",
|
|
8
|
-
"start-serve": "eui-scripts serve-app --configuration=proxy-mock
|
|
8
|
+
"start-serve": "eui-scripts serve-app --configuration=proxy-mock",
|
|
9
9
|
"start": "npm-run-all --parallel start-mock-server start-serve",
|
|
10
|
-
"start-proxy": "eui-scripts serve-app --configuration=proxy
|
|
11
|
-
"start-local": "eui-scripts serve-app
|
|
10
|
+
"start-proxy": "eui-scripts serve-app --configuration=proxy",
|
|
11
|
+
"start-local": "eui-scripts serve-app",
|
|
12
12
|
"build": "eui-scripts build-app",
|
|
13
|
-
"build-dev": "eui-scripts build-app --configuration=development",
|
|
14
|
-
"build-prod": "eui-scripts build-app --configuration=production-optimized",
|
|
15
|
-
"build-prod-skip-test": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=
|
|
16
|
-
"build-prod-stats": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=
|
|
13
|
+
"build-dev": "eui-scripts build-app --configuration=development --configEnvTarget=DEV",
|
|
14
|
+
"build-prod": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=PROD",
|
|
15
|
+
"build-prod-skip-test": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=PROD --skipTest",
|
|
16
|
+
"build-prod-stats": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=PROD --statsJson",
|
|
17
17
|
"app:build": "eui-scripts build-app",
|
|
18
18
|
"app:inject-config": "eui-scripts inject-config-app",
|
|
19
19
|
"generate-changelog": "eui-scripts generate-changelog"
|
|
20
20
|
},
|
|
21
21
|
"private": true,
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@eui/deps-base": "14.0.0-
|
|
23
|
+
"@eui/deps-base": "14.0.0-rc.3"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
UserState,
|
|
6
6
|
} from '@eui/core';
|
|
7
7
|
import { Observable, Subscription } from 'rxjs';
|
|
8
|
-
import { AppStarterService } from './app-starter.service';
|
|
9
8
|
|
|
10
9
|
@Component({
|
|
11
10
|
selector: 'app-root',
|
|
@@ -35,15 +34,12 @@ export class AppComponent implements OnInit, OnDestroy {
|
|
|
35
34
|
|
|
36
35
|
constructor(
|
|
37
36
|
private store: Store<any>,
|
|
38
|
-
private appStarterService: AppStarterService,
|
|
39
37
|
) {
|
|
40
|
-
this.appStarterService.start().subscribe(() => {
|
|
41
38
|
this.userState = <any>this.store.select(getUserState);
|
|
42
39
|
this.subs.push(this.userState.subscribe((user: UserState) => {
|
|
43
40
|
this.userInfos = { ...user };
|
|
44
41
|
console.log(user);
|
|
45
42
|
}));
|
|
46
|
-
});
|
|
47
43
|
}
|
|
48
44
|
|
|
49
45
|
ngOnInit() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BrowserModule } from '@angular/platform-browser';
|
|
2
2
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
3
|
-
import { NgModule } from '@angular/core';
|
|
3
|
+
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
|
4
4
|
|
|
5
5
|
import { AppRoutingModule } from './app-routing.module';
|
|
6
6
|
import { AppComponent } from './app.component';
|
|
@@ -19,6 +19,16 @@ import { AppStarterService } from './app-starter.service';
|
|
|
19
19
|
],
|
|
20
20
|
providers: [
|
|
21
21
|
AppStarterService,
|
|
22
|
+
{
|
|
23
|
+
provide: APP_INITIALIZER,
|
|
24
|
+
useFactory: (appStarterService) => {
|
|
25
|
+
return () => new Promise<void>((resolve) => {
|
|
26
|
+
appStarterService.start().subscribe(() => resolve());
|
|
27
|
+
});
|
|
28
|
+
},
|
|
29
|
+
deps: [AppStarterService],
|
|
30
|
+
multi: true
|
|
31
|
+
},
|
|
22
32
|
],
|
|
23
33
|
bootstrap: [
|
|
24
34
|
AppComponent,
|
|
@@ -3,8 +3,7 @@ import { TranslateModule } from '@ngx-translate/core';
|
|
|
3
3
|
import { StoreModule } from '@ngrx/store';
|
|
4
4
|
import { EffectsModule } from '@ngrx/effects';
|
|
5
5
|
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
|
|
6
|
-
|
|
7
|
-
import { HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
6
|
+
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
|
|
8
7
|
import {
|
|
9
8
|
CachePreventionInterceptor,
|
|
10
9
|
CorsSecurityInterceptor,
|
|
@@ -26,6 +25,7 @@ import { SharedModule } from '../shared/shared.module';
|
|
|
26
25
|
@NgModule({
|
|
27
26
|
imports: [
|
|
28
27
|
SharedModule,
|
|
28
|
+
HttpClientModule,
|
|
29
29
|
EuiCoreModule.forRoot(),
|
|
30
30
|
EffectsModule.forRoot([...CoreModuleEffects]),
|
|
31
31
|
TranslateModule.forRoot(translateConfig),
|
|
File without changes
|
|
File without changes
|
|
@@ -1,41 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eui-angular-app",
|
|
3
|
-
"version": "14.0.0-
|
|
3
|
+
"version": "14.0.0-rc.3",
|
|
4
4
|
"license": "EUPL-1.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"ng": "ng",
|
|
7
|
-
"e2e": "ng e2e",
|
|
8
|
-
"postinstall": "tslint --project ./src/tsconfig.app.json --fix",
|
|
9
7
|
"start-mock-server": "nodemon --watch ./mock ./mock/server.js",
|
|
10
8
|
"start-serve": "eui-scripts serve-app --configuration=proxy-mock",
|
|
11
9
|
"start": "npm-run-all --parallel start-mock-server start-serve",
|
|
12
|
-
"start-mean": "npm-run-all --parallel start-mock-server-mean start-serve",
|
|
13
10
|
"start-proxy": "eui-scripts serve-app --configuration=proxy",
|
|
14
|
-
"start-
|
|
11
|
+
"start-local": "eui-scripts serve-app",
|
|
15
12
|
"build": "eui-scripts build-app",
|
|
16
|
-
"build-dev": "eui-scripts build-app --configuration=
|
|
17
|
-
"build-prod": "eui-scripts build-app --configuration=production",
|
|
18
|
-
"build-prod-skip-test": "eui-scripts build-app --configuration=production --
|
|
19
|
-
"build-prod-
|
|
20
|
-
"build
|
|
21
|
-
"
|
|
22
|
-
"pkg:clean": "eui-scripts clean-package",
|
|
23
|
-
"pkg:clean-all": "eui-scripts clean-all",
|
|
24
|
-
"pkg:test": "eui-scripts test-package",
|
|
25
|
-
"pkg:build": "eui-scripts build-package",
|
|
26
|
-
"pkg:build-deps": "eui-scripts build-deps",
|
|
27
|
-
"pkg:build-all": "eui-scripts build-all",
|
|
28
|
-
"pkg:build-element": "eui-scripts build-element",
|
|
29
|
-
"build-prod:all": "npm run pkg:build-all && npm run build",
|
|
30
|
-
"pkg:publish": "eui-scripts publish",
|
|
31
|
-
"pkg:publish-all": "eui-scripts publish-all",
|
|
13
|
+
"build-dev": "eui-scripts build-app --configuration=development --configEnvTarget=DEV",
|
|
14
|
+
"build-prod": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=PROD",
|
|
15
|
+
"build-prod-skip-test": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=PROD --skipTest",
|
|
16
|
+
"build-prod-stats": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=PROD --statsJson",
|
|
17
|
+
"app:build": "eui-scripts build-app",
|
|
18
|
+
"app:inject-config": "eui-scripts inject-config-app",
|
|
32
19
|
"generate-changelog": "eui-scripts generate-changelog"
|
|
33
20
|
},
|
|
34
21
|
"private": true,
|
|
35
22
|
"dependencies": {
|
|
36
|
-
"@eui/deps-base": "14.0.0-
|
|
37
|
-
"@eui/mobile-core": "
|
|
38
|
-
"@eui/mobile-styles": "
|
|
23
|
+
"@eui/deps-base": "14.0.0-rc.3",
|
|
24
|
+
"@eui/mobile-core": "13.0.0-rc.1",
|
|
25
|
+
"@eui/mobile-styles": "13.0.0-rc.1"
|
|
39
26
|
},
|
|
40
27
|
"browserslist": [
|
|
41
28
|
"last 2 chrome versions",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eui-ecl-angular-app",
|
|
3
|
-
"version": "14.0.0-
|
|
3
|
+
"version": "14.0.0-rc.3",
|
|
4
4
|
"license": "EUPL-1.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"ng": "ng",
|
|
@@ -8,18 +8,19 @@
|
|
|
8
8
|
"start-serve": "eui-scripts serve-app --configuration=proxy-mock",
|
|
9
9
|
"start": "npm-run-all --parallel start-mock-server start-serve",
|
|
10
10
|
"start-proxy": "eui-scripts serve-app --configuration=proxy",
|
|
11
|
+
"start-local": "eui-scripts serve-app",
|
|
11
12
|
"build": "eui-scripts build-app",
|
|
12
|
-
"build-dev": "eui-scripts build-app --configuration=development",
|
|
13
|
-
"build-prod": "eui-scripts build-app --configuration=production-optimized",
|
|
14
|
-
"build-prod-skip-test": "eui-scripts build-app --configuration=production-optimized --skipTest",
|
|
15
|
-
"build-prod-stats": "eui-scripts build-app --configuration=production --statsJson",
|
|
13
|
+
"build-dev": "eui-scripts build-app --configuration=development --configEnvTarget=DEV",
|
|
14
|
+
"build-prod": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=PROD",
|
|
15
|
+
"build-prod-skip-test": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=PROD --skipTest",
|
|
16
|
+
"build-prod-stats": "eui-scripts build-app --configuration=production-optimized --configEnvTarget=PROD --statsJson",
|
|
16
17
|
"app:build": "eui-scripts build-app",
|
|
17
18
|
"app:inject-config": "eui-scripts inject-config-app",
|
|
18
19
|
"generate-changelog": "eui-scripts generate-changelog"
|
|
19
20
|
},
|
|
20
21
|
"private": true,
|
|
21
22
|
"dependencies": {
|
|
22
|
-
"@eui/deps-base": "14.0.0-
|
|
23
|
+
"@eui/deps-base": "14.0.0-rc.3",
|
|
23
24
|
"@eui/ecl-core": "13.0.0-rc.15",
|
|
24
25
|
"@eui/ecl-styles": "13.0.0-rc.15"
|
|
25
26
|
}
|
|
@@ -1,29 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eui-angular-app",
|
|
3
|
-
"version": "14.0.0-
|
|
3
|
+
"version": "14.0.0-rc.3",
|
|
4
4
|
"license": "EUPL-1.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"ng": "ng",
|
|
7
7
|
"start-mock-server": "nodemon --watch ./mock ./mock/server.js",
|
|
8
|
-
"start-serve": "eui-scripts serve-app --openid
|
|
8
|
+
"start-serve": "eui-scripts serve-app --openid",
|
|
9
9
|
"start": "npm-run-all --parallel start-mock-server start-serve",
|
|
10
|
-
"start-proxy": "eui-scripts serve-app --openid
|
|
10
|
+
"start-proxy": "eui-scripts serve-app --openid",
|
|
11
11
|
"start-openid": "eui-scripts serve-app --openid --configEnvTarget=local",
|
|
12
12
|
"build": "eui-scripts build-app",
|
|
13
|
-
"build-dev": "eui-scripts build-app --configuration=
|
|
14
|
-
"build-prod": "eui-scripts build-app --configuration=production-optimized",
|
|
15
|
-
"build-prod-skip-test": "eui-scripts build-app --configuration=production-optimized --skipTest",
|
|
16
|
-
"build-prod-stats": "eui-scripts build-app --configuration=production-optimized --statsJson",
|
|
17
|
-
"build-prod-openid-dev": "eui-scripts build-app --configuration=production-optimized --openid --configEnvTarget=dev",
|
|
18
|
-
"build-prod-openid-tst": "eui-scripts build-app --configuration=production-optimized --openid --configEnvTarget=tst",
|
|
19
|
-
"build-prod-openid-acc": "eui-scripts build-app --configuration=production-optimized --openid --configEnvTarget=acc",
|
|
20
|
-
"build-prod-openid-prd": "eui-scripts build-app --configuration=production-optimized --openid --configEnvTarget=prd",
|
|
13
|
+
"build-prod-openid-dev": "eui-scripts build-app --configuration=production-optimized --openid --configEnvTarget=DEV",
|
|
14
|
+
"build-prod-openid-prd": "eui-scripts build-app --configuration=production-optimized --openid --configEnvTarget=PROD",
|
|
21
15
|
"app:build": "eui-scripts build-app",
|
|
22
16
|
"app:inject-config": "eui-scripts inject-config-app",
|
|
23
17
|
"generate-changelog": "eui-scripts generate-changelog"
|
|
24
18
|
},
|
|
25
19
|
"private": true,
|
|
26
20
|
"dependencies": {
|
|
27
|
-
"@eui/deps-base": "14.0.0-
|
|
21
|
+
"@eui/deps-base": "14.0.0-rc.3"
|
|
28
22
|
}
|
|
29
23
|
}
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eui-angular-app",
|
|
3
|
-
"version": "14.0.0-
|
|
3
|
+
"version": "14.0.0-rc.3",
|
|
4
4
|
"license": "EUPL-1.1",
|
|
5
5
|
"description": "eUI JEE Symfony app scripts",
|
|
6
6
|
"scripts": {
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
},
|
|
20
20
|
"private": true,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@eui/deps-base": "14.0.0-
|
|
22
|
+
"@eui/deps-base": "14.0.0-rc.3"
|
|
23
23
|
}
|
|
24
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eui/cli",
|
|
3
|
-
"version": "14.0.0-
|
|
3
|
+
"version": "14.0.0-rc.3",
|
|
4
4
|
"tag": "next",
|
|
5
5
|
"license": "EUPL-1.1",
|
|
6
6
|
"description": "eUI CLI app generator",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"url": "https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@eui/tools": "
|
|
16
|
+
"@eui/tools": "5.3.11"
|
|
17
17
|
},
|
|
18
18
|
"preferGlobal": true,
|
|
19
19
|
"homepage": "https://eui.ecdevops.eu",
|
|
20
20
|
"author": "ec.europa.eui@gmail.com",
|
|
21
21
|
"engines": {
|
|
22
|
-
"node": "^
|
|
22
|
+
"node": "^14.15.0 || >=16.10.0",
|
|
23
23
|
"yarn": ">=1.22.4 <2",
|
|
24
24
|
"npm": "Please use yarn instead of NPM to install dependencies"
|
|
25
25
|
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { BrowserModule } from '@angular/platform-browser';
|
|
2
|
-
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
3
|
-
import { NgModule, APP_INITIALIZER } from '@angular/core';
|
|
4
|
-
|
|
5
|
-
import { AppRoutingModule } from './app-routing.module';
|
|
6
|
-
import { AppComponent } from './app.component';
|
|
7
|
-
import { CoreModule } from './core/core.module';
|
|
8
|
-
import { AppStarterService } from './app-starter.service';
|
|
9
|
-
|
|
10
|
-
@NgModule({
|
|
11
|
-
declarations: [
|
|
12
|
-
AppComponent,
|
|
13
|
-
],
|
|
14
|
-
imports: [
|
|
15
|
-
BrowserModule,
|
|
16
|
-
BrowserAnimationsModule,
|
|
17
|
-
CoreModule,
|
|
18
|
-
AppRoutingModule,
|
|
19
|
-
],
|
|
20
|
-
providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: APP_INITIALIZER,
|
|
23
|
-
useFactory: (appStarterService) => {
|
|
24
|
-
return () => new Promise<void>((resolve) => {
|
|
25
|
-
appStarterService.start().subscribe(() => resolve());
|
|
26
|
-
});
|
|
27
|
-
},
|
|
28
|
-
deps: [AppStarterService],
|
|
29
|
-
multi: true
|
|
30
|
-
},
|
|
31
|
-
AppStarterService, AppStarterService,
|
|
32
|
-
],
|
|
33
|
-
bootstrap: [
|
|
34
|
-
AppComponent,
|
|
35
|
-
],
|
|
36
|
-
})
|
|
37
|
-
export class AppModule { }
|
package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-acc.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openIdConnect": {
|
|
3
|
-
"enabled": true,
|
|
4
|
-
"allowDevelopmentLogin": true,
|
|
5
|
-
"stripIdTokenFromLocation": true,
|
|
6
|
-
"maximumRequestRetries": 1,
|
|
7
|
-
"metadataUrl": "https://webgate.ec.europa.eu/cas/oauth2/.well-known/openid-configuration",
|
|
8
|
-
"spaClientId": "your-webapp-EU-Login-PROD-client-ID-here",
|
|
9
|
-
"spaRedirectUrl": "https://your-acc-server-url/",
|
|
10
|
-
"apiGatewayAccessTokenUrl": "https://api.tech.ec.europa.eu/federation/oauth/token",
|
|
11
|
-
"apiGatewayAccessTokenAudienceId": "DFlp4emQ6jCLjNw8U7ko18zNjb9bwJ3ACrnP89iPsVv4zcChOEVRPHCT88Q7jPpNGCFa0hJEtV77rBj6L1XvOt-Jj71zxYb8yr7ujzQt669zSG",
|
|
12
|
-
"apiGatewayConsumerKey": "API-Gateway-production-URL-consumer-key-here",
|
|
13
|
-
"apiGatewayServices": {
|
|
14
|
-
},
|
|
15
|
-
"services": {
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"modules": {
|
|
19
|
-
"core": {
|
|
20
|
-
"base": "/api",
|
|
21
|
-
"userDetails": "/user-details"
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
package/lib/skeletons/_angular/options/openid-jwt/src/assets/config/env-json-config-tst.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openIdConnect": {
|
|
3
|
-
"enabled": true,
|
|
4
|
-
"allowDevelopmentLogin": true,
|
|
5
|
-
"stripIdTokenFromLocation": true,
|
|
6
|
-
"maximumRequestRetries": 1,
|
|
7
|
-
"metadataUrl": "https://webgate.ec.europa.eu/cas/oauth2/.well-known/openid-configuration",
|
|
8
|
-
"spaClientId": "your-webapp-EU-Login-ACC-client-ID-here",
|
|
9
|
-
"spaRedirectUrl": "https://your-tst-server-url/",
|
|
10
|
-
"apiGatewayAccessTokenUrl": "https://api.tech.ec.europa.eu/federation/oauth/token",
|
|
11
|
-
"apiGatewayAccessTokenAudienceId": "DFlp4emQ6jCLjNw8U7ko18zNjb9bwJ3ACrnP89iPsVv4zcChOEVRPHCT88Q7jPpNGCFa0hJEtV77rBj6L1XvOt-Jj71zxYb8yr7ujzQt669zSG",
|
|
12
|
-
"apiGatewayConsumerKey": "API-Gateway-tst-URL-consumer-key-here",
|
|
13
|
-
"apiGatewayServices": {
|
|
14
|
-
},
|
|
15
|
-
"services": {
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"modules": {
|
|
19
|
-
"core": {
|
|
20
|
-
"base": "/api",
|
|
21
|
-
"userDetails": "/user-details"
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|