Commit 6420ab58 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]
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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,
......
  • 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 "-".

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