Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:Data
-
HD-Enabler:Cosmos
Description
Dear FIWARE coach,
we forward you a support request received from a CreatiFI applicant we are
not able to solve.
Please let us know if you need direct contact with the submitter.
Thanks.
******************************
Dear,
I guess this ticket should be addressed to Cygnus Connector GE developers.
I am testing the "subscription-notification" mechanism of NGSI and I
noticed that Cygnus Connector accepts only notifications that have
User-Agent http header set to "orion/x.y.z". This forces all NGSI-like
sources to be only instances of Orion Context Broker.
I am using Data Handling EspR4FastData GE and it is compliant with the NGSI
"subscription-notification"; i.e. I can create a subscription and indicate
the address of the Cygnus connector as the end point for the notification.
The problem is that Data Handling sends the notification using a standard
"mozilla/5.0" user-agent that is refused by Cygnus, see trace below:
*2015-05-25 08:37:40,437 (1535676062@qtp-62688637-20) [INFO -
es.tid.fiware.fiwareconnectors.cygnus.handlers.OrionRestHandler.getEvents(OrionRestHandler.java:153)]
Starting transaction (1432538977-399-0000000053)2015-05-25 08:37:40,437
(1535676062@qtp-62688637-20) [WARN -
es.tid.fiware.fiwareconnectors.cygnus.handlers.OrionRestHandler.getEvents(OrionRestHandler.java:183)]
Bad HTTP notification (mozilla/5.0 user agent not supported)2015-05-25
08:37:40,437 (1535676062@qtp-62688637-20) [WARN -
org.apache.flume.source.http.HTTPSource$FlumeHTTPServlet.doPost(HTTPSource.java:186)]
Received bad request from client.*
My question is: is there a way to configure Cygnus to accept a non-Orion
user-agent?
******************************
_______________________________________________
Fiware-creatifi-coaching mailing list
Fiware-creatifi-coaching@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-creatifi-coaching
[Created via e-mail received from: Andrea Maestrini <amaestrini@create-net.org>]
Issue Links
- relates to
-
HELC-771 FIWARE.Request.Coach.CreatiFI.Cygnus connector and user-agent filtered by "orion.." content (Publish/Subscribe Context Broker - Orion Context Broker GE)
- Closed
Assignee before migration = Francisco Romero