Content-Length: 324732 | pFad | http://github.com/lowcoder-org/lowcoder/commit/f43ed65c8e00dea377577453e4b0049a8ff23b30

1D Delete env variable LOWCODER_NODE_SERVICE_ENCRYPTED · lowcoder-org/lowcoder@f43ed65 · GitHub
Skip to content

Commit f43ed65

Browse files
committed
Delete env variable LOWCODER_NODE_SERVICE_ENCRYPTED
1 parent 998e373 commit f43ed65

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

server/api-service/lowcoder-domain/src/main/java/org/lowcoder/domain/plugin/client/DatasourcePluginClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public Mono<QueryExecutionResult> executeQuery(String pluginName, Object queryDs
137137
);
138138
String json = OBJECT_MAPPER.writeValueAsString(body);
139139

140-
boolean encryptionEnabled = commonConfig.getJsExecutor().isEncrypted();
140+
boolean encryptionEnabled = !(commonConfig.getJsExecutor().getPassword().isEmpty() || commonConfig.getJsExecutor().getSalt().isEmpty());
141141
String payload;
142142
WebClient.RequestBodySpec requestSpec = WEB_CLIENT
143143
.post()

server/api-service/lowcoder-server/src/main/resources/application-debug.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ common:
3737
cookie-name: LOWCODER_DEBUG_TOKEN
3838
js-executor:
3939
host: "http://127.0.0.1:6060"
40-
password: ${LOWCODER_NODE_SERVICE_SECRET:lowcoderpwd}
41-
salt: ${LOWCODER_NODE_SERVICE_SECRET_SALT:lowcodersalt}
42-
is-encrypted: ${LOWCODER_NODE_SERVICE_ENCRYPTED:false}
40+
password: ${LOWCODER_NODE_SERVICE_SECRET:}
41+
salt: ${LOWCODER_NODE_SERVICE_SECRET_SALT:}
4342
workspace:
4443
mode: ${LOWCODER_WORKSPACE_MODE:SAAS}
4544
plugin-dirs:

server/api-service/lowcoder-server/src/main/resources/application.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,8 @@ common:
7474
corsAllowedDomainString: ${LOWCODER_CORS_DOMAINS:*}
7575
js-executor:
7676
host: ${LOWCODER_NODE_SERVICE_URL:http://127.0.0.1:6060}
77-
password: ${LOWCODER_NODE_SERVICE_SECRET:lowcoderpwd}
78-
salt: ${LOWCODER_NODE_SERVICE_SECRET_SALT:lowcodersalt}
79-
is-encrypted: ${LOWCODER_NODE_SERVICE_ENCRYPTED:false}
77+
password: ${LOWCODER_NODE_SERVICE_SECRET:}
78+
salt: ${LOWCODER_NODE_SERVICE_SECRET_SALT:}
8079
max-query-request-size: ${LOWCODER_MAX_REQUEST_SIZE:20m}
8180
max-query-response-size: ${LOWCODER_MAX_REQUEST_SIZE:20m}
8281
max-upload-size: ${LOWCODER_MAX_REQUEST_SIZE:20m}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/lowcoder-org/lowcoder/commit/f43ed65c8e00dea377577453e4b0049a8ff23b30

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy