31 lines
		
	
	
		
			924 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			924 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
# R11-Klaus
 | 
						|
Mockup service for middleware testing
 | 
						|
 | 
						|
[](https://travis-ci.com/Szakalakamaka/Klaus)
 | 
						|
 | 
						|
Available scripts:
 | 
						|
 | 
						|
#### 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 |