Comments (3)
Hi, can you be more specific about "only one of the two connectors can be registered at any given time." Do the connectors have different IDs? If both connectors have different IDs then they are both visible.
What means "somehow are interconnected to each other"? What is the behavior you observe?
from mobility-data-space.
Hi,
The two connectors do have different ids, but are being running from a same machine sharing the same IP address.
What I mean by interconnected connector is that, lets say that I have a connector registered at the broker, now i can deregister this connector from the broker using the secondary connector
connector descriptions
1.
{'@context': {'ids': 'https://w3id.org/idsa/core/',
'idsc': 'https://w3id.org/idsa/code/'},
'@type': 'ids:BaseConnector',
'@id': 'https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea',
'ids:description': [{'@value': 'IDS Connector by ',
'@type': 'http://www.w3.org/2001/XMLSchema#string'}],
'ids:version': '@project.version@',
'ids:publicKey': {'@type': 'ids:PublicKey',
'@id': 'https://w3id.org/idsa/autogen/publicKey/78eb73a3-3a2a-4626-a0ff-631ab50a00f9',
'ids:keyType': {'@id': 'https://w3id.org/idsa/code/RSA'},
'ids:keyValue': ''
'ids:hasDefaultEndpoint': {'@type': 'ids:ConnectorEndpoint',
'@id': 'https://w3id.org/idsa/autogen/connectorEndpoint/e5e2ab04-633a-44b9-87d9-a097ae6da3cf',
'ids:accessURL': {'@id': 'https://ids.urbanpulse.de/api/ids/data'},
'ids:endpointDocumentation': [],
'ids:endpointInformation': []},
'ids:hasEndpoint': [],
'ids:resourceCatalog': [{'@type': 'ids:ResourceCatalog',
'@id': 'http://ids.urbanpulse.de/api/catalogs/41da1009-306e-4c84-baa7-caaaf9150552',
'ids:requestedResource': [],
'ids:offeredResource': []}],
'ids:hasAgent': [],
'ids:securityProfile': {'@id': 'https://w3id.org/idsa/code/BASE_SECURITY_PROFILE'},
'ids:maintainer': {'@id': },
'ids:extendedGuarantee': [],
'ids:curator': {'@id':},
'ids:inboundModelVersion': ['4.2.0', '4.1.2', '4.0.0', '4.1.0'],
'ids:title': [{'@value': 'Dataspace Connector',
'@type': 'http://www.w3.org/2001/XMLSchema#string'}],
'ids:outboundModelVersion': '4.2.0'}
{'@context': {'ids': 'https://w3id.org/idsa/core/',
'idsc': 'https://w3id.org/idsa/code/'},
'@type': 'ids:BaseConnector',
'@id': 'https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea',
'ids:description': [{'@value': 'MRN IDS Connector',
'@type': 'http://www.w3.org/2001/XMLSchema#string'}],
'ids:version': '@project.version@',
'ids:publicKey': {'@type': 'ids:PublicKey',
'@id': 'https://w3id.org/idsa/autogen/publicKey/78eb73a3-3a2a-4626-a0ff-631ab50a00f9',
'ids:keyType': {'@id': 'https://w3id.org/idsa/code/RSA'},
'ids:keyValue': ''
'ids:hasDefaultEndpoint': {'@type': 'ids:ConnectorEndpoint',
'@id': 'https://w3id.org/idsa/autogen/connectorEndpoint/e5e2ab04-633a-44b9-87d9-a097ae6da3cf',
'ids:accessURL': {'@id': 'https://mrn-ids.urbanpulse.de/api/ids/data'},
'ids:endpointDocumentation': [],
'ids:endpointInformation': []},
'ids:hasEndpoint': [],
'ids:resourceCatalog': [],
'ids:hasAgent': [],
'ids:securityProfile': {'@id': 'https://w3id.org/idsa/code/BASE_SECURITY_PROFILE'},
'ids:maintainer': {'@id'},
'ids:extendedGuarantee': [],
'ids:curator': {'@id,
'ids:inboundModelVersion': ['4.2.0', '4.1.2', '4.0.0', '4.1.0'],
'ids:title': [{'@value': 'Dataspace Connector',
'@type': 'http://www.w3.org/2001/XMLSchema#string'}],
'ids:outboundModelVersion': '4.2.0'}
from mobility-data-space.
Hi,
Resolved the issue by creating a different connectorId
I was expecting it to be automatically created, but in the test env we can assign any accepted value.
we managed to do it in python using uuid and md5 library. below are the steps we followed
- Create a a new connector id
import uuid
import hashlib
m = hashlib.md5()
m.update(connector_name.encode('utf-8'))
connectorId = str(uuid.UUID(m.hexdigest()))
- update the config.json file with the newly created connectorId
from mobility-data-space.
Related Issues (11)
- INTERNAL_RECIPIENT_ERROR when trying to register a resource with DSC 6 at the Test Broker HOT 1
- Empty Broker index HOT 3
- Wrong access url for resources at the Broker HOT 1
- Resource registration HOT 2
- Extension of the string length for the Connector Description up to 1000 characters HOT 2
- Authentication in the IDS Connector should be Configurable HOT 1
- Duplicated element sub:FuelPrice HOT 1
- Clearing House returns 404 Error HOT 4
- Demo data in live catalog
- Fraunhofer IVI Connector empty page on Test Broker HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobility-data-space.