Open
Description
Add additional item inside of OSGi configs gutters: "Add"
Upon click dialog with ability create new OSGi config for underlying service should appear.
The dialog should have:
-
Path selection field "OSGi configs root"
-
Mode selection field containing comma-separated run modes
- Selected run modes should be validated on the fly, "Run mode already exists" error message will appear if user enter run mode that already contain config for underlying service.
-
For OSGi service factory additional field "Suffix" should be available (in order to have ability to create several configurations for single run mode)
After user click "Ok" in the dialog new xml file of jcr:primaryType="sling:OsgiConfig"
should be created in corresponding directory.
The file should contain all placeholders for parameters present in underlying OSGi service.
- Create "Add" item in gutter menu
- Create dialog
- Create OSGi configuration for service action