Commit e2364153 authored by guozhipeng's avatar guozhipeng

权限

parent d66e78f9
......@@ -11,7 +11,7 @@ build-parameters:
- npm ci
- npx cds build --production
modules:
- name: lianchuangjie-test-srv
- name: lianchuangjie-pre-srv
type: java
path: srv
parameters:
......@@ -19,7 +19,7 @@ modules:
readiness-health-check-type: http
readiness-health-check-http-endpoint: /actuator/health/readiness
routes:
- route: lianchuangjie-test-srv.unibetter-ic.com
- route: lianchuangjie-pre-srv.unibetter-ic.com
properties:
SPRING_PROFILES_ACTIVE: cloud,sandbox
JBP_CONFIG_COMPONENTS: "jres: ['com.sap.xs.java.buildpack.jre.SAPMachineJRE']"
......@@ -35,7 +35,7 @@ modules:
srv-url: "${protocol}://${routes/0/route}"
requires:
- name: lianchuangjie-pre-db
- name: lianchuangjie-test-auth
- name: lianchuangjie-pre-auth
- name: app-api
properties:
CDS_MULTITENANCY_APPUI_URL: ~{url}
......@@ -63,7 +63,7 @@ modules:
[ ]
build-result: .
- name: lianchuangjie-test
- name: lianchuangjie-pre
type: approuter.nodejs
path: app\router
parameters:
......@@ -71,7 +71,7 @@ modules:
disk-quota: 1024M
memory: 512M
routes:
- route: lianchuangjie-test.unibetter-ic.com
- route: lianchuangjie-pre.unibetter-ic.com
requires:
- name: srv-api
group: destinations
......@@ -79,7 +79,7 @@ modules:
name: srv-api # must be used in xs-app.json as well
url: ~{srv-url}
forwardAuthToken: true
- name: lianchuangjie-test-auth
- name: lianchuangjie-pre-auth
build-parameters:
requires:
- name: orders
......@@ -94,14 +94,14 @@ modules:
url: "${protocol}://${routes/0/route}"
resources:
- name: lianchuangjie-test-auth
- name: lianchuangjie-pre-auth
type: org.cloudfoundry.managed-service
parameters:
service: xsuaa
service-plan: application
path: ./xs-security.json
config:
xsappname: lianchuangjie-test-${org}-${space}
xsappname: lianchuangjie-pre-${org}-${space}
tenant-mode: dedicated
- name: lianchuangjie-pre-db
type: com.sap.xs.hdi-container
......
{
"xsappname": "lianchuangjie-test",
"xsappname": "lianchuangjie-pre",
"tenant-mode": "dedicated",
"scopes": [
{
......@@ -20,7 +20,7 @@
],
"role-collections": [
{
"name": "Lianchuangjie_Administrators",
"name": "Lianchuangjie-pre_Administrators",
"description": "Lianchuangjie Administrators",
"role-template-references": [
"$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