Commit 71c32ef3 authored by Carla Goncalves Ourofino's avatar Carla Goncalves Ourofino
Browse files

Adiciona restrição para não permitir sga_name com caracter "-".

[SOMA-1771]

Essa restrição é necessária pois no WebSintesi e no CSBase os endpoints heartbeat, status e completion (SGA.Java) utilizam o nome do SGA no path e não permitem o caracter "-".
parent 8c2e1b3a
......@@ -34,7 +34,7 @@ function configuration.check(config)
platform = schema.String,
sgad_host = schema.String,
sgad_port = schema.NumberFrom(1,65535),
sga_name = schema.Pattern("[A-Za-z0-9_%-]+"),
sga_name = schema.Pattern("[A-Za-z0-9_]+"),
sga_type = schema.Optional(schema.String),
status_interval_s = schema.PositiveNumber,
exec_polling_interval_s = schema.PositiveNumber,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment