Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
service-campaign
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyen Ha
service-campaign
Commits
18245dcd
Commit
18245dcd
authored
Aug 14, 2019
by
Tu Bach
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.myitsol.com/hanv/service-campaign
parents
baeb8b59
c91566aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
etc/app.conf
etc/app.conf
+3
-0
src/main/java/com/viettel/campaign/ServiceCampaignApplication.java
...java/com/viettel/campaign/ServiceCampaignApplication.java
+5
-0
No files found.
etc/app.conf
View file @
18245dcd
#redis address, port
redis_address
=
10
.
60
.
156
.
82
:
8011
,
10
.
60
.
156
.
82
:
8012
,
10
.
60
.
156
.
82
:
8013
,
10
.
60
.
156
.
82
:
8014
,
10
.
60
.
156
.
82
:
8015
,
10
.
60
.
156
.
82
:
8016
redis_timeout
=
3000
\ No newline at end of file
src/main/java/com/viettel/campaign/ServiceCampaignApplication.java
View file @
18245dcd
package
com.viettel.campaign
;
package
com.viettel.campaign
;
import
com.viettel.campaign.utils.Config
;
import
com.viettel.campaign.utils.RedisUtil
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
...
@@ -8,6 +10,9 @@ public class ServiceCampaignApplication {
...
@@ -8,6 +10,9 @@ public class ServiceCampaignApplication {
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
ServiceCampaignApplication
.
class
,
args
);
SpringApplication
.
run
(
ServiceCampaignApplication
.
class
,
args
);
RedisUtil
redis
=
new
RedisUtil
(
Config
.
redisAddress
,
Config
.
redisTimeout
);
redis
.
setup
();
}
}
}
}
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