summaryrefslogtreecommitdiffstats
path: root/README.md
blob: d2e6d4c7ced10018c2de208d0699960635fa2800 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Cacher Microservice 


Build and test
````bash
	mvn clean install
````

Run spring boot
```bash
	mvn spring-boot:run
```

if on Windows the startSpring.bat file can be used to start the mS with the debug port configured

The purpose of this microservice is to provide the ability to store and force update cached responses as well as for particular cases update the cached data from consuming dmaap events.

##Cache Key Inventory API endpoints

localhost:8444/aai/cacheKey/get

localhost:8444/aai/cacheKey/delete

localhost:8444/aai/cacheKey/add

localhost:8444/aai/cacheKey/update

##Cache API endpoints

localhost:8444/aai/cache/delete

localhost:8444/aai/cache/sync

localhost:8444/aai/cache/get