[INCUBATOR-32] config-injection module : Allow to escape ":" or "," caracter in value Created: 20/Apr/23  Updated: 08/Feb/24

Status: Open
Project: Incubator
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Alexandre Duquette Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Patch included:
Yes
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

In class ConfigInjectionModuleVersionHandler
method: parseConfig
replace line 
String[] elts = task.split("[:,]");
with
String[] elts = task.split("(?<!
)[:,]"
);



 Comments   
Comment by Alexandre Duquette [ 20/Apr/23 ]

Sorry, didn't use code so patch code is not useful...

replace this line

String[] elts = task.split("[:,]");  

with this one

 

String[] elts = task.split("(?<!\\)[:,]"); 

 

Comment by Alexandre Duquette [ 08/Feb/24 ]

Any news on this ? 
It could be useful to set defaultBaseUrl for example with config injection

Comment by Teresa Miyar [ 08/Feb/24 ]

Hi,

Very sorry we have missed this ticket, I see we do not have a Jiraproject for this module yet and is part of the services offering not the incubator, will check and get back to you next week.

Generated at Mon Feb 12 02:15:18 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.