summaryrefslogtreecommitdiffstats
path: root/src/test/resources/application.yml
diff options
context:
space:
mode:
authoregernug <gerard.nugent@est.tech>2024-06-21 12:53:06 +0100
committeregernug <gerard.nugent@est.tech>2024-06-24 16:14:08 +0100
commit5e4eb8c3bd9886e4c3ee2089b54236a01a99566b (patch)
tree1f0870f83ea9a79c90ae34deffad8618000d144c /src/test/resources/application.yml
parent92de0b14a9fca76ce2da53c9533c16d7c17eab5e (diff)
Create module structure in DMI Plugin
To push the stub in to DMI Plugin the Plugin will need to be modulized akin to CPS/NCMP. This involves creating a new module in the repo and porting the packages in src into this module Issue-ID: CPS-2284 Change-Id: Iffa4eded4e49c220891fe73c30ea3b2f12a9e66d Signed-off-by: egernug <gerard.nugent@est.tech>
Diffstat (limited to 'src/test/resources/application.yml')
-rw-r--r--src/test/resources/application.yml79
1 files changed, 0 insertions, 79 deletions
diff --git a/src/test/resources/application.yml b/src/test/resources/application.yml
deleted file mode 100644
index ddc2b45f..00000000
--- a/src/test/resources/application.yml
+++ /dev/null
@@ -1,79 +0,0 @@
-# ============LICENSE_START=======================================================
-# Copyright (C) 2021-2023 Nordix Foundation
-# ================================================================================
-# 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=========================================================
-
-rest:
- api:
- dmi-base-path: /dmi
-
-security:
- permit-uri: /actuator/**,/swagger-ui/**,/swagger-resources/**,/v3/api-docs
- auth:
- username: cpsuser
- password: cpsr0cks!
-
-sdnc:
- baseUrl: http://test
- topologyId: test-topology
- auth:
- username: test
- password: test
-
-cps-core:
- baseUrl: some url for cps
- dmiRegistrationUrl: some registration url
- auth:
- username: some cps core user
- password: some cps core password
-
-dmi:
- service:
- url: some url for the dmi service
- avc:
- subscription-topic: ncmp-dmi-cm-avc-subscription
- subscription-response-topic: dmi-ncmp-cm-avc-subscription
-
-spring:
- application:
- name: ncmp-dmi-plugin
- mvc:
- pathmatch:
- matching-strategy: ANT_PATH_MATCHER
- kafka:
- bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVER}
- security:
- protocol: PLAINTEXT
- producer:
- key-serializer: org.apache.kafka.common.serialization.StringSerializer
- value-serializer: io.cloudevents.kafka.CloudEventSerializer
- client-id: ncmp-dmi-plugin
- consumer:
- group-id: ${NCMP_CONSUMER_GROUP_ID:ncmp-group}
- key-deserializer: org.springframework.kafka.support.serializer.ErrorHandlingDeserializer
- value-deserializer: org.springframework.kafka.support.serializer.ErrorHandlingDeserializer
- properties:
- spring.deserializer.key.delegate.class: org.apache.kafka.common.serialization.StringDeserializer
- spring.deserializer.value.delegate.class: io.cloudevents.kafka.CloudEventDeserializer
- spring.json.use.type.headers: false
-
-app:
- ncmp:
- async:
- topic: ${NCMP_ASYNC_M2M_TOPIC:ncmp-async-m2m}
-
-logging:
- format: json