testing docker jenkins

This commit is contained in:
Szakalakamaka
2020-09-28 09:31:36 +02:00
parent 78bd0201c4
commit 57e1942eb7
30 changed files with 491 additions and 76 deletions

View File

@@ -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