X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_nbi%2Fnbi.py;h=31728463353b789fe997715a136a7367760274a1;hb=7a69811f7292bf0e43a4a5ac76aa9d2a488702da;hp=3a23a1af8a5b11990191713b8aa5a508ddb13e9d;hpb=f0ad3356bf5e0e7b3d03f5e842f46114d29666e2;p=osm%2FNBI.git diff --git a/osm_nbi/nbi.py b/osm_nbi/nbi.py index 3a23a1a..3172846 100644 --- a/osm_nbi/nbi.py +++ b/osm_nbi/nbi.py @@ -115,6 +115,8 @@ URL: /osm GET POST / O O O /k8srepos O O / O O + /osmrepos O O + / O O /nst/v1 O O /netslice_templates_content O O @@ -266,6 +268,12 @@ valid_url_methods = { "ROLE_PERMISSION": "k8srepos:id:" } }, + "osmrepos": {"METHODS": ("GET", "POST"), + "ROLE_PERMISSION": "osmrepos:", + "": {"METHODS": ("GET", "DELETE", "PATCH"), + "ROLE_PERMISSION": "osmrepos:id:" + } + }, "domains": {"METHODS": ("GET", ), "ROLE_PERMISSION": "domains:", },