diff options
Diffstat (limited to 'src/test/resources')
-rw-r--r-- | src/test/resources/ModuleSchema.json | 15 | ||||
-rw-r--r-- | src/test/resources/application.yml | 79 | ||||
-rw-r--r-- | src/test/resources/cmNotificationSubscriptionCreationEvent.json | 43 | ||||
-rw-r--r-- | src/test/resources/createDataWithNormalChar.json | 8 | ||||
-rw-r--r-- | src/test/resources/createDataWithSpecialChar.json | 8 | ||||
-rw-r--r-- | src/test/resources/deleteData.json | 8 | ||||
-rw-r--r-- | src/test/resources/moduleResources.json | 18 | ||||
-rw-r--r-- | src/test/resources/patchData.json | 8 | ||||
-rw-r--r-- | src/test/resources/readData.json | 8 | ||||
-rw-r--r-- | src/test/resources/updateData.json | 8 |
10 files changed, 0 insertions, 203 deletions
diff --git a/src/test/resources/ModuleSchema.json b/src/test/resources/ModuleSchema.json deleted file mode 100644 index 50c67154..00000000 --- a/src/test/resources/ModuleSchema.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "ietf-netconf-monitoring:schemas": { - "schema": [ - { - "identifier": "example-identifier", - "version": "example-version", - "format": "example-format", - "namespace": "example:namespace", - "location": [ - "example-location" - ] - } - ] - } -}
\ No newline at end of file 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 diff --git a/src/test/resources/cmNotificationSubscriptionCreationEvent.json b/src/test/resources/cmNotificationSubscriptionCreationEvent.json deleted file mode 100644 index 3b780976..00000000 --- a/src/test/resources/cmNotificationSubscriptionCreationEvent.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "data": { - "cmhandles": [ - { - "cmhandleId": "CMHandle1", - "private-properties": { - "prop1": "prop-value" - } - }, - { - "cmhandleId": "CMHandle2", - "private-properties": { - "prop-x": "prop-valuex", - "prop-p": "prop-valuep" - } - }, - { - "cmhandleId": "CMHandle3", - "private-properties": { - "prop-y": "prop-valuey" - } - } - ], - "predicates": [ - { - "targetFilter": [ - "CMHandle1", - "CMHandle2", - "CMHandle3" - ], - "scopeFilter": { - "datastore": "ncmp-datastore:passthrough-running", - "xpath-filter": [ - "//_3gpp-nr-nrm-gnbdufunction:GNBDUFunction/_3gpp-nr-nrm-nrcelldu:NRCellDU/", - "//_3gpp-nr-nrm-gnbcuupfunction:GNBCUUPFunction//", - "//_3gpp-nr-nrm-gnbcucpfunction:GNBCUCPFunction/_3gpp-nr-nrm-nrcelldu:NRCellCU//", - "//_3gpp-nr-nrm-nrsectorcarrier:NRSectorCarrier//" - ] - } - } - ] - } -}
\ No newline at end of file diff --git a/src/test/resources/createDataWithNormalChar.json b/src/test/resources/createDataWithNormalChar.json deleted file mode 100644 index 31cdf1c5..00000000 --- a/src/test/resources/createDataWithNormalChar.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "operation": "create", - "dataType": "application/json", - "data": "normal request body", - "cmHandleProperties": { - "some-property": "some-property-value" - } -}
\ No newline at end of file diff --git a/src/test/resources/createDataWithSpecialChar.json b/src/test/resources/createDataWithSpecialChar.json deleted file mode 100644 index 1e7622ee..00000000 --- a/src/test/resources/createDataWithSpecialChar.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "operation": "create", - "dataType": "application/json", - "data": "data with quote \" and new line \n", - "cmHandleProperties": { - "some-property": "some-property-value" - } -}
\ No newline at end of file diff --git a/src/test/resources/deleteData.json b/src/test/resources/deleteData.json deleted file mode 100644 index 2233fa01..00000000 --- a/src/test/resources/deleteData.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "operation": "delete", - "dataType": "application/json", - "data": "normal request body", - "cmHandleProperties": { - "some-property": "some-property-value" - } -}
\ No newline at end of file diff --git a/src/test/resources/moduleResources.json b/src/test/resources/moduleResources.json deleted file mode 100644 index 23adfcba..00000000 --- a/src/test/resources/moduleResources.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "data": { - "modules": [ - { - "name": "ietf-yang-library", - "revision": "2016-06-21" - }, - { - "name": "nc-notifications", - "revision": "2008-07-14" - } - ] - }, - "cmHandleProperties": { - "subsystemId": "system-001" - }, - "moduleSetTag": "module-set-tag1" -} diff --git a/src/test/resources/patchData.json b/src/test/resources/patchData.json deleted file mode 100644 index e5466eaf..00000000 --- a/src/test/resources/patchData.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "operation": "patch", - "dataType": "application/yang.patch+json", - "data": "normal request body", - "cmHandleProperties": { - "some-property": "some-property-value" - } -}
\ No newline at end of file diff --git a/src/test/resources/readData.json b/src/test/resources/readData.json deleted file mode 100644 index 9f2b154f..00000000 --- a/src/test/resources/readData.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "operation": "read", - "dataType": "application/json", - "data": "normal request body", - "cmHandleProperties": { - "some-property": "some-property-value" - } -}
\ No newline at end of file diff --git a/src/test/resources/updateData.json b/src/test/resources/updateData.json deleted file mode 100644 index 7cbf4f0c..00000000 --- a/src/test/resources/updateData.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "operation": "update", - "dataType": "application/json", - "data": "normal request body", - "cmHandleProperties": { - "some-property": "some-property-value" - } -}
\ No newline at end of file |