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

[NGSIMongoSink, NGSISTHSink] Fix collection building when data_model=dm-by-service-path #977

Closed
frbattid opened this issue Apr 28, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@frbattid
Copy link
Member

case DMBYSERVICEPATH:
                if (fiwareServicePath.equals("/")) {
                    throw new CygnusBadConfiguration("Default service path '/' cannot be used with "
                            + "dm-by-service-path data model");
                } // if

                collectionName = NGSIUtils.encodeSTHCollection(fiwareServicePath);
                break;

The if part is not necessary.

@frbattid frbattid self-assigned this Apr 28, 2016
@frbattid frbattid added this to the release/0.14.0 milestone Apr 28, 2016
@frbattid
Copy link
Member Author

Fixed in PR #979

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

No branches or pull requests

1 participant