diff options
author | mark.j.leonard <mark.j.leonard@gmail.com> | 2019-02-15 11:30:00 +0000 |
---|---|---|
committer | mark.j.leonard <mark.j.leonard@gmail.com> | 2019-02-15 17:11:43 +0000 |
commit | 66372969d78dde14097209808358479635c0e8d0 (patch) | |
tree | f96c54a92604472157393bca4ff2f700b9074d62 /src/test/resources/test-application.properties | |
parent | 209cd56d7f2f885a94fc5f937c4376fc0ffbd922 (diff) |
Create Application tests for KEY_STORE_PASSWORD
Add a dummy keystore file for testing exceptions relating to opening the
key store (for the server cert) with an incorrect password.
This is intended to increase code coverage.
Make AAIMicroServiceAuthCore non-static to avoid some issues with Spring
initialization.
Change-Id: Ic512bd0934210fb016da9731e65ec0d858fa4ff7
Issue-ID: AAI-2057
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'src/test/resources/test-application.properties')
-rw-r--r-- | src/test/resources/test-application.properties | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/src/test/resources/test-application.properties b/src/test/resources/test-application.properties index 38b2962..c703e85 100644 --- a/src/test/resources/test-application.properties +++ b/src/test/resources/test-application.properties @@ -1,6 +1,28 @@ +# ============LICENSE_START======================================================= +# org.onap.aai +# ================================================================================ +# Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2018-2019 European Software Marketing Ltd. +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============LICENSE_END========================================================= + +APP_HOME=. +CONFIG_HOME=src/test/resources + consumer.topic.names=aai-event,aai-data-export publisher.topic.names=aai-data-integrity -topics.properties.location=src/test/resources/topic-config/ +topics.properties.location=${CONFIG_HOME}/topic-config/ server.ssl.key-store= |