[
https://issues.apache.org/jira/browse/OAK-6766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17824434#comment-17824434
]
Manfred Baedke edited comment on OAK-6766 at 3/21/24 9:45 AM:
--------------------------------------------------------------
https://github.com/jsedding/osgi-ds-metatype-diff gives:
{code}
org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService
Declarative Services
References
statisticsProvider
- bind = bindStatisticsProvider (String)
- unbind = unbindStatisticsProvider (String)
+ field = statisticsProvider (String)
+ field-option = replace (String)
checkpointMBean
- bind = bindCheckpointMBean (String)
- unbind = unbindCheckpointMBean (String)
+ field = checkpointMBean (String)
+ field-option = replace (String)
asyncIndexInfoService
- bind = bindAsyncIndexInfoService (String)
- unbind = unbindAsyncIndexInfoService (String)
+ field = asyncIndexInfoService (String)
+ field-option = replace (String)
indexPathService
- bind = bindIndexPathService (String)
- unbind = unbindIndexPathService (String)
+ field = indexPathService (String)
+ field-option = replace (String)
nodeStore
- bind = bindNodeStore (String)
- unbind = unbindNodeStore (String)
+ field = nodeStore (String)
+ field-option = replace (String)
nodeAggregator
- bind = bindNodeAggregator (String)
- unbind = unbindNodeAggregator (String)
+ field = nodeAggregator (String)
+ field-option = replace (String)
mountInfoProvider
- bind = bindMountInfoProvider (String)
- unbind = unbindMountInfoProvider (String)
+ field = mountInfoProvider (String)
+ field-option = replace (String)
extractedTextProvider
- bind = bindExtractedTextProvider (String)
- unbind = unbindExtractedTextProvider (String)
+ field = extractedTextProvider (String)
+ field-option = replace (String)
augmentorFactory
- bind = bindAugmentorFactory (String)
- unbind = unbindAugmentorFactory (String)
+ field = augmentorFactory (String)
+ field-option = replace (String)
blobStore
- bind = bindBlobStore (String)
- unbind = unbindBlobStore (String)
+ field = blobStore (String)
+ field-option = replace (String)
MetaType
Attributes
- namespace = http://www.osgi.org/xmlns/metatype/v1.0.0 (String)
+ namespace = http://www.osgi.org/xmlns/metatype/v1.2.0 (String)
ObjectClassDefinitions
org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService
- description = Description for
org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService
(String)
+ description = (String)
Attribute Definitions
enableCopyOnReadSupport
+ id = enableCopyOnReadSupport (String)
+ name = Enable copy on read support (String)
+ type = 11 (Integer)
+ cardinality = 0 (Integer)
+ defaultValue = [true] (String[])
+ optionLabels = [] (String[])
+ optionValues = [] (String[])
enableCopyOnWriteSupport
+ id = enableCopyOnWriteSupport (String)
+ name = Enable copy on write support (String)
+ type = 11 (Integer)
+ cardinality = 0 (Integer)
+ defaultValue = [true] (String[])
+ optionLabels = [] (String[])
+ optionValues = [] (String[])
{code}
which is looking fine.
We have two new attribute definitions, because two component properties
(declared in the Felix component annotation) have been replaced with
unannotated methods of the Component Property Type.
was (Author: baedke):
https://github.com/jsedding/osgi-ds-metatype-diff gives:
{code}
org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService
Declarative Services
References
statisticsProvider
- bind = bindStatisticsProvider (String)
- unbind = unbindStatisticsProvider (String)
+ field = statisticsProvider (String)
+ field-option = replace (String)
checkpointMBean
- bind = bindCheckpointMBean (String)
- unbind = unbindCheckpointMBean (String)
+ field = checkpointMBean (String)
+ field-option = replace (String)
asyncIndexInfoService
- bind = bindAsyncIndexInfoService (String)
- unbind = unbindAsyncIndexInfoService (String)
+ field = asyncIndexInfoService (String)
+ field-option = replace (String)
indexPathService
- bind = bindIndexPathService (String)
- unbind = unbindIndexPathService (String)
+ field = indexPathService (String)
+ field-option = replace (String)
nodeStore
- bind = bindNodeStore (String)
- unbind = unbindNodeStore (String)
+ field = nodeStore (String)
+ field-option = replace (String)
nodeAggregator
- bind = bindNodeAggregator (String)
- unbind = unbindNodeAggregator (String)
+ field = nodeAggregator (String)
+ field-option = replace (String)
mountInfoProvider
- bind = bindMountInfoProvider (String)
- unbind = unbindMountInfoProvider (String)
+ field = mountInfoProvider (String)
+ field-option = replace (String)
extractedTextProvider
- bind = bindExtractedTextProvider (String)
- unbind = unbindExtractedTextProvider (String)
+ field = extractedTextProvider (String)
+ field-option = replace (String)
augmentorFactory
- bind = bindAugmentorFactory (String)
- unbind = unbindAugmentorFactory (String)
+ field = augmentorFactory (String)
+ field-option = replace (String)
blobStore
- bind = bindBlobStore (String)
- unbind = unbindBlobStore (String)
+ field = blobStore (String)
+ field-option = replace (String)
MetaType
Attributes
- namespace = http://www.osgi.org/xmlns/metatype/v1.0.0 (String)
+ namespace = http://www.osgi.org/xmlns/metatype/v1.2.0 (String)
ObjectClassDefinitions
org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService
- description = Description for
org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService
(String)
+ description = (String)
Attribute Definitions
enableCopyOnReadSupport
+ id = enableCopyOnReadSupport (String)
+ name = Enable copy on read support (String)
+ type = 11 (Integer)
+ cardinality = 0 (Integer)
+ defaultValue = [true] (String[])
+ optionLabels = [] (String[])
+ optionValues = [] (String[])
enableCopyOnWriteSupport
+ id = enableCopyOnWriteSupport (String)
+ name = Enable copy on write support (String)
+ type = 11 (Integer)
+ cardinality = 0 (Integer)
+ defaultValue = [true] (String[])
+ optionLabels = [] (String[])
+ optionValues = [] (String[])
{code}
which is looking fine.
> Convert oak-lucene to OSGi R7 annotations
> -----------------------------------------
>
> Key: OAK-6766
> URL: https://issues.apache.org/jira/browse/OAK-6766
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: lucene
> Reporter: Robert Munteanu
> Assignee: Manfred Baedke
> Priority: Major
> Attachments: LuceneIndexProvider-ConfigUI-new.png,
> LuceneIndexProvider-ConfigUI-old.png
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)