X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fnbi.py;h=31728463353b789fe997715a136a7367760274a1;hp=3a23a1af8a5b11990191713b8aa5a508ddb13e9d;hb=b66b041b8a3669ef44d9a94643cfa4add94d7f9b;hpb=f1509b299d7453b9095487346ddc223cda97e470 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:", },