aboutsummaryrefslogtreecommitdiffstats
path: root/policy-executor-stub/src/main/resources/application.yml
diff options
context:
space:
mode:
authorToineSiebelink <toine.siebelink@est.tech>2024-07-04 15:15:36 +0100
committerToineSiebelink <toine.siebelink@est.tech>2024-07-08 17:07:48 +0100
commitd7914bc1f3c9505539304bd23b795c7b061dc6db (patch)
tree3bfb912918a7bdbc2b19e022d27312d08592d78e /policy-executor-stub/src/main/resources/application.yml
parent82053f446aa1eb35e2a05e2557431497b15b031b (diff)
Create PolicyExecutor Stub
- Generate interface from OpenApi in RTD docs - Fixed Content Type in OpenAPI - Fixed Paths in OpenAPI - Made Authorization header compulsory in OpenAPI - All 'enum' values in OpenAPI lowercase (in linr with CPS/NCMP conventions) - Added impl with some basic functionality - Added testware - Pom includes docker image creation - Docker compose updated to deploy stub Issue-ID: CPS-2301 Change-Id: I462ad5c70474b2813fc04005c0d20a1b15b574ec Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'policy-executor-stub/src/main/resources/application.yml')
-rw-r--r--policy-executor-stub/src/main/resources/application.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/policy-executor-stub/src/main/resources/application.yml b/policy-executor-stub/src/main/resources/application.yml
new file mode 100644
index 0000000000..f713a157fe
--- /dev/null
+++ b/policy-executor-stub/src/main/resources/application.yml
@@ -0,0 +1,20 @@
+# ============LICENSE_START=======================================================
+# Copyright (C) 2024 Nordix
+# ================================================================================
+# 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:
+ policy-executor-base-path: /policy-executor/api