-
Notifications
You must be signed in to change notification settings - Fork 414
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
OAK-6772: Convert oak-solr-core to OSGi R7 annotations #1365
base: trunk
Are you sure you want to change the base?
Conversation
Restored property default values.
Removed redundant type conversions. Replaced component properties with configuration type methods. Fixed property names.
collapseJcrContentNodes = Boolean.valueOf(String.valueOf(componentContext.getProperties().get(COLLAPSE_JCR_CONTENT_NODES))); | ||
collapseJcrContentParents = Boolean.valueOf(String.valueOf(componentContext.getProperties().get(COLLAPSE_JCR_CONTENT_PARENTS))); | ||
protected void activate(Configuration configuration) { | ||
pathChildrenFieldName = configuration.path_child_field(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would remove this indirection, just store the object
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Imho hat would need a new Jira issue.
String solr_conf_dir() default SolrServerConfigurationDefaults.CONFIGURATION_DIRECTORY; | ||
|
||
String name() default "remote"; | ||
} | ||
|
||
private String solrHttpUrl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would remove all fields except for remoteSolrServerConfiguration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is also not in the scope of OAK-6772, is it?
No description provided.