Skip to content

Commit

Permalink
add module authorization server.
Browse files Browse the repository at this point in the history
  • Loading branch information
vnobo committed Mar 13, 2024
1 parent 8cbf581 commit a17fdff
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
6 changes: 0 additions & 6 deletions boot/authorization/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,4 @@ dependencies {

tasks.named('test') {
useJUnitPlatform()
}

hibernate {
enhancement {
enableAssociationManagement = true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static ParamSql buildParamSql(Object object, Collection<String> skipKeys,

Map<String, Object> objectMap = BeanUtils.beanToMap(object, false, true);
if (ObjectUtils.isEmpty(objectMap)) {
return ParamSql.of(new StringJoiner(" AND "), Maps.newHashMap());
return ParamSql.of(new StringJoiner(" and "), Maps.newHashMap());
}
ParamSql jsonParamSql = QueryJson.queryJson((Map<String, Object>) objectMap.get("query"), prefix);
Map<String, Object> params = jsonParamSql.params();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static ParamSql of(StringJoiner sql, Map<String, Object> params) {

public String whereSql() {
if (this.sql.length() > 0) {
return " Where " + this.sql;
return " where " + this.sql;
}
return "";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ public class Ulid {
};

/**
* Generate random ULID string using {@link Random} instance.
* Generate random UID string using {@link Random} instance.
*
* @return ULID string
* @return UID string
*/
public static String random() {
byte[] entropy = new byte[10];
Expand Down
2 changes: 1 addition & 1 deletion boot/platform/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ server:

spring:
threads.virtual.enabled: true
#main.keep-alive: true
main.keep-alive: true
application.name: plate
webflux.format:
time: "HH:mm:ss"
Expand Down

0 comments on commit a17fdff

Please sign in to comment.