[ 
http://jira.amdatu.org/jira/browse/AMDATU-556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12684#comment-12684
 ] 

Bram de Kruijff commented on AMDATU-556:
----------------------------------------

Note on ConfigurationAdmin scoping that I ran into under AMDATU-558

The ConfigurationAdmin has a custom scoping filter that falls back to 
(!(tenant.pid=*)). In a MT scenario this results in tenant instances of 
ConfigurationAdmin seeing the tenant factory. 

In the branch I resolved this with these fixes:

1) Remove the fallback 
https://bitbucket.org/amdatu/amdatu-platform/changeset/0873acb85093

2) Add tenant.pid=platform to the tenant factory ManagedService
https://bitbucket.org/amdatu/amdatu-platform/changeset/0fafc63b717f
                
> Remove reference to web in TenantAdapter
> ----------------------------------------
>
>                 Key: AMDATU-556
>                 URL: http://jira.amdatu.org/jira/browse/AMDATU-556
>             Project: Amdatu
>          Issue Type: Sub-task
>          Components: Amdatu Core
>            Reporter: Marcel Offermans
>            Assignee: Jan Willem Janssen
>             Fix For: Sprint 5
>
>
> TenantAdapter has the following method:
> {code}
>     protected String getTenantFilter() {
>         return "(|(objectClass=org.amdatu.web.rest.jaxrs.JaxRsSpi)"
>             + "(objectClass=org.osgi.service.log.LogService)("
>             + PID_KEY + "=" + getTenantPID() + "))";
>     }
> {code}
> I don't understand why a tenant filter must contain a hardcoded reference to 
> some amdatu web service. If we need a mechanism to work around a bug, then at 
> least we should generalize the fix to be broader than just JAX-RS. Quite 
> frankly, I still hope we find a better solution.
> Second thing: Why does it make a specific exception for LogService? This 
> states that you never want to make LogService tenant specific, which is a 
> choice we should not make for our users.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to