diff options
author | mark.j.leonard <mark.j.leonard@gmail.com> | 2019-01-28 11:42:54 +0000 |
---|---|---|
committer | mark.j.leonard <mark.j.leonard@gmail.com> | 2019-01-30 14:05:06 +0000 |
commit | 7fcc74469c941c1834cd02b54ff5ca88a53bf83b (patch) | |
tree | 3d9c130fb098cb996d2c8db4a8b9f57501c393b6 /src/main/resources/application.properties | |
parent | 6833fb0a9a3f8c26688ad5c323eb266827b707c2 (diff) |
Load type mappings from a group configuration file
Change the filter-types.properties file: re-implement to use JSON
content. Remove the System Property that defines the location of the
file and add this to the Spring application properties.
Initialise the type-to-model mappings using the key=value pairs from
this JSON content.
Refactor existing Junit tests to remove duplicated resource loading
code.
Change-Id: Idb2e962fe5cae39b70cc8cf16053d0a253f4fac0
Issue-ID: AAI-2121
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'src/main/resources/application.properties')
-rw-r--r-- | src/main/resources/application.properties | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 2cb4fe8..c9982d6 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -4,4 +4,6 @@ server.ssl.client-auth=need server.contextPath=/services/babel-service -logging.config=${CONFIG_HOME}/logback.xml
\ No newline at end of file +logging.config=${CONFIG_HOME}/logback.xml + +groupfilter.config=${CONFIG_HOME}/tosca-mappings.json |