Explorar o código

Revert "DONT COMMIT"

This reverts commit 806003a8a5f90465115b0a57fb4045f5ce9d0d7f.
Ronald Levida %!s(int64=8) %!d(string=hai) anos
pai
achega
7e8829ce70
Modificáronse 1 ficheiros con 34 adicións e 42 borrados
  1. 34 42
      crss-meterprocess-app/crss-meterprocess-app-dev.yml

+ 34 - 42
crss-meterprocess-app/crss-meterprocess-app-dev.yml

@@ -1,27 +1,27 @@
 spring:
   crss-main:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
-      username: postgres
-      password: postgres
+      jdbcUrl: jdbc:postgresql://192.168.236.2:5432/crss_meterprocess
+      username: admin
+      password: password
       driverClassName: org.postgresql.Driver
       maxPoolSize: 5
       test-on-borrow: true
       validation-query: SELECT 1
   crss-registration:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_reg
-      username: postgres
-      password: postgres
+      jdbcUrl: jdbc:postgresql://192.168.236.2:5432/crss_reg
+      username: admin
+      password: password
       driverClassName: org.postgresql.Driver
       maxPoolSize: 5
       test-on-borrow: true
       validation-query: SELECT 1
   crss-nmms:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_nmms
-      username: postgres
-      password: postgres
+      jdbcUrl: jdbc:postgresql://192.168.236.2:5432/crss_nmms
+      username: admin
+      password: password
       driverClassName: org.postgresql.Driver
       maxPoolSize: 5
       test-on-borrow: true
@@ -29,7 +29,7 @@ spring:
 
   jpa:
     show-sql: false
-    generate-ddl: false
+    generate-ddl: true
     properties:
       hibernate:
         generate_statistics: true
@@ -47,7 +47,7 @@ spring:
 #  change-log: classpath:/db/db.changelog-master.xml
 
 server:
-  port: 9091
+  port: 8081
   undertow:
     accesslog:
       dir: target
@@ -57,52 +57,44 @@ server:
     enabled: true
     min-response-size: 1
 
-eureka:
-  instance:
-    prefer-ip-address: true
-  client:
-    serviceUrl:
-      defaultZone: http://localhost:8761/eureka/
-#          healthcheck:
-#            enabled: true
-#    lease:
-#      duration: 5
-#  instance:
-#    leaseRenewalIntervalInSeconds: 1
-#    leaseExpirationDurationInSeconds: 2
-
-security:
-  oauth2:
-    client:
-      accessTokenUri: http://localhost:8082/oauth/access_token
-      userAuthorizationUri: http://localhost:8082/oauth/authorize
-      clientId: crss
-      clientSecret: crsssecret
-      authorized-grant-types: authorization_code,refresh_token,password
-      scope: openid
-      access-token-validity-seconds: 3600
-    resource:
-      userInfoUri: http://localhost:8082/user
+#security:
+#  oauth2:
+#    client:
+#      accessTokenUri: http://localhost:8082/oauth/access_token
+#      userAuthorizationUri: http://localhost:8082/oauth/authorize
+#      clientId: crss
+#      clientSecret: crsssecret
+#      authorized-grant-types: authorization_code,refresh_token,password
+#      scope: openid
+#      access-token-validity-seconds: 3600
+#    resource:
+#      userInfoUri: http://localhost:8082/user
 
 logging:
   level:
     com.pemc: DEBUG
     com.netflix: DEBUG
     org.springframework.cloud: DEBUG
-    org.apache.http: DEBUG
     org.hibernate.stat: debug
 
 dataflow:
-  url: http://localhost:9393
+  url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
 
 job:
   maxRun: 1
 
+security:
+  ignored: /**
+
+management:
+  security:
+    enabled: false
+
 sftp:
   credentials:
     username: pemc
     password: 123qwe
-    host: pemc-storage.southeastasia.cloudapp.azure.com
+    host: sftp.marathon.l4lb.thisdcos.directory
     port: 22
-    workingDirectory: /home/pemc/upload
-    privateKey:
+    workingDirectory: /upload
+    privateKey: