Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
student-attendance-detail-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shaphen Pangburn
student-attendance-detail-service
Commits
d7e563f9
Commit
d7e563f9
authored
Apr 02, 2021
by
Shaphen Pangburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[whole team]: Complete assignment minus cloud config
parent
a9c7afcb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
10 deletions
+29
-10
build.gradle
attendance/build.gradle
+12
-0
application.properties
attendance/src/main/resources/application.properties
+3
-0
application.yml
attendance/src/main/resources/application.yml
+14
-10
No files found.
attendance/build.gradle
View file @
d7e563f9
...
@@ -10,6 +10,11 @@ sourceCompatibility = '1.8'
...
@@ -10,6 +10,11 @@ sourceCompatibility = '1.8'
repositories
{
repositories
{
mavenCentral
()
mavenCentral
()
maven
{
url
'https://repo.spring.io/milestone'
}
}
ext
{
set
(
'springCloudVersion'
,
"2020.0.0"
)
}
}
dependencies
{
dependencies
{
...
@@ -22,6 +27,13 @@ dependencies {
...
@@ -22,6 +27,13 @@ dependencies {
implementation
'org.springframework.boot:spring-boot-starter-validation'
implementation
'org.springframework.boot:spring-boot-starter-validation'
implementation
'junit:junit:4.12'
implementation
'junit:junit:4.12'
testImplementation
'com.h2database:h2'
testImplementation
'com.h2database:h2'
implementation
'org.springframework.cloud:spring-cloud-config-server'
}
dependencyManagement
{
imports
{
mavenBom
"org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
}
test
{
test
{
...
...
attendance/src/main/resources/application.properties
View file @
d7e563f9
...
@@ -15,3 +15,6 @@ management.endpoints.web.exposure.include=*
...
@@ -15,3 +15,6 @@ management.endpoints.web.exposure.include=*
server.port
=
8090
server.port
=
8090
info.app.name
=
Attendance
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
attendance/src/main/resources/application.yml
View file @
d7e563f9
#git server:
#git server:
# port: 80
81
# port: 80
90
# context-path: /
# context-path: /
#server:
# port: 8091
#spring:
#spring:
# h2:
# console:
# enabled: true
# path: /h2
# datasource:
# url: jdbc:h2:file:~/attendance
# username: sa
# password:
# driverClassName: org.h2.Driver
# cloud:
# cloud:
# config:
# config:
# server:
# server:
...
@@ -12,17 +23,10 @@
...
@@ -12,17 +23,10 @@
# uri: https://gitlab.mynisum.com/rsayannagari/nisum-config-repo.git
# uri: https://gitlab.mynisum.com/rsayannagari/nisum-config-repo.git
# searchPaths:
# searchPaths:
# - nisum-test-service
# - nisum-test-service
# searchFile:
# - nisum-test-service-dev.properties
#logging:
#logging:
# pattern:
# pattern:
# console: "[APP] %date{\"yyyy-MM-dd'T'HH:mm:ss,SSSXXX\"} [%thread] %-5level %logger{36} - %msg%n"
# console: "[APP] %date{\"yyyy-MM-dd'T'HH:mm:ss,SSSXXX\"} [%thread] %-5level %logger{36} - %msg%n"
# level:
# level:
# root: INFO
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment