Increase project and project group name length limitation

This patch increase it to 100 chars instead of 50.

Change-Id: I0613c0f15a3d8807627676c3392ed29ca6a24685
This commit is contained in:
Fabien Boucher
2017-03-15 13:50:41 +00:00
parent 1297093792
commit 90712c28ae
3 changed files with 44 additions and 4 deletions

View File

@@ -99,7 +99,7 @@ PROJECTS_PUT_SCHEMA = {
"name": {
"type": "string",
"minLength": CommonLength.lower_large_length,
"maxLength": CommonLength.top_short_length
"maxLength": CommonLength.top_middle_length
},
"repo_url": {
"type": ["string", "null"],
@@ -118,7 +118,7 @@ PROJECT_GROUPS_PUT_SCHEMA = {
"name": {
"type": "string",
"minLength": CommonLength.lower_large_length,
"maxLength": CommonLength.top_short_length
"maxLength": CommonLength.top_middle_length
},
"title": {
"type": "string",