Skip to content

Commit b20abb6

Browse files
committed
ci: 更新代码检查规则并调整环境配置
- 新增 Scalastyle 代码检查配置文件,定义了多项代码风格检查规则 - 更新应用配置文件,调整了多个环境变量和路径 - 修改开发环境配置文件,更新了 Python 解释器和库路径
1 parent b70654f commit b20abb6

7 files changed

Lines changed: 1856 additions & 14 deletions

File tree

app/api/http-client/scalastyle-config.xml

Lines changed: 459 additions & 0 deletions
Large diffs are not rendered by default.

app/arks/sofaboot/scalastyle-config.xml

Lines changed: 459 additions & 0 deletions
Large diffs are not rendered by default.

app/arks/sofaboot/src/main/resources/config/application-default.properties

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ spring.servlet.multipart.max-request-size=100GB
2121
spring.main.allow-circular-references=true
2222

2323
env=public
24+
noAuthCheckWhitelist=/*;/img/**;/v1/accounts/login;/public/**;/v1/datas/**;
2425

2526
# system
2627
server.port=8887
27-
server.address=127.0.0.1
2828
logging.level.com.alipay.sofa=info
2929
logging.path=./logs
3030
management.endpoint.components.enable=false
@@ -51,13 +51,14 @@ jasypt.encryptor.password=openspg
5151
# /* ----------------------- *
5252
# | cloudext |
5353
# * ----------------------- */
54-
cloudext.graphstore.url=neo4j://release-openspg-neo4j:7687?user=neo4j&password=neo4j@openspg&database=neo4j
55-
cloudext.searchengine.url=neo4j://release-openspg-neo4j:7687?user=neo4j&password=neo4j@openspg&database=neo4j
56-
cloudext.objectstorage.url=minio://release-openspg-minio:9000?accessKey=minio&secretKey=minio@openspg
54+
cloudext.graphstore.url=neo4j://localhost:7687?user=neo4j&password=neo4j@openspg&database=neo4j
55+
cloudext.searchengine.url=neo4j://localhost:7687?user=neo4j&password=neo4j@openspg&database=neo4j
56+
cloudext.objectstorage.url=minio://localhost:9000?accessKey=minio&secretKey=minio@openspg
57+
cloudext.computingengine.url=aistudio://aistudio.alipay.com
5758
builder.model.execute.num=5
5859

59-
python.exec=/home/admin/miniconda3/bin/python
60-
python.paths=/home/admin/miniconda3/lib/python3.10/site-packages/
60+
python.exec=/Users/shunyun/miniconda3/envs/kag/bin/python3.10
61+
python.paths=/Users/shunyun/miniconda3/envs/kag/lib/python3.10/site-packages
6162
python.env=kag.
6263

6364
# Scheduler
@@ -70,7 +71,4 @@ scheduler.execute.max.day=10
7071
objectStorage.builder.bucketName=builder
7172
objectStorage.upload.bucketName=upload
7273

73-
yuque.api.url=https://www.yuque.com
74-
75-
# Whitelist of paths for auto-login
76-
noAuthCheckWhitelist=/*;/img/**;/v1/accounts/login;/public/**;/v1/datas/**;
74+
yuque.api.url=https://yuque-api.antfin-inc.com

app/arks/sofaboot/src/main/resources/config/application-dev.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ cloudext.objectstorage.url=minio://localhost:9000?accessKey=minio&secretKey=mini
5757
cloudext.computingengine.url=aistudio://aistudio.alipay.com
5858
builder.model.execute.num=5
5959

60-
python.exec=/Users/yangjin/openspg_venv/miniconda3/envs/openspg_3.10/bin/python3
61-
python.paths=/Users/yangjin/openspg_venv/miniconda3/envs/openspg_3.10/lib/python3.10/site-packages
60+
python.exec=/Users/shunyun/miniconda3/envs/kag/bin/python3.10
61+
python.paths=/Users/shunyun/miniconda3/envs/kag/lib/python3.10/site-packages
6262
python.env=kag.
6363

6464
# Scheduler

0 commit comments

Comments
 (0)