Commit d7e563f9 authored by Shaphen Pangburn's avatar Shaphen Pangburn

[whole team]: Complete assignment minus cloud config

parent a9c7afcb
......@@ -10,6 +10,11 @@ sourceCompatibility = '1.8'
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
}
ext {
set('springCloudVersion', "2020.0.0")
}
dependencies {
......@@ -22,6 +27,13 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'junit:junit:4.12'
testImplementation 'com.h2database:h2'
implementation 'org.springframework.cloud:spring-cloud-config-server'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
test {
......
......@@ -15,3 +15,6 @@ management.endpoints.web.exposure.include=*
server.port= 8090
info.app.name=Attendance
#spring.cloud.config.server.git.uri=https://gitlab.mynisum.com/rsayannagari/nisum-config-repo.git
#spring.cloud.config.server.git.clone-on-start=true
#git server:
# port: 8081
# port: 8090
# context-path: /
#server:
# port: 8091
#spring:
# h2:
# console:
# enabled: true
# path: /h2
# datasource:
# url: jdbc:h2:file:~/attendance
# username: sa
# password:
# driverClassName: org.h2.Driver
# cloud:
# config:
# server:
......@@ -12,17 +23,10 @@
# uri: https://gitlab.mynisum.com/rsayannagari/nisum-config-repo.git
# searchPaths:
# - nisum-test-service
# searchFile:
# - nisum-test-service-dev.properties
#logging:
# pattern:
# console: "[APP] %date{\"yyyy-MM-dd'T'HH:mm:ss,SSSXXX\"} [%thread] %-5level %logger{36} - %msg%n"
# level:
# root: INFO
# h2:
# console:
# enabled: true
# path: /h2
# datasource:
# url: jdbc:h2:file:~/test
# username: sa
# password:
# driverClassName: org.h2.Driver
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment