Created
May 8, 2022 12:09
-
-
Save sirech/9b269bc87cc5ec5e29338ff31860b241 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface NavigationRepository extends | |
AerospikeRepository<CachedNavigation, String> { | |
} | |
@Value | |
@Document(collection = "navigation_CachedNavigationMenu") | |
public class CachedNavigation implements Cacheable<List<LegacyNavMenuItem>> { | |
@Id | |
String id; | |
List<LegacyNavMenuItem> navigation; | |
@Override | |
public List<LegacyNavMenuItem> data() { | |
return navigation; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment