summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/src/main/resources/application.yml
diff options
context:
space:
mode:
authorwaqas.ikram <waqas.ikram@est.tech>2023-06-16 13:05:04 +0100
committerWaqas Ikram <waqas.ikram@est.tech>2023-06-20 09:40:08 +0000
commitcb0256d46fa8fd75f54482917ec1cd4aba02fb55 (patch)
tree74f8ac08831951889e1b2269a3a70d80a18276ec /cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/src/main/resources/application.yml
parenta47d9766d027cb0ffcc92c3e0c401a46bc2e8ab8 (diff)
Refactored code to enable its utilization in Junit
tests for the client Change-Id: I847ae0f48444af907039bfddb9879581003c0f35 Issue-ID: CPS-1751 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
Diffstat (limited to 'cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/src/main/resources/application.yml')
-rw-r--r--cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/src/main/resources/application.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/src/main/resources/application.yml b/cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/src/main/resources/application.yml
new file mode 100644
index 000000000..9fbd35965
--- /dev/null
+++ b/cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/src/main/resources/application.yml
@@ -0,0 +1,39 @@
+# ============LICENSE_START=======================================================
+# Copyright (C) 2022 Bell Canada
+# ================================================================================
+# 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.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END=========================================================
+server:
+ port: 8091
+
+rest:
+ api:
+ ncmp-stub-base-path: /ncmp
+
+spring:
+ main:
+ banner-mode: "off"
+ application:
+ name: "cps-ncmp-rest-stub"
+
+logging:
+ level:
+ org:
+ springframework: INFO
+ onap:
+ cps: INFO
+
+stub:
+ path: "/stubs/" \ No newline at end of file