testing docker jenkins
This commit is contained in:
21
README.md
21
README.md
@@ -5,10 +5,27 @@ Mockup service for middleware testing
|
||||
|
||||
Available scripts:
|
||||
|
||||
### docker-compose up -d --build
|
||||
|
||||
#### docker-compose up -d --build
|
||||
Builds and launches Redis service and the application. Performs unit testing on the code and run the application.
|
||||
|
||||
#### docker exec -it mockedservices_redis-server redis-cli
|
||||
Attach to the running local redis server and open a redis client.
|
||||
|
||||
Useful redis-cli commands:
|
||||
###### KEYS *
|
||||
Show all keys in the db.
|
||||
###### TYPE key
|
||||
Show key type.
|
||||
###### LRANGE key start stop
|
||||
Display elements from the list.
|
||||
###### LLEN key
|
||||
Display list length.
|
||||
###### SMEMBERS key
|
||||
Display elements from hashSet.
|
||||
Logs can be found in lists with names logstash_yyyy-mm-dd.
|
||||
|
||||
Plugins:
|
||||
|
||||
settings -> plugins -> install lombok plugin
|
||||
|
||||
settings -> annotation processors -> enable annotation processing
|
||||
Reference in New Issue
Block a user