Skip to content

Commit 971aecb

Browse files
author
Araf Karsh Hamid
committed
Optimized the build process to create and test containers
1 parent d6014ed commit 971aecb

7 files changed

+80
-13
lines changed

application.properties

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# =======================================================================
22
# mock-service Service Properties
33
# =======================================================================
4-
build.number=20
5-
build.date=Thu Aug 19 15:23:10 IST 2021
4+
build.number=22
5+
build.date=Thu Aug 19 15:29:48 IST 2021
66
# =======================================================================
77
# Service Name & API Details - Version, Path
88
# =======================================================================
@@ -18,7 +18,7 @@ service.url=http://www.metarivu.com/
1818
# Microservice Server Properties
1919
# =======================================================================
2020
server.port=9090
21-
server.version=0.1.0
21+
server.version=0.2.0
2222
server.restart=true
2323
#logging.level=INFO
2424
spring.codec.max-in-memory-size=3MB

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>io.fusion.air</groupId>
66
<artifactId>mock-service</artifactId>
7-
<version>0.1.0</version>
7+
<version>0.2.0</version>
88
<packaging>jar</packaging>
99
<name>mockService</name>
1010
<description>Microservice Template</description>

src/docker/application.properties

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# =======================================================================
22
# mock-service Service Properties
33
# =======================================================================
4-
build.number=20
5-
build.date=Thu Aug 19 15:23:10 IST 2021
4+
build.number=22
5+
build.date=Thu Aug 19 15:29:48 IST 2021
66
# =======================================================================
77
# Service Name & API Details - Version, Path
88
# =======================================================================
@@ -18,7 +18,7 @@ service.url=http://www.metarivu.com/
1818
# Microservice Server Properties
1919
# =======================================================================
2020
server.port=9090
21-
server.version=0.1.0
21+
server.version=0.2.0
2222
server.restart=true
2323
#logging.level=INFO
2424
spring.codec.max-in-memory-size=3MB

src/main/resources/app.props.build

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# =======================================================================
22
# mock-service Service Properties
33
# =======================================================================
4-
build.number=20
5-
build.date=Thu Aug 19 15:23:10 IST 2021
4+
build.number=22
5+
build.date=Thu Aug 19 15:29:48 IST 2021

src/main/resources/app.props.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ service.url=http://www.metarivu.com/
1313
# Microservice Server Properties
1414
# =======================================================================
1515
server.port=9090
16-
server.version=0.1.0
16+
server.version=0.2.0
1717
server.restart=true
1818
#logging.level=INFO
1919
spring.codec.max-in-memory-size=3MB

src/main/resources/application.properties

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# =======================================================================
22
# mock-service Service Properties
33
# =======================================================================
4-
build.number=20
5-
build.date=Thu Aug 19 15:23:10 IST 2021
4+
build.number=22
5+
build.date=Thu Aug 19 15:29:48 IST 2021
66
# =======================================================================
77
# Service Name & API Details - Version, Path
88
# =======================================================================
@@ -18,7 +18,7 @@ service.url=http://www.metarivu.com/
1818
# Microservice Server Properties
1919
# =======================================================================
2020
server.port=9090
21-
server.version=0.1.0
21+
server.version=0.2.0
2222
server.restart=true
2323
#logging.level=INFO
2424
spring.codec.max-in-memory-size=3MB
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# =======================================================================
2+
# mock-service Service Properties
3+
# =======================================================================
4+
build.number=20
5+
build.date=Thu Aug 19 15:23:10 IST 2021
6+
# =======================================================================
7+
# Service Name & API Details - Version, Path
8+
# =======================================================================
9+
service.name=Mock
10+
service.org=metamagic
11+
service.api.prefix=api
12+
service.api.version=v1
13+
service.api.name=mock-service
14+
service.api.repository=https://github.com/MetaArivu/mock-${service.api.name}
15+
service.api.path=/${service.api.prefix}/${service.api.version}/${service.api.name}
16+
service.url=http://www.metarivu.com/
17+
# =======================================================================
18+
# Microservice Server Properties
19+
# =======================================================================
20+
server.port=9090
21+
server.version=0.1.0
22+
server.restart=true
23+
#logging.level=INFO
24+
spring.codec.max-in-memory-size=3MB
25+
token.key=sigmaEpsilon6109871597
26+
app.property.list=element1, element2, element3
27+
app.property.map={key1:'val1', key2 : 'val2', key3 : 'val3'}
28+
# =======================================================================
29+
# External Remote Server Properties
30+
# =======================================================================
31+
payment.gateway.host=127.0.0.1
32+
payment.gateway.port=8080
33+
remote.host=127.0.0.1
34+
remote.port=8080
35+
remote.protocol=http
36+
# =======================================================================
37+
# Open API Properties
38+
# For More Info: https://springdoc.org/#Introduction
39+
# =======================================================================
40+
springdoc.api-docs.path=${service.api.path}/
41+
springdoc.swagger-ui.path=${service.api.path}/swagger-ui.html
42+
# Disabling the /v3/api-docs enpoint
43+
springdoc.api-docs.enabled=true
44+
# Disabling the swagger-ui
45+
#springdoc.swagger-ui.enabled=true
46+
springdoc.swagger-ui.operationsSorter=method
47+
#For sorting tags alphabetically
48+
springdoc.swagger-ui.tagsSorter=alpha
49+
springdoc.show-actuator=true
50+
51+
# Packages to include
52+
# springdoc.packagesToScan=io.fusion.water, io.fusion.fire
53+
# Paths to include
54+
# springdoc.pathsToMatch=/v1, /api/health/**
55+
# To expose the swagger-ui, on the management port
56+
#springdoc.use-management-port=true
57+
# This property enables the openapi and swaggerui endpoints to be exposed
58+
# beneath the actuator base path.
59+
# management.endpoints.web.exposure.include=openapi, swaggerui
60+
# =======================================================================
61+
# Mongo Properties
62+
# =======================================================================
63+
spring.data.mongodb.uri=mongodb://localhost:27017/orderdb
64+
# =======================================================================
65+
# Mongock Properties
66+
# =======================================================================
67+
mongock.change-logs-scan-package=io.fusion.water.order.adapters

0 commit comments

Comments
 (0)