forked from spring-attic/spring-data-aerospike
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FMWK-278 Refactor configuration (#684)
* refactor configuration, read from application.properties --------- Co-authored-by: yrizhkov <[email protected]>
- Loading branch information
Showing
107 changed files
with
730 additions
and
636 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -206,17 +206,17 @@ public class UserController { | |
|
||
=== Add @EnableCaching | ||
|
||
==== SimpleSpringbootAerospikeCacheApplication | ||
==== SimpleSpringBootAerospikeCacheApplication | ||
|
||
Add `@EnableCaching` to the class that contains the main method. | ||
|
||
[source,java] | ||
---- | ||
@EnableCaching | ||
@SpringBootApplication | ||
public class SimpleSpringbootAerospikeCacheApplication { | ||
public class SimpleSpringBootAerospikeCacheApplication { | ||
public static void main(String[] args) { | ||
SpringApplication.run(SimpleSpringbootAerospikeCacheApplication.class, args); | ||
SpringApplication.run(SimpleSpringBootAerospikeCacheApplication.class, args); | ||
} | ||
} | ||
---- | ||
|
@@ -252,7 +252,7 @@ aql> select * from test | |
+-----+-----------+----------+-------------+-------------------------------------+ | ||
| @user_key | name | @_class | email | age | | ||
+-----+-----------+----------+-------------+-------------------------------------+ | ||
| "1" | "guthrie" | "com.aerospike.cache.simplespringbootaerospikecache.objects.User" | "[email protected]" | 35 | | ||
| "1" | "guthrie" | "com.aerospike.cache.simpleSpringBootAerospikeCache.objects.User" | "[email protected]" | 35 | | ||
+-----+-----------+----------+-------------+-------------------------------------+ | ||
---- | ||
|
||
|
@@ -315,6 +315,6 @@ aql> select * from test | |
+-----+-----------+----------+-------------+-------------------------------------+ | ||
| @user_key | name | @_class | email | age | | ||
+-----+-----------+----------+-------------+-------------------------------------+ | ||
| "1" | "jimmy page" | "com.aerospike.cache.simplespringbootaerospikecache.objects.User" | "[email protected]" | 77 | | ||
| "1" | "jimmy page" | "com.aerospike.cache.simpleSpringBootAerospikeCache.objects.User" | "[email protected]" | 77 | | ||
+-----+-----------+----------+-------------+-------------------------------------+ | ||
---- |
Oops, something went wrong.