X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fvalidation.py;h=9bbde280203542234fd552fbcc3c307d2a8dfee6;hp=1d637c5cb33febbe37770575c222e453b1dc92f2;hb=5c59aabc55d2a03fff25419e44d0304149331cbe;hpb=ee31f53e40fd2435bf19c394842693ae0eb72a9e diff --git a/osm_nbi/validation.py b/osm_nbi/validation.py index 1d637c5..9bbde28 100644 --- a/osm_nbi/validation.py +++ b/osm_nbi/validation.py @@ -516,6 +516,7 @@ vim_account_edit_schema = { "vim_password": passwd_schema, "vca": id_schema, "config": {"type": "object"}, + "prometheus-config": {"type": "object"}, }, "additionalProperties": False, } @@ -540,6 +541,7 @@ vim_account_new_schema = { "vim_password": passwd_schema, "vca": id_schema, "config": {"type": "object"}, + "prometheus-config": {"type": "object"}, }, "required": [ "name", @@ -937,6 +939,7 @@ user_edit_schema = { "type": "object", "properties": { "password": passwd_schema, + "old_password": passwd_schema, "username": string_schema, # To allow User Name modification "projects": {"oneOf": [nameshort_list_schema, array_edition_schema]}, "project_role_mappings": project_role_mappings,