fix: 完善1.4 升级 相关脚本
author刘洪青 <hongqing.liu@supwisdom.com>
Tue, 15 Mar 2022 05:49:48 +0000 (13:49 +0800)
committer刘洪青 <hongqing.liu@supwisdom.com>
Tue, 15 Mar 2022 05:49:48 +0000 (13:49 +0800)
deploy-manifests/k8s-rancher/0.1.4.认证授权服务升级文档(V1.3-V1.4).md
deploy-manifests/k8s-rancher/1.authx-service/10.0.init.sql

index cb2db4f..6e6c563 100644 (file)
@@ -215,10 +215,15 @@ authx-service-log-api | 认证授权 - 日志接口 | | 是 | /api/v2/log | http
 
 #### 方式二,bash脚本
 
+**将 origin 修改为正确的 学校域名**
+
+进入 admin-center-sa 下的 pod, 执行命令行
+
+
 * 认证管理
 
 ```bash
-curl -i -s -X POST "http://admin-platform-admin-center-sa.admin-platform.svc.cluster.local:8080/v1/admin/menus/importMenu" -H 'Content-Type: application/json' \
+curl -i -s -X POST "http://localhost:8080/v1/admin/menus/importMenu" -H 'Content-Type: application/json' \
 -d \
 '
 {
@@ -264,8 +269,10 @@ curl -i -s -X POST "http://admin-platform-admin-center-sa.admin-platform.svc.clu
 
 #### 方式二,bash脚本
 
+进入 admin-center-sa 下的 pod, 执行命令行
+
 ```bash
-curl -i -s -X POST "http://admin-platform-admin-center-sa.admin-platform.svc.cluster.local:8080/v1/admin/rolePermissions/importRolePermission" -H 'Content-Type: application/json' \
+curl -i -s -X POST "http://localhost:8080/v1/admin/rolePermissions/importRolePermission" -H 'Content-Type: application/json' \
 -d \
 '
 {
index 371d490..e488c77 100644 (file)
@@ -88,6 +88,9 @@ values ('21', 0, 'authx-service-admin-api', '认证授权 - 聚合接口(认
 insert into TB_MGT_ROUTE (ID, DELETED, CODE, NAME, STATUS, PATH_PREFIX, URL, STRIP_PREFIX) 
 values ('22', 0, 'authx-service-open-api', '认证授权 - 聚合接口(公开)', '1', '/api/v2/open', 'http://localhost:8009', 0);
 
+insert into TB_MGT_ROUTE (ID, DELETED, CODE, NAME, STATUS, PATH_PREFIX, URL, STRIP_PREFIX) 
+values ('25', 0, 'authx-service-log-api', '认证授权 - 日志接口', '1', '/api/v2/log', 'http://localhost:8009', 0);
+
 commit;
 
 update TB_MGT_ROUTE set URL='http://user-data-service-goa-svc.user-data-service.svc.cluster.local:8080' where ID='20';
@@ -97,6 +100,8 @@ update TB_MGT_ROUTE set URL='http://personal-security-center-bff-svc.personal-se
 update TB_MGT_ROUTE set URL='http://authx-service-bff-svc.authx-service.svc.cluster.local:8080' where ID='21';
 update TB_MGT_ROUTE set URL='http://authx-service-bff-svc.authx-service.svc.cluster.local:8080' where ID='22';
 
+update TB_MGT_ROUTE set URL='http://authx-log-sa.authx-log.svc.cluster.local:8080' where ID='25';
+
 commit;