File tree Expand file tree Collapse file tree 4 files changed +43
-1
lines changed
Expand file tree Collapse file tree 4 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 9999 }
100100 ]
101101 },
102+ "localBackendNoAuth" : {
103+ "fileReplacements" : [
104+ {
105+ "replace" : " src/environments/environment.ts" ,
106+ "with" : " src/environments/environment.localBackendNoAuth.ts"
107+ }
108+ ]
109+ },
102110 "production" : {
103111 "fileReplacements" : [
104112 {
154162 "localBackend" : {
155163 "browserTarget" : " trace-x:build:dev,localBackend"
156164 },
165+ "localBackendNoAuth" : {
166+ "browserTarget" : " trace-x:build:dev,localBackendNoAuth"
167+ },
157168 "production" : {
158169 "browserTarget" : " trace-x:build:production"
159170 },
Original file line number Diff line number Diff line change 1717 "start:auth" : " ng serve --configuration=dev,auth" ,
1818 "start:auth:mock" : " ng serve --configuration=authMock" ,
1919 "start:auth:local" : " ng serve --configuration=authLocal" ,
20+ "start:auth:localBe" : " ng serve --configuration=localBackend" ,
21+ "start:noAuth:localBe" : " ng serve --configuration=localBackendNoAuth" ,
2022 "env:mock" : " docker-compose up" ,
2123 "test" : " ng test" ,
2224 "test:ci" : " ng test --no-watch --no-progress --browsers=ChromeHeadless" ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export const environment = {
2727 authDisabled : false ,
2828 mockService : false ,
2929 keycloakUrl : 'https://centralidp.dev.demo.catena-x.net/auth' ,
30- clientId : 'Cl10 -CX-Part' ,
30+ clientId : 'Cl17 -CX-Part' ,
3131 defaultRealm : 'CX-Central' ,
3232 apiUrl : 'http://localhost:8080/api' ,
3333} ;
Original file line number Diff line number Diff line change 1+ /********************************************************************************
2+ * Copyright (c) 2022, 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
3+ * Copyright (c) 2022, 2023 ZF Friedrichshafen AG
4+ * Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation
5+ *
6+ * See the NOTICE file(s) distributed with this work for additional
7+ * information regarding copyright ownership.
8+ *
9+ * This program and the accompanying materials are made available under the
10+ * terms of the Apache License, Version 2.0 which is available at
11+ * https://www.apache.org/licenses/LICENSE-2.0.
12+ *
13+ * Unless required by applicable law or agreed to in writing, software
14+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16+ * License for the specific language governing permissions and limitations
17+ * under the License.
18+ *
19+ * SPDX-License-Identifier: Apache-2.0
20+ ********************************************************************************/
21+
22+ import { _environment } from './_environment.base' ;
23+
24+ export const environment = {
25+ ..._environment ,
26+ authDisabled : true ,
27+ mockService : false ,
28+ apiUrl : 'http://localhost:8080/api' ,
29+ } ;
You can’t perform that action at this time.
0 commit comments