openbaton / openstack4j-plugin

Apache License 2.0
3 stars 12 forks source link

External-properties-file: /etc/openbaton/plugin/openstack/driver.properties doesn't exist #72

Closed Polpetta closed 6 years ago

Polpetta commented 6 years ago

When spinning up your driver using Docker, I get into the log: [main] DEBUG org.openbaton.drivers.openstack4j.OpenStack4JDriver - external-properties-file: /etc/openbaton/plugin/openstack/driver.properties doesn't exist

Checking the project's plugin.conf.properties file, there is the following line: https://github.com/openbaton/openstack4j-plugin/blob/7097220493c47617db9913e04bb53a95d2b1b53b/src/main/resources/plugin.conf.properties#L21

but in the gradle build this file never gets generated nor copied in that directory.

mpauls commented 6 years ago

This is just an optional option - you can provide it or not. If this file doesn't exist, it will use the default one in the jar archive. Additionally, you can pass configuration parameters via environment variables when running the container itself.