Browse Source

添加中小型配置

andy 1 year ago
parent
commit
1cb5a55ea2

+ 1 - 17
pom.xml

@@ -58,10 +58,6 @@
             <artifactId>com.ibm.mq.allclient</artifactId>
             <version>9.3.3.0</version>
         </dependency>
-        <!--        <dependency>-->
-        <!--            <groupId>co.elastic.clients</groupId>-->
-        <!--            <artifactId>elasticsearch-java</artifactId>-->
-        <!--        </dependency>-->
         <dependency>
             <groupId>com.rabbitmq</groupId>
             <artifactId>amqp-client</artifactId>
@@ -82,18 +78,6 @@
             <artifactId>js</artifactId>
             <version>${graalvm.version}</version>
         </dependency>
-        <!--        <dependency>-->
-        <!--            <groupId>org.graalvm.polyglot</groupId>-->
-        <!--            <artifactId>polyglot</artifactId>-->
-        <!--            <version>${graalvm.version}</version>-->
-        <!--        </dependency>-->
-        <!--        <dependency>-->
-        <!--            <groupId>org.graalvm.polyglot</groupId>-->
-        <!--            <artifactId>js-community</artifactId>-->
-        <!--            <version>${graalvm.version}</version>-->
-        <!--            <type>pom</type>-->
-        <!--        </dependency>-->
-        <!-- add additional languages and tools, if needed -->
         <dependency>
             <groupId>com.zaxxer</groupId>
             <artifactId>HikariCP</artifactId>
@@ -148,7 +132,7 @@
     </dependencies>
 
     <build>
-        <!--        <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>-->
+        <!--<finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName>-->
         <plugins>
             <plugin>
                 <groupId>org.springframework.boot</groupId>

+ 7 - 0
src/main/resources/application-zxx.properties

@@ -0,0 +1,7 @@
+db.center.config=VVizj8G/Er1CWjuTsRycxhk8BPMAu0zy5p2BstAy8o2KgTdvTNrcVJrtQ4dE7RpxkNGgfrAnZTvrB+mCKe4lA9pIjc43mnX9Lsa65EYRo0HLbUhHuvYEYyHa85/5Q54x7ie2xiQh5HoeK9Nxs33i3ktS3ooX0HClv7GjkXp9Qy4spX/cNcACXl7lFl05vMO8E7X/C5oyWnnq0cr9TIzS7yObgYMbdt1mH0kn77qMj8RPY5JiwEdYde1P5huL5w7iGDaI3XUUpFGHPWjw4AEmSAgVDDrmixRvyONx5yxQiVIYL1Vg6/3OMQlAolZ8tmpdykcjb3I1zjJk97R+Zyl+cQ==
+db.security.config=S4nIfw3Ab1fsJpTDx6hamiSatqX7gEw5JyBKayKMD6ONwv9QAb0aPgQhODFeKcI32y+2Mmwv++HiJO+1ly4S1DkLu8jJYBBabiTKB1KV4NlL6NmEAAjXy++dpH2YOeM81HQMkJMzqgvyFxmB9g1P517r6pi9dBVFTG8K2SeA2gQVTFVKYnfS+hk0V42/KOPwFr4tpiFmCJ0vT0LDD7EBre7C4AZpT+DtT6H3HQAFhy//wEA67iZksAl7u1udUH0Hk+hrDL9Cxlbuxr3m181gF9VNf9iTJEQrnAeuiQg7P8CFWn9v1Omgs23+hLe18EDjp+10aezDPC59cSwnxRuUJA==
+#log.target=B7xSbq4imA5zapX8kEO42mU/5sA2TyF/Ba2Y/++F3z9Np7iT4ywDUkbRC4w/Xrxv1kMSR8PQMJ4dfYwc3mYj0SJJivN5A5/6hI+ZSQBabfZZrYwaIIRdM1XIk4wo1SIrSCXKzef8X6YUH70R2tnh+Uq6KNNp08KaZ2ZXM8vX5Ss=
+server.port=9500
+app.container.code=dev
+app.enable-reset-config=false
+app.security.enable=true

+ 4 - 5
src/test/java/com/scbfkj/uni/library/DataEncryptionUtilTest.java

@@ -81,11 +81,10 @@ class DataEncryptionUtilTest {
     @Test
     void encrypt() throws Exception {
         String password = DataEncryptionUtil.encryptRSAByPublicKey("""
-                                {
-                  "jdbcUrl": "jdbc:kingbase8://120.26.64.82:54321/uniauth",
-                  "username": "root",
-                  "password": "123@bigdata",
-                  "driverClassName": "com.kingbase8.Driver"
+                {
+                  "jdbcUrl": "jdbc:mysql://10.199.1.52:3306/systemset",
+                  "username": "bigdata",
+                  "password": "N_y+)HOoB%K0"
                 }
                                 """);
         System.out.println(password);