From 43dc2613fbc777c11412553e510b406c568f86ee Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Tue, 19 Aug 2025 13:34:24 +0200 Subject: [PATCH] sonar-cds job fails due to missing tests in k8s-connection-plugin module - add test to k8s-connection-plugin module because sonarqube fails without it Issue-ID: CCSDK-4131 Signed-off-by: Fiete Ostkamp Change-Id: Ia79ba6b8b25a41593b2bddf82df63b5566bd0cb6 --- .../blueprintsprocessor/functions/k8s/SomeTest.kt | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 ms/blueprintsprocessor/functions/k8s-connection-plugin/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/SomeTest.kt diff --git a/ms/blueprintsprocessor/functions/k8s-connection-plugin/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/SomeTest.kt b/ms/blueprintsprocessor/functions/k8s-connection-plugin/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/SomeTest.kt new file mode 100644 index 000000000..b281d7cb0 --- /dev/null +++ b/ms/blueprintsprocessor/functions/k8s-connection-plugin/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/k8s/SomeTest.kt @@ -0,0 +1,32 @@ +/* + * Copyright © 2025 Deutsche Telekom AG. + * + * 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. + */ + +package org.onap.ccsdk.cds.blueprintsprocessor.functions.k8s + +import org.junit.Assert.assertTrue +import org.junit.Test + +/** + * This placeholder of a test is necessary to make the sonar job in the pipeline not fail + * with a lifecycle exception because this module does not have any tests + */ +class SomeTest { + + @Test + fun onlyHereToFixSonarqubeMojoExecutionException() { + assertTrue(true) + } +} -- 2.16.6