Commit e2364153 authored by guozhipeng's avatar guozhipeng

权限

parent d66e78f9
...@@ -11,7 +11,7 @@ build-parameters: ...@@ -11,7 +11,7 @@ build-parameters:
- npm ci - npm ci
- npx cds build --production - npx cds build --production
modules: modules:
- name: lianchuangjie-test-srv - name: lianchuangjie-pre-srv
type: java type: java
path: srv path: srv
parameters: parameters:
...@@ -19,7 +19,7 @@ modules: ...@@ -19,7 +19,7 @@ modules:
readiness-health-check-type: http readiness-health-check-type: http
readiness-health-check-http-endpoint: /actuator/health/readiness readiness-health-check-http-endpoint: /actuator/health/readiness
routes: routes:
- route: lianchuangjie-test-srv.unibetter-ic.com - route: lianchuangjie-pre-srv.unibetter-ic.com
properties: properties:
SPRING_PROFILES_ACTIVE: cloud,sandbox SPRING_PROFILES_ACTIVE: cloud,sandbox
JBP_CONFIG_COMPONENTS: "jres: ['com.sap.xs.java.buildpack.jre.SAPMachineJRE']" JBP_CONFIG_COMPONENTS: "jres: ['com.sap.xs.java.buildpack.jre.SAPMachineJRE']"
...@@ -35,7 +35,7 @@ modules: ...@@ -35,7 +35,7 @@ modules:
srv-url: "${protocol}://${routes/0/route}" srv-url: "${protocol}://${routes/0/route}"
requires: requires:
- name: lianchuangjie-pre-db - name: lianchuangjie-pre-db
- name: lianchuangjie-test-auth - name: lianchuangjie-pre-auth
- name: app-api - name: app-api
properties: properties:
CDS_MULTITENANCY_APPUI_URL: ~{url} CDS_MULTITENANCY_APPUI_URL: ~{url}
...@@ -63,7 +63,7 @@ modules: ...@@ -63,7 +63,7 @@ modules:
[ ] [ ]
build-result: . build-result: .
- name: lianchuangjie-test - name: lianchuangjie-pre
type: approuter.nodejs type: approuter.nodejs
path: app\router path: app\router
parameters: parameters:
...@@ -71,7 +71,7 @@ modules: ...@@ -71,7 +71,7 @@ modules:
disk-quota: 1024M disk-quota: 1024M
memory: 512M memory: 512M
routes: routes:
- route: lianchuangjie-test.unibetter-ic.com - route: lianchuangjie-pre.unibetter-ic.com
requires: requires:
- name: srv-api - name: srv-api
group: destinations group: destinations
...@@ -79,7 +79,7 @@ modules: ...@@ -79,7 +79,7 @@ modules:
name: srv-api # must be used in xs-app.json as well name: srv-api # must be used in xs-app.json as well
url: ~{srv-url} url: ~{srv-url}
forwardAuthToken: true forwardAuthToken: true
- name: lianchuangjie-test-auth - name: lianchuangjie-pre-auth
build-parameters: build-parameters:
requires: requires:
- name: orders - name: orders
...@@ -94,14 +94,14 @@ modules: ...@@ -94,14 +94,14 @@ modules:
url: "${protocol}://${routes/0/route}" url: "${protocol}://${routes/0/route}"
resources: resources:
- name: lianchuangjie-test-auth - name: lianchuangjie-pre-auth
type: org.cloudfoundry.managed-service type: org.cloudfoundry.managed-service
parameters: parameters:
service: xsuaa service: xsuaa
service-plan: application service-plan: application
path: ./xs-security.json path: ./xs-security.json
config: config:
xsappname: lianchuangjie-test-${org}-${space} xsappname: lianchuangjie-pre-${org}-${space}
tenant-mode: dedicated tenant-mode: dedicated
- name: lianchuangjie-pre-db - name: lianchuangjie-pre-db
type: com.sap.xs.hdi-container type: com.sap.xs.hdi-container
......
{ {
"xsappname": "lianchuangjie-test", "xsappname": "lianchuangjie-pre",
"tenant-mode": "dedicated", "tenant-mode": "dedicated",
"scopes": [ "scopes": [
{ {
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
], ],
"role-collections": [ "role-collections": [
{ {
"name": "Lianchuangjie_Administrators", "name": "Lianchuangjie-pre_Administrators",
"description": "Lianchuangjie Administrators", "description": "Lianchuangjie Administrators",
"role-template-references": [ "role-template-references": [
"$XSAPPNAME.Administrators" "$XSAPPNAME.Administrators"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment