[ https://jira.fiware.org/browse/HELP-16139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fernando Lopez updated HELP-16139: ---------------------------------- Description: Created question in FIWARE Q/A platform on 05-09-2019 at 11:09 {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/57802922/fiware-cygnus-change-service-for-only-some-entities-with-name-mappings +Question:+ Fiware Cygnus - Change service for only some entities with name mappings? +Description:+ Context : I have a machine with Orion Context Broker, Cygnus and Ckan. I have 3 entities (sensor1, sensor2, sensor3) and I use name mappings for these three entities to write in a single Ckan datastore named sensors. So far everything works. What I want : These 3 entities are in the fiware-service default and I want them to write in the fiware-service paris (the paris organization in Ckan) Question : How to make the name mapping change the default fiware-service of these 3 entities into paris, without changing it for all entities? What I tried : I tried this, the problem with this code is that all entities of the fiware-service default are moved to the fiware-service paris, not just my trhee entities. { "serviceMappings": [ { "originalService": "default", "newService": "paris", "servicePathMappings": [ { "originalServicePath": "/", "entityMappings": [ { "originalEntityId": "sensor1", "originalEntityType": "device", "newEntityId": "sensors", "attributeMappings": [] }, { "originalEntityId": "sensor2", "originalEntityType": "device", "newEntityId": "sensors", "attributeMappings": [] }, { "originalEntityId": "sensor3", "originalEntityType": "device", "newEntityId": "sensors", "attributeMappings": [] } ] } ] } ] } was: Created question in FIWARE Q/A platform on 05-09-2019 at 11:09 {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/57802922/fiware-cygnus-change-service-for-only-some-entities-with-name-mappings +Question:+ Fiware Cygnus - Change service for only some entities with name mappings? +Description:+ Context : I have a machine with Orion Context Broker, Cygnus and Ckan. I have 3 entities (sensor1, sensor2, sensor3) and I use name mappings for these three entities to write in a single Ckan datastore named sensors. So far everything works. What I want : These 3 entities are in the fiware-service default and I want them to write in the fiware-service paris (the paris organization in Ckan) Question : How to make the name mapping change the default fiware-service of these 3 entities into paris, without changing it for all entities? What I tried : I tried this, the problem with this code is that all entities of the fiware-service default are moved to the fiware-service paris, not just my trhee entities. { "serviceMappings": [ { "originalService": "default", "newService": "paris", "servicePathMappings": [ { "originalServicePath": "/", "entityMappings": [ { "originalEntityId": "sensor1", "originalEntityType": "device", "newEntityId": "sensors", "attributeMappings": [] }, { "originalEntityId": "sensor2", "originalEntityType": "device", "newEntityId": "sensors", "attributeMappings": [] }, { "originalEntityId": "sensor3", "originalEntityType": "device", "newEntityId": "sensors", "attributeMappings": [] } ] } ] } ] } HD-Enabler: Cygnus > [fiware-stackoverflow] Fiware Cygnus - Change service for only some entities with name mappings? > ------------------------------------------------------------------------------------------------ > > Key: HELP-16139 > URL: https://jira.fiware.org/browse/HELP-16139 > Project: Help-Desk > Issue Type: Monitor > Components: FIWARE-TECH-HELP > Reporter: Backlog Manager > Labels: ckan, fiware, fiware-cygnus, fiware-orion > > Created question in FIWARE Q/A platform on 05-09-2019 at 11:09 > {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/57802922/fiware-cygnus-change-service-for-only-some-entities-with-name-mappings > +Question:+ > Fiware Cygnus - Change service for only some entities with name mappings? > +Description:+ > Context : > I have a machine with Orion Context Broker, Cygnus and Ckan. I have 3 entities (sensor1, sensor2, sensor3) and I use name mappings for these three entities to write in a single Ckan datastore named sensors. So far everything works. > What I want : > These 3 entities are in the fiware-service default and I want them to write in the fiware-service paris (the paris organization in Ckan) > Question : > How to make the name mapping change the default fiware-service of these 3 entities into paris, without changing it for all entities? > What I tried : > I tried this, the problem with this code is that all entities of the fiware-service default are moved to the fiware-service paris, not just my trhee entities. > { > "serviceMappings": [ > { > "originalService": "default", > "newService": "paris", > "servicePathMappings": [ > { > "originalServicePath": "/", > "entityMappings": [ > { > "originalEntityId": "sensor1", > "originalEntityType": "device", > "newEntityId": "sensors", > "attributeMappings": [] > }, > { > "originalEntityId": "sensor2", > "originalEntityType": "device", > "newEntityId": "sensors", > "attributeMappings": [] > }, > { > "originalEntityId": "sensor3", > "originalEntityType": "device", > "newEntityId": "sensors", > "attributeMappings": [] > } > ] > } > ] > } > ] > } -- This message was sent by Atlassian JIRA (v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy