diff options
author | 2023-03-13 11:00:21 +0000 | |
---|---|---|
committer | 2023-03-14 14:25:16 +0000 | |
commit | 870ff702088b89549bc21631eb48443fff0bcd71 (patch) | |
tree | 5d52aca25035644bdc2ac687275ed858ba524e7e /mock-sdnc/resources/preload.py | |
parent | 98e0e65ba145ab4c85c301118d4a0d02940221ec (diff) |
Migrate mock applications from Orange GitLab
Move from Orange repositories into ONAP one.
Issue-ID: INT-2208
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I6e165da5144c28a6ff151e02e32f5ae89ce124e3
Diffstat (limited to 'mock-sdnc/resources/preload.py')
-rw-r--r-- | mock-sdnc/resources/preload.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mock-sdnc/resources/preload.py b/mock-sdnc/resources/preload.py new file mode 100644 index 0000000..9795e16 --- /dev/null +++ b/mock-sdnc/resources/preload.py @@ -0,0 +1,28 @@ +"""SDNC preload resource module.""" +""" + Copyright 2023 Deutsche Telekom AG, Orange + + 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. +""" +from flask_restful import Resource + + +class Preload(Resource): + """Preload resource class.""" + + def post(self) -> None: + """Preload resource mock method. + + Do nothing. + + """ |