OpenTOSCA / opentosca-docker

Docker Compose for running OpenTOSCA
MIT License
26 stars 18 forks source link

Winery Issue #9

Closed oabuoun1 closed 6 years ago

oabuoun1 commented 7 years ago

Hi,

I followed the steps in the new readme (one step : docker-compose up) and Opentosca is running on my machine, here are my notes (I'm not sure whether they should be like this or there is an issue):

1- In the administration page of the UI (http://localhost:8088), the Repository API (in red) is: http://stable.winery.opentosca.org/winery/servicetemplates/, in which it doesn't exist (Error 404), I tried to change the url to: http://stable.winery.opentosca.org/servicetemplates/ and it worked (green) but whenever I refresh the repositories, it will get back to the old non-working URL.

2- The local winery http://localhost:8090/servicetemplates/ gives an empty page (there are only open/closed brackets []), I expected to find a web page just similar to the one on the link http://stable.winery.opentosca.org/servicetemplates/, anyway when I change the repository API to this URL, the field turns into green color.

3- I tried to apply the moodle example (I found it here on http://www.opentosca.org/documents/InstallationGuide.pdf slide 25) but the link to the CSAR is broken and it looks like that this is for v1.1 UPDATE: Regarding No. 3, I found the moodle CSAR on another URL http://www.iaas.uni-stuttgart.de/OpenTOSCA/CSARMoodle/Moodle.csar

Thanks in advance Regards

koppor commented 7 years ago

Thank you for the report:

1 - fixed (it was risen due to a fix for https://github.com/OpenTOSCA/opentosca-docker/issues/7). Please try again 2 - this indicates, the API is serving and not the UI - fixed - please try again 3 - in the progress of fixing (refs #7). If your DNS update is fast, it should work. Otherwise, please try http://files.opentosca.de.s3-website.eu-central-1.amazonaws.com/v1.1/CSARs/Moodle.csar meanwhile.

miwurster commented 7 years ago

Additions for (1) and (2), you have to execute a docker-compose pull in order to download the latest images from Docker Hub ;-)

oabuoun1 commented 7 years ago

Thanks for your prompt responses :) I pulled the new containers and run openTosca

Now I have more points to add :)

Thanks in advance Best Regards

oabuoun1 commented 7 years ago

Hi, I pulled the new images, No. 4 is fixed, thanks. Could you please help for the rest ?

Thanks in advance

koppor commented 7 years ago

I added checkboxes (- [ ]) to enable easier following of your different issues. This way we can track what is solved and what is still open.

koppor commented 7 years ago

7 - according to https://github.com/OpenTOSCA/opentosca-docker/blob/master/README.md, this is really the Container API, so 7 is solved.

koppor commented 7 years ago

6 - according to https://github.com/OpenTOSCA/opentosca-docker/blob/master/README.md, this is really the repository of the container. The repository of the container is winery. So 6 is solved.

koppor commented 7 years ago

5 - the default settings of the UI are to use the global marked place, which is stable.winery.opentosca.org, so this is as expected. Solved.

koppor commented 7 years ago

2a - Please do not mix up Winery's UI with Winery's API (and backend). We separated the UI from the backend and now, they have two different URLs. I refined the README.md accordingly. Please use http://localhost:8090/winery as API endpoint.

(I split 2 into 2a and 2b, since these are two separate issues)

koppor commented 6 years ago

Closing this issue due to inactivity :zzz: - Moreover, much work has been done in the meantime. Please try again and reopen the issue with additional information if the problem persists.

We do not recommend to use Moodle.csar anymore. To experiment with OpenTOSCA, you have to provide your own NodeTypes etc.