Skip to content

Commit

Permalink
Merge pull request #84 from provincieNH/dynamic-config-fix
Browse files Browse the repository at this point in the history
Dynamic configuration does not parse username/password for ldr:ServerConfig
  • Loading branch information
ali1k authored Aug 28, 2020
2 parents c0a8210 + 94cb5b2 commit 1501b59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/dynamicConfiguration/DynamicConfigurator.js
Original file line number Diff line number Diff line change
Expand Up @@ -1450,6 +1450,9 @@ class DynamicConfigurator {
output.sparqlEndpoint[datasetURI].path = el.path.value;
output.sparqlEndpoint[datasetURI].protocol = el.protocol && el.protocol.value ? el.protocol.value : 'http';
output.sparqlEndpoint[datasetURI].endpointType = el.endpointType.value;
//username/pw config
output.sparqlEndpoint[datasetURI].username = el.username.value;
output.sparqlEndpoint[datasetURI].password = el.password.value;
//assume that all values will be stored in an array expect numbers: Not-a-Number
settingProp = el.setting.value.replace(ldr_prefix, '').trim();
if(!isNaN(el.settingValue.value)){
Expand Down

0 comments on commit 1501b59

Please sign in to comment.