A service component periodically retrieves content from an external REST interface and saves the information in JCR. The REST endpoint is configured via an
OSGi service property. There is one URL for production (runmode prod) and another URL for all other environments.
How should a developer configure the OSGi service?
A. Underneath /apps/<project>/settings, create the sub folders global and prod and node with name <PID>.conf each and configure the properties via node properties.
B. Underneath /config/<project>/settings, create the sub folders config.default and config.prod and a file with the name <PID>.config each and list the properties as key value pairs in there.
C. Underneath /apps/<project>, create the sub folders config and config.prod and a file with the name <PID>.config each and list the properties as key value pairs in there.
D. Underneath /config/<project>/settings, create the sub folders config and config.prod and a file with the name <PID>.config each and list the properties as key value pairs in there.
A service component periodically retrieves content from an external REST interface and saves the information in JCR. The
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
A service component periodically retrieves content from an external REST interface and saves the information in JCR. The
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!