-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add Configurations with MetaType and Component References Support #387
Comments
Hi @stbischof, Thanks a lot for your feature requests. Some of the features you mentioned, I believe, already exist as of now. The
After the configuration is created, if the configuration has an associated metatype descriptor, the corresponding entry in the If you have a factory configuration with metatype, you will see the factory PID listed in a row in the Also note that, you can create a configuration based on the cardinality of the attribute definition as well. For your last proposal, I would need a little bit more clarifications to understand it properly.
Eagerly looking forward to your further support. |
this seems not work at my installation. will investigate I would like to this feature when adding a new Configuration (same as when update later)
|
In OSGi.fx application, you can go to These are the the metatype entries that have no bound location - that is, no configuration has been created yet. If you expand one of the entries, you can see that it shows you the metatype attribute names, descriptions, default values and the proper controls based on the metatype attribute definition type. It also takes care of the cardinality - that means, if you have an attribute with multiple cardinality - it will let you add multiple values to it. On the other hand, the one you showed in the previous comment (OSGi.fx -> Actions -> Add New Configuration) is meant only for creating a simple ConfigurationAdmin configuration which supports the basic OSGi DTO types, otherwise, it will be really very complex for enabling any custom types. In terms of |
After thinking about it, I strongly believe, I should add a respective section after expnding the entry of the configuration in |
Ah I wasn't able to add a config and could not see the any item in the configs view. but good to know |
@stbischof Probably the metatype bundle is not wired to OSGi.fx agent bundle as the metatype package is optionally imported to ensure that without metatype, it should also work. |
now i can see it. not change the setup since yesterday. meta ans scr had been thew re. but thx now i can see that most was there |
Is your feature request related to a problem? Please describe.
I would like to like to add and edit a Configuration with more ui support. The current ui allows to add key value pairs with an Type. To a defines Config or Factory Pid. ther is so UI support on finding PIDs or configurable properties-
Describe the solution you'd like
I would like to have additional:
The filter expression (ldap) allows to filter concrete services by their service-properties. e.g. '(prop1=foo)' or '(&(prop1=foo)(!(prop2=bar)))', it is common to filter on service-pid with '(service.pid=the.pid.of.Service.e3133f18-4143-48af-be7e-526a4ada2fd0)'. In special cases a filter could avoid that any service is filtered using '(&(must.not.resolve=*)(!(must.not.resolve=*)))'.
Describe alternatives you've considered
nope
Additional context
example how it looks in Felix web-console then defining target filter as metatype ( not the best way)
The text was updated successfully, but these errors were encountered: