adobe / adobe/aio-lib-java

`aem.events_osgi_mapping` allow osgi application events based on a configuration value

Open
#89 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
7
Forks
22
PR merge metrics
No merged PRs in 30d

Description

allow osgi application events based on a configuration value

add the following https://github.com/adobe/aio-lib-java/blob/main/aem/events_osgi_mapping/src/main/java/com/adobe/aio/aem/event/osgimapping/ocd/OsgiEventMappingConfig.java

```
@AttributeDefinition(name = "Allow OSGI Application Events",
description = "true/false to allow or disallow application triggered osgi events")
String osgi_allow_application_events() default false;
```

and refactor https://github.com/adobe/aio-lib-java/blob/main/aem/events_osgi_mapping/src/main/java/com/adobe/aio/aem/event/osgimapping/eventhandler/AdobeIoEventHandler.java#L69

to take the above new conf into consideration

Contributor guide

Open the contributing guide

Research direction

Start with OsgiEventMappingConfig.java to understand the existing configuration pattern, then inspect AdobeIoEventHandler.java around line 69 where application-triggered OSGI events are handled. Add the configuration value and verify that the handler allows or disallows application events according to it.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.