-
Notifications
You must be signed in to change notification settings - Fork 21
Conversation
a part is added to the update method in the EventSinkListener where the provider URI containing the service and servicePath is retrieved through the epServiceProvider interface and then the service and the servicePath are added to the headers of the EventOut request
@marcc-orange |
I'm sorry, but this spliting of the service provider URL is not the proper way to add serviceName/Path to the You submission is removing the serviceName/Path set by the Broker at configuration level (this is why tests are broken). You mentioned in your issue #64 that multi-tenancy was not working for you. I expected a fix concerning the multi-tenancy code, not a modification of the way the serviceName/Path are retrieved from the current configuration. Currently, the updateContext will be sent to each Broker set in the configuration. |
@marcc-orange So we wanted a way to make the CEP outputs a request with the same service and servicePath of the incoming request and not the service and servicepath set in the brokers section in the last uploaded config file . we know it's not the best practice but it will forward the request with service and servicePath of the right configuration and make us avoid being stuck with the service and servicePath in only the last uploaded config file . |
You certainly found a bug in the multi-tenancy code, but sorry I have no time to try to reproduce it and fix it. Your proposed solution is not the fix to a multi tenancy error. You can see from the absence of tests in /cepheus-cep/src/test/java/com/orange/cepheus/cep/tenant that the multi-tenancy and complete lack of documentation that it is untested feature. I would be very glad if you could provide a real fix to the issue and not a workaround that impacts the "normal" usage of the CEP and the current test suite. |
No description provided.