[GitlabCommits] fix parameters requirement status and default values

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-21 18:07:42 +02:00
parent be98ad161a
commit 09bc211cc6

View file

@ -17,19 +17,23 @@ class GitlabCommitsBridge extends BridgeAbstract{
'[ '[
{ {
"name" : "Base URI", "name" : "Base URI",
"identifier" : "uri" "identifier" : "uri",
"defaultValue":"https://gitlab.com"
}, },
{ {
"name" : "User name", "name" : "User name",
"identifier" : "u" "identifier" : "u",
"required": true
}, },
{ {
"name" : "Project name", "name" : "Project name",
"identifier" : "p" "identifier" : "p",
"required":true
}, },
{ {
"name" : "Project branch", "name" : "Project branch",
"identifier" : "b" "identifier" : "b",
"defaultValue":"master"
} }
]'; ]';