Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

namemapping API is not retrieving all namemapping elements #2154

Open
AlvaroVega opened this issue Apr 27, 2022 · 2 comments
Open

namemapping API is not retrieving all namemapping elements #2154

AlvaroVega opened this issue Apr 27, 2022 · 2 comments

Comments

@AlvaroVega
Copy link
Member

namemapping API is not retrieving all elements

curl http://localhost:5111/v1/namemappings

@kumardeepak5
Copy link
Contributor

kumardeepak5 commented May 27, 2024

Hi @AlvaroVega ,
I have tried with API [Name Mapping] and it is returning complete information as expected.

below is the content of name-mappings.conf file

{ "serviceMappings": [ { "originalService": "mysqlservice", "newService": "mysqlservice_new", "servicePathMappings": [ { "originalServicePath": "/mysqlservicepath", "newServicePath": "/mysqlservice_new", "entityMappings": [ { "originalEntityId": "Room2", "originalEntityType": "Room", "newEntityId": "Room2_new", "newEntityType": "Room_new", "attributeMappings": [ { "originalAttributeName": "temperature", "originalAttributeType": "Float", "newAttributeName": "temperature_new", "newAttributeType": "string" } ] } ] } ] } ] }

and response I am getting from http://{host}:{port}/v1/namemappings -

{ "success": "true", "result": { "serviceMappings": [ { "originalService": "mysqlservice", "newService": "mysqlservice_new", "servicePathMappings": [ { "originalServicePath": "/mysqlservicepath", "newServicePath": "/mysqlservice_new", "entityMappings": [ { "originalEntityId": "Room2", "originalEntityType": "Room", "newEntityId": "Room2_new", "newEntityType": "Room_new", "attributeMappings": [ { "originalAttributeName": "temperature", "originalAttributeType": "Float", "newAttributeName": "temperature_new", "newAttributeType": "string" } ] } ] } ] } ] } }

Is there any specific case where API [Name Mapping] returning partial information?
please let me know replication steps for same.

Thanks

@fgalan
Copy link
Member

fgalan commented May 27, 2024

At the present moment, we are not prioritizing namemapping related issues. I'd suggest you to analyse another issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants