-
Notifications
You must be signed in to change notification settings - Fork 1
Problem with conditionals #67
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
OaiHarvestClientIntegrationTest in ds-datahandler uses the code
oaiTarget.setUsername(conf.getString("integration.oaiTargets[1].user"));against a config like
integration:
oaiTargets:
- name: pvica5.devel
datasource: ds.radiotv
url: <serverurl>
user: <user>
password: <password>
metadataPrefix: XIP_full_schema
description: Radio- of TV-udsendelser
- name: pvica7.devel
datasource: ds.radiotv
url: <serverurl>
user: <user>
password: <password>
metadataPrefix: xip
description: Radio- of TV-udsendelser
filter: preservica
dateStampFormat: datetime
dayOnly: true
startDay: '2024-03-01'
It would be a lot cleaner to write
oaiTarget.setUsername(conf.getString("integration.oaiTargets[name=pvica7.devel].user"));but this does not work!?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working