projects
/
osm
/
NBI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix user/project creation with domain_name.
[osm/NBI.git]
/
osm_nbi
/
validation.py
diff --git
a/osm_nbi/validation.py
b/osm_nbi/validation.py
index
13b16d7
..
3615943
100644
(file)
--- a/
osm_nbi/validation.py
+++ b/
osm_nbi/validation.py
@@
-734,7
+734,7
@@
user_new_schema = {
"type": "object",
"properties": {
"username": shortname_schema,
"type": "object",
"properties": {
"username": shortname_schema,
- "
user_
domain_name": shortname_schema,
+ "domain_name": shortname_schema,
"password": passwd_schema,
"projects": nameshort_list_schema,
"project_role_mappings": project_role_mappings,
"password": passwd_schema,
"projects": nameshort_list_schema,
"project_role_mappings": project_role_mappings,
@@
-773,7
+773,7
@@
project_new_schema = {
"properties": {
"name": shortname_schema,
"admin": bool_schema,
"properties": {
"name": shortname_schema,
"admin": bool_schema,
- "
project_
domain_name": shortname_schema,
+ "domain_name": shortname_schema,
"quotas": {
"type": "object",
"properties": {topic: integer0_schema for topic in topics_with_quota},
"quotas": {
"type": "object",
"properties": {topic: integer0_schema for topic in topics_with_quota},