docs: 整理文档
diff --git a/deploy-manifests/k8s-rancher/open-platform/1.0.init.sql b/deploy-manifests/k8s-rancher/open-platform/1.0.init.sql
index e6096c8..9495d17 100644
--- a/deploy-manifests/k8s-rancher/open-platform/1.0.init.sql
+++ b/deploy-manifests/k8s-rancher/open-platform/1.0.init.sql
@@ -10,14 +10,14 @@
`ID_TOKEN_ENABLED`, `JWT_AS_SERVICE_TICKET`,
`APPLICATION_DOMAIN`
)
-VALUES ('13', '1', 0, 'admin', '2020-07-01 00:00:00',
- '开放平台管理端', '开放平台管理端', 'https://dev-admin.paas.xxx.edu.cn', 'https://dev-admin.paas.xxx.edu.cn/slo',
+VALUES ('15', '1', 0, 'admin', '2020-07-01 00:00:00',
+ '开发者中心', '开发者中心', 'https://dev-center.paas.xxx.edu.cn/dev-portal', 'https://dev-center.paas.xxx.edu.cn/dev-portal/?clearCertification=clearCertification',
'REDIRECT', 'FRONT_CHANNEL',
- 13, '开放平台管理端', 13, 'https://dev-admin.paas.xxx.edu.cn/(.*)',
+ 15, '开发者中心', 15, 'https://dev-center.paas.xxx.edu.cn/dev-portal/(.*)',
1, 1, 1,
- '1', '1',
- 13, 13,
- 'dev-admin.paas.xxx.edu.cn'
+ '15', '15',
+ 1, 1,
+ 'dev-center.paas.xxx.edu.cn'
);
diff --git a/deploy-manifests/k8s-rancher/open-platform/1.developer-center/2.developer-center-ingresses.yaml b/deploy-manifests/k8s-rancher/open-platform/1.developer-center/2.developer-center-ingresses.yaml
index 66f4967..cc35b44 100644
--- a/deploy-manifests/k8s-rancher/open-platform/1.developer-center/2.developer-center-ingresses.yaml
+++ b/deploy-manifests/k8s-rancher/open-platform/1.developer-center/2.developer-center-ingresses.yaml
@@ -60,7 +60,7 @@
name: developer-center-admin-ui-spa-ingress
spec:
rules:
- - host: dev-admin-spa.paas.newcapec.cn
+ - host: dev-admin.paas.newcapec.cn
http:
paths:
- path: /
diff --git a/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.4.developer-center-bff.yaml b/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.4.developer-center-bff.yaml
index 14aec4d..b107aac 100644
--- a/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.4.developer-center-bff.yaml
+++ b/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.4.developer-center-bff.yaml
@@ -79,7 +79,7 @@
# CAS_SA_CLIENT_AUTH_TRUSTSTORE_FILE: file:/certs/common/common.truststore
# CAS_SA_CLIENT_AUTH_TRUSTSTORE_PASSWORD: ""
- UNIAUTH_SA_SERVER_URL: http://uniauth.paas.newcapec.cn
+ UNIAUTH_SA_SERVER_URL: http://uniauth.uniauth.svc.cluster.local:9090
UNIAUTH_SA_CLIENT_AUTH_ENABLED: "false"
# UNIAUTH_SA_CLIENT_AUTH_KEY_PASSWORD: ""
# UNIAUTH_SA_CLIENT_AUTH_KEYSTORE_FILE: file:/certs/common/common.keystore
@@ -105,7 +105,7 @@
# MESSAGE_MANAGER_AUTH_TRUSTSTORE_FILE: file:/certs/common/common.truststore
# MESSAGE_MANAGER_AUTH_TRUSTSTORE_PASSWORD: ""
- FLOW_SERVER_URL: https://formflow.paas.newcapec.cn/formflow
+ FLOW_SERVER_URL: http://formflow-formflow.formflow.svc.cluster.local:10081/formflow
FLOW_CLIENT_AUTH_ENABLED: "false"
# FLOW_CLIENT_AUTH_KEY_PASSWORD: ""
# FLOW_CLIENT_AUTH_KEYSTORE_FILE: file:/certs/common/common.keystore
@@ -113,7 +113,7 @@
# FLOW_CLIENT_AUTH_TRUSTSTORE_FILE: file:/certs/common/common.truststore
# FLOW_CLIENT_AUTH_TRUSTSTORE_PASSWORD: ""
- TTC_SERVER_URL: https://formflow.paas.newcapec.cn/ttc
+ TTC_SERVER_URL: http://formflow-ttc.formflow.svc.cluster.local:10081/ttc
TTC_CLIENT_AUTH_ENABLED: "false"
# TTC_CLIENT_AUTH_KEY_PASSWORD: ""
# TTC_CLIENT_AUTH_KEYSTORE_FILE: file:/certs/common/common.keystore
@@ -160,14 +160,14 @@
# 用于替换 OAS 文档 里的 变量 ${POA_SERVER_URL}
- POA_SERVER_URL: https://poa.paas.newcapec.cn
+ POA_SERVER_URL: https://poa.paas.xxx.edu.cn
- POA_DOCS_SERVER_URL: https://poa-docs.paas.newcapec.cn
+ POA_DOCS_SERVER_URL: https://poa-docs.paas.xxx.edu.cn
- FORM_DESIGN_SERVER_URL: https://form-design.paas.newcapec.cn
+ FORM_DESIGN_SERVER_URL: https://form-design.paas.xxx.edu.cn
- DEV_CENTER_SERVER_URL: http://dev-center.paas.newcapec.cn
- DEV_PORTAL_SERVER_URL: http://dev-portal.paas.newcapec.cn
+ DEV_CENTER_SERVER_URL: http://dev-center.paas.xxx.edu.cn
+ DEV_PORTAL_SERVER_URL: http://dev-portal.paas.xxx.edu.cn
DEVELOPER_CENTER_BFF_NONCE_STORE_IMPL: redis
@@ -183,7 +183,7 @@
# POA API 对接配置
- POA_API_SERVER_URL: https://poa.paas.newcapec.cn
+ POA_API_SERVER_URL: https://poa.paas.xxx.edu.cn
POA_API_CLIENT_ID: "0f7nyWBXiyXGPqu82uVO3yl9poE="
POA_API_CLIENT_SECRET: "EBfCN4bpnDI7vGqNRkIFb58lcx_wAl7oXzXURq5CO70="
POA_API_SCOPES: "user:v1:readGroup"
diff --git a/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.5.developer-center-gateway-zuul.yaml b/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.5.developer-center-gateway-zuul.yaml
index c1ff65a..5f0c26f 100644
--- a/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.5.developer-center-gateway-zuul.yaml
+++ b/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.5.developer-center-gateway-zuul.yaml
@@ -65,10 +65,10 @@
INFRAS_SECURITY_CAS_ENABLED: "false"
#这里的地址对应ingress配置文件里网关服务的对外地址
- APP_SERVER_HOST_URL: "https://dev-center-test.paas.newcapec.cn"
+ #APP_SERVER_HOST_URL: "https://dev-center-test.paas.xxx.edu.cn"
#APP_LOGIN_URL: "/cas/login"
#APP_LOGOUT_URL: "/cas/logout"
- CAS_SERVER_HOST_URL: "https://cas-test.paas.newcapec.cn/cas"
+ #CAS_SERVER_HOST_URL: "https://cas-test.paas.xxx.edu.cn/cas"
##
@@ -113,10 +113,14 @@
#USER_AUTHZ_SERVICE_CLIENT_AUTH_TRUSTSTORE_FILE: file:/certs/common/common.truststore
#USER_AUTHZ_SERVICE_CLIENT_AUTH_TRUSTSTORE_PASSWORD: ""
- ZUUL_ROUTES_BFF_ABILITY_MESSAGE_URL: http://message-manager-svc.message-service.svc.cluster.local:8080/manager/api/v1
+
ZUUL_ROUTES_BFF_ADMIN_URL: http://developer-center-bff-svc.developer-center.svc.cluster.local:8080
ZUUL_ROUTES_BFF_PORTAL_URL: http://developer-center-bff-svc.developer-center.svc.cluster.local:8080
+ ZUUL_ROUTES_BFF_ABILITY_USER_AUTH_URL: http://user-authorization-sa-svc.user-authorization-service.svc.cluster.local:8080
+ ZUUL_ROUTES_BFF_ABILITY_MESSAGE_URL: http://message-manager-svc.message-service.svc.cluster.local:8080/manager/api/v1
+
+
---
apiVersion: v1
kind: Secret
diff --git a/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.9.developer-center-admin-ui-spa.yaml b/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.9.developer-center-admin-ui-spa.yaml
index 0499a2f..4e1af4d 100644
--- a/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.9.developer-center-admin-ui-spa.yaml
+++ b/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.9.developer-center-admin-ui-spa.yaml
@@ -9,15 +9,15 @@
data:
# 如果配置值中 存在 & 的,需要用 \& 进行转义(此说明只在该镜像配置中有效)
# 这里需要替换实际环境中的地址
- MAIN_SERVER: http://dev-admin.paas.newcapec.cn
+ MAIN_SERVER: http://dev-admin.paas.xxx.edu.cn
- DEVELOPER_CENTER_API: http://dev-center.paas.newcapec.cn
- MESSAGE_SERVICE_API: http://message-service.paas.newcapec.cn/manager
+ DEVELOPER_CENTER_API: http://dev-center.paas.xxx.edu.cn
+ MESSAGE_SERVICE_API: http://message-service.paas.xxx.edu.cn/manager
AUTH_TYPE: cas
- AUTH_CAS: http://cas.paas.newcapec.cn/cas
- JWT_ISS: http://cas.paas.newcapec.cn/cas
+ AUTH_CAS: http://cas.paas.xxx.edu.cn/cas
+ JWT_ISS: http://cas.paas.xxx.edu.cn/cas
JWT_SECRET: (@<rhnPaUYKC_k770*DuWwYQ_#Zc#8c(2rB?kae)rN)>K7qy)awCjxp$L653Mf$2
@@ -71,7 +71,7 @@
containers:
- name: developer-center-admin-ui-spa
# 若使用了学校搭设的私有仓库,请修改
- image: paas.harbor.nwpu.edu.cn/developer-center/developer-center-admin-ui-spa:0.0.2
+ image: harbor.supwisdom.com/developer-center/developer-center-admin-ui-spa:0.0.2
imagePullPolicy: Always
ports:
- containerPort: 80
diff --git a/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.9.developer-center-portal-ui.yaml b/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.9.developer-center-portal-ui.yaml
index 73c5b28..59fa894 100644
--- a/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.9.developer-center-portal-ui.yaml
+++ b/deploy-manifests/k8s-rancher/open-platform/1.developer-center/4.9.developer-center-portal-ui.yaml
@@ -9,19 +9,19 @@
data:
# 如果配置值中 存在 & 的,需要用 \& 进行转义(此说明只在该镜像配置中有效)
# 这里需要替换实际环境中的地址
- MAIN_SERVER: http://dev-portal.paas.newcapec.cn
+ MAIN_SERVER: http://dev-portal.paas.xxx.edu.cn
- BASE_API: http://dev-center.paas.newcapec.cn/
- DEVELOPER_API: https://dev-center.paas.newcapec.cn
- MESSAGE_SERVICE_API: http://message-service.paas.newcapec.cn/manager
+ BASE_API: http://dev-center.paas.xxx.edu.cn
+ DEVELOPER_API: https://dev-center.paas.xxx.edu.cn
+ MESSAGE_SERVICE_API: http://message-service.paas.xxx.edu.cn/manager
AUTH_TYPE: cas
- AUTH_CAS: http://cas.paas.newcapec.cn/cas
- JWT_ISS: http://cas.paas.newcapec.cn/cas
+ AUTH_CAS: http://cas.paas.xxx.edu.cn/cas
+ JWT_ISS: http://cas.paas.xxx.edu.cn/cas
JWT_SECRET: (@<rhnPaUYKC_k770*DuWwYQ_#Zc#8c(2rB?kae)rN)>K7qy)awCjxp$L653Mf$2
- # UNIAUTH_IDTOKEN: http://uniauth.paas.newcapec.cn/idtoken
+ # UNIAUTH_IDTOKEN: http://uniauth.paas.xxx.edu.cn/idtoken
# UNIAUTH_IDTOKEN_ISS: uniauth
# UNIAUTH_CLIENT_ID: "31"