From: delacruzramo Date: Thu, 14 Nov 2019 08:57:35 +0000 (+0100) Subject: Fix allowed methods for K8sClusters X-Git-Tag: v7.0.0rc1~18 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F67%2F8167%2F1;p=osm%2FNBI.git Fix allowed methods for K8sClusters Change-Id: I13227be31d71236fa55edb2219afe84b647f256e Signed-off-by: delacruzramo --- diff --git a/osm_nbi/nbi.py b/osm_nbi/nbi.py index e2419cf..ac30a37 100644 --- a/osm_nbi/nbi.py +++ b/osm_nbi/nbi.py @@ -257,7 +257,7 @@ valid_url_methods = { }, "k8sclusters": {"METHODS": ("GET", "POST"), "ROLE_PERMISSION": "k8sclusters:", - "": {"METHODS": ("GET", "DELETE", "PATCH", "PUT"), + "": {"METHODS": ("GET", "DELETE", "PATCH"), "ROLE_PERMISSION": "k8sclusters:id:" } },