-
Notifications
You must be signed in to change notification settings - Fork 106
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
List of Vorto Function Blocks in Info Model Creation wizard shows all released Function Blocks #2137
Comments
Side note:
|
Thanks for the thorough specs on this one @aedelmann . Taking this for myself and starting soon. |
"starting soon" --> actually this bears waiting for the search feature to be merged, so we can leverage the full tags. |
@mena-bosch You are right. I will merge your PR, once all the checks are done :) |
Cool. I had to push again just now because I stupidly left one of the two malformed links out, but am hoping this is the last bit. After that, the one thing we may want to do is to recreate the index on the dev machine first, to verify it works as expected. |
Good point: Can we add this to the migration guide 0.12.x -> 1.0 ? |
@aedelmann Thanks for mentioning this. Having a look at the existing 0.11 guide now. I will probably have questions for you e.g. tomorrow. |
@aedelmann nearly done here. Suspect we eliminate the other endpoint ("/public") too, and therefore the entire the controller, so that public models for tenant are also directly searched from angular. As I recall, tenant == namespace so I'd just need to call the search with 'namespace:'+tenant.defaultNamespace+'visibility:public' in angular. I would rather do this in a new task for cleanliness, assuming you agree with the reasoning above. |
Agreed :) |
Geez you're still up?! 💪 |
Hi @mena-bosch |
@aedelmann did you re-create the index before testing? |
@aedelmann looks like my search criteria was exactly following the requirements in the description, i.e. state:Released namespace:org.eclipse.vorto.* . As expected, that would only load namespaces from vorto that have a sub-package. Will fix that shortly and replace with state:Released namespace:org.eclipse.vorto |
Btw you might be able to test this in the meantime, by intercepting and tampering with the request. But it won't take long to fix. |
PR for fix here. |
Task for fix here |
I think this is fixed now in the dev machine. @aedelmann let me know if we can close this. |
@mena-bosch |
Steps:
2.1) In Semantic Abstract dialog, open the drop down of Function Blocks
Expected: Only released Function Blocks of namespace 'org.eclipse.vorto.*' are displayed and selectable
Actual: List displays released Function Blocks of any namespace
The text was updated successfully, but these errors were encountered: