Node API - GET Method performance issue (disable sql logging)
[cps.git] / cps-application / src / main / resources / application.yml
index 56515df..e3ffd04 100644 (file)
@@ -33,6 +33,7 @@ spring:
     application:\r
         name: "cps-application"\r
     jpa:\r
+        show-sql: false\r
         ddl-auto: create\r
         open-in-view: false\r
         properties:\r
@@ -50,7 +51,7 @@ spring:
             maximumPoolSize: 80\r
             idleTimeout: 60000\r
             connectionTimeout: 120000\r
-            leakDetectionThreshold: 2000\r
+            leakDetectionThreshold: 30000\r
             pool-name: CpsDatabasePool\r
 \r
     cache:\r
@@ -159,22 +160,22 @@ logging:
             springframework: INFO\r
             onap:\r
                 cps: INFO\r
-\r
-dmi:\r
-    auth:\r
-        username: ${DMI_USERNAME}\r
-        password: ${DMI_PASSWORD}\r
-    api:\r
-        base-path: dmi\r
-\r
-timers:\r
-    advised-modules-sync:\r
-        sleep-time-ms: 5000\r
-    locked-modules-sync:\r
-        sleep-time-ms: 300000\r
-    cm-handle-data-sync:\r
-        sleep-time-ms: 30000\r
-\r
-modules-sync-watchdog:\r
-    async-executor:\r
-        parallelism-level: 10
\ No newline at end of file
+ncmp:\r
+    dmi:\r
+        auth:\r
+            username: ${DMI_USERNAME}\r
+            password: ${DMI_PASSWORD}\r
+        api:\r
+            base-path: dmi\r
+\r
+    timers:\r
+        advised-modules-sync:\r
+            sleep-time-ms: 5000\r
+        locked-modules-sync:\r
+            sleep-time-ms: 300000\r
+        cm-handle-data-sync:\r
+            sleep-time-ms: 30000\r
+\r
+    modules-sync-watchdog:\r
+        async-executor:\r
+            parallelism-level: 10
\ No newline at end of file