Skip to content

Conversation

@AlvaroVega
Copy link
Member

@AlvaroVega AlvaroVega commented Nov 18, 2020

[cygnus-ngsi][NameMapping] Allow deep Json attribute mapping. #1856

Comes from #1979
Contributed from #1860

Take into account that namemapping has been improved since 1.8.3 and this code was designed for 1.8.3

@AlvaroVega AlvaroVega changed the title Allow deep Json attribute mapping by Stdr [WIP] Allow deep Json attribute mapping by Stdr Nov 18, 2020
@AlvaroVega AlvaroVega changed the title [WIP] Allow deep Json attribute mapping by Stdr Allow deep Json attribute mapping by Stdr Nov 20, 2020
+ " \"servicePathMappings\": ["
+ " {"
+ " \"originalServicePath\": \"/.*\","
+ " \"newServicePath\": \"/new_default\","
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see some little adaptations of existing test files, which I understand are not covering the new functionality.

Thus, maybe some additional test should be added to cover the new functionality?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @fgalan

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then @joelcamus please, could you provide some tests to cover new functionality ?

@AlvaroVega AlvaroVega changed the title Allow deep Json attribute mapping by Stdr [Waiting for tests] Allow deep Json attribute mapping by Stdr Jan 14, 2021
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

Successfully merging this pull request may close these issues.

5 participants