Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling Peppol Directory #122

Closed
ri4a opened this issue Jan 28, 2020 · 4 comments
Closed

Enabling Peppol Directory #122

ri4a opened this issue Jan 28, 2020 · 4 comments
Assignees
Labels

Comments

@ri4a
Copy link

ri4a commented Jan 28, 2020

Hi Philip,

When adding

smp.peppol.directory.integration.enabled = true
smp.peppol.directory.hostname = https://test-directory.peppol.eu

in smp-server.properties, I expected these settings to become active upon restart of Tomcat. However, I had to change the settings in the UI to get them to work.

What am I missing?

Thanks!

@phax phax self-assigned this Jan 28, 2020
@phax phax added the question label Jan 28, 2020
@phax
Copy link
Owner

phax commented Jan 28, 2020

Hi @ri4a ,
yes the settings have precedence in this case 🤷‍♂
I guess in this case we need a writable REST API to set the settings....??
Any ideas?
Thanks,
Philip

@ri4a
Copy link
Author

ri4a commented Jan 29, 2020

Hmmm...I would like the config files to take precedence. That way I can provision a new SMP server using a script (e.g. capistrano).

Perhaps a new setting

global.config.precedence=file

which would keep current behaviour if not present?

Because of #97 it we can no longer use the UI in production, so that will be a challenge.

Are the settings from the UI stored in

webapp.datapath

? In that case, could I simply edit these files instead of using the UI?

@phax
Copy link
Owner

phax commented Jan 29, 2020

Yes, inside the data path there is a file smp-settings.xml which contains the settings. It should be pretty straight forward to change the value there.

Concerning #97 - I am aware of it, but this is indeed quite some effort and currently there are so many other things...

@ri4a
Copy link
Author

ri4a commented Jan 31, 2020

Ok, we will make changes directly in smp-settings.xml. Thanks!

@ri4a ri4a closed this as completed Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants