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

Issue with model repository in Eclipse #1044

Closed
Philago opened this issue Aug 21, 2018 · 12 comments
Closed

Issue with model repository in Eclipse #1044

Philago opened this issue Aug 21, 2018 · 12 comments
Labels

Comments

@Philago
Copy link

Philago commented Aug 21, 2018

Hello,

I used to be able to search the vorto model repository from the vorto plug-in in Eclipse (Oxygen 3A), but not anymore. Now I hit the error message that follows:

"Please make sure that the URL to the repository is entered correctly in your Eclipse Settings (Window -> Preferences -> Vorto -> Information Model Repository)"

I did not change the URL I have and the URL seems fine : http://vorto.eclipse.org

Does someone what is happening ?

Thanks !

Philippe

@aedelmann
Copy link
Contributor

Hi Philippe,
the REST API of the Repository has changed and the current Repository Sandbox vorto.eclipse.org has already been upgraded using the new REST - API. The Eclipse Tool set, on the other hand, is not changed to it. In fact, we froze the further development of the eclipse toolset and would encourage you to create models directly from the Vorto Repository.

@Philago
Copy link
Author

Philago commented Aug 21, 2018

Hello, thank you for your quick answer

So in the vorto repository, as soon as I create models, are they viewable by everyone? Or can I work on them on my side and keep them "private" and then submit them to the community later ?

Thanks

@aedelmann
Copy link
Contributor

The models u create in the repository will be in draft mode and visible for all authenticated users. But only you as the model owner is allowed to edit it. Once you think your model is completed you can release the model which will then be reviewed by us and made visible for everybody including anonymous users.

@aedelmann
Copy link
Contributor

Hi @Philago.
We are working on the feature, that a draft model is by default "private" and only visible by the specific model owner. However this is a rather big change and would not be available so soon, probably towards the end of the year.
In the meantime, as an interim solution, I can offer to provide a docker image of the repository so you can easily set up your own local version of the repository and create models via the web editor.
Would that help you ?

Cheers, Alex

@Philago
Copy link
Author

Philago commented Aug 28, 2018

Hello @aedelmann,

Thank you very much for your message !

The "private" option would be great.

We already went for the docker image (https://hub.docker.com/r/eclipsevorto/vorto-repo/) to keep working. We haven't finished to set it up yet. The docker image is 1 year old, maybe you have a newer docker image ? By the way, is there a way to keep working with the Eclipse module (which we found conveniant) with a docker image ? Maybe with a docker image of the repository before the update on the interface ?

Thank you

Philippe

@aedelmann
Copy link
Contributor

aedelmann commented Aug 30, 2018

Hi @Philago

  1. Sadly we do not have a newer version yet. We excluded automated docker image creation from our build pipeline coz we were facing problems. I created a separate issue for that: Provide docker image on docker-hub for easy Repository Setup  #1047
  2. The image that you have will most likely work with the "old" Eclipse plugins. You might wanna give that a go. May I ask why u found the Eclipse plugins more convenient ?

@Philago
Copy link
Author

Philago commented Aug 30, 2018

Hello @aedelmann,

thank you for your answers.

We found the Eclipse plugin conveniant because we can work on our models (based on IPSO models or new models we create) on our side if we want to, its just a "drag and drop" to add a model to our model and we can put the Eclipse project on a repository in our version control system, so that several people can work on the models at the same time

Philippe

@Philago
Copy link
Author

Philago commented Aug 30, 2018

Hello @aedelmann,

we set up the docker image and can access to a local vorto repository, however, the repository is empty

Have we done something wrong ? Or the repository is empty on the docker image on this link : https://hub.docker.com/r/eclipsevorto/vorto-repo/ ?

Thanks

Philippe

@aedelmann
Copy link
Contributor

Yes. You would need to add models to it first.

@Ebolon
Copy link
Contributor

Ebolon commented Sep 1, 2018

I have forked the Vorto Eclipse Toolset and adapted it to the new API. You can find the code here: vorto-eclipse-plugin Perhaps it might help you for the moment.

@Philago
Copy link
Author

Philago commented Sep 6, 2018

Hello @Ebolon,

Thank you for the update of the plugin !

It's working on our side, we can use the plugin with the new interface as well. However we encountered issues with the installation of the plugin, so we put directly the files in the drop in directory of Eclipse

Be carreful, the mappings are excluded from the search in your plugin, we had to add them.

Thanks again

Philippe

@aedelmann
Copy link
Contributor

Closing issue, as it seems to be resolved. Please re-open otherwise.

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

3 participants