Skip to content

Conversation

@draganAndonovski
Copy link
Collaborator

@draganAndonovski draganAndonovski commented Jul 15, 2016

Implementation that will resolve #7 (Dependent on #5 )

- added CacheService which uses the decorators @Cacheable and @CacheEvict
- added the @CacheEnable decorator to the AppConfig class
- added CacheService in the GreetingsController for demonstration purposes
- created two methods (get and delete) in the Greetings controller for testing the caching decorators
- added dependency to redis and object-hash in package.json
[review by saskodh]
# Conflicts:
#	src/app/AppConfig.ts
#	src/app/controllers/GreetingsController.ts
#	src/app/repositories/dataSources/DataSource.ts
#	src/main.ts
- added usage of @Cacheable, @CacheEvict and @cACHEpUT
- added methods in the GreetingsController
- added RedisCacheProvider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Usage of @Cacheable and @CacheEvict decorators

2 participants