aboutsummaryrefslogtreecommitdiffstats
path: root/src/onapsdk/msb/k8s/k8splugin_msb_service.py
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2023-02-27 14:18:18 +0100
committerLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2023-03-01 18:37:40 +0000
commit04d216408b1fe94337775a6e528175733d055f25 (patch)
tree0f7f52004f0e963f441f0b16dd906bdce8247adb /src/onapsdk/msb/k8s/k8splugin_msb_service.py
parent21e9eda103d2cb5228f20a1518d10ba55e610983 (diff)
Update K8sPlugin API
- add new methods for Instance API - added option to use K8sPlugin without MSB Issue-ID: TEST-391 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I35b6c8ba9574ca2385c97edde5dbb036b30aebc9
Diffstat (limited to 'src/onapsdk/msb/k8s/k8splugin_msb_service.py')
-rw-r--r--src/onapsdk/msb/k8s/k8splugin_msb_service.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/onapsdk/msb/k8s/k8splugin_msb_service.py b/src/onapsdk/msb/k8s/k8splugin_msb_service.py
new file mode 100644
index 0000000..d1e38df
--- /dev/null
+++ b/src/onapsdk/msb/k8s/k8splugin_msb_service.py
@@ -0,0 +1,20 @@
+"""K8s package."""
+# Copyright 2023 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.
+
+import warnings
+from onapsdk.k8s.k8splugin_service import K8sPlugin # pylint: disable=unused-import
+
+warnings.warn("onapsdk.msb.k8s.k8splugin_service module is deprecated and will be removed with "
+ "the next version of ONAP SDK. Use onapsdk.k8s.k8splugin_service")