A service component periodically retrieves content from an external REST interface and saves the information in JCR. The

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
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

Post by answerhappygod »

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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply