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 in service template creation, defining new node properties #290

Open
ameyverse opened this issue May 28, 2024 · 0 comments
Open

Issue in service template creation, defining new node properties #290

ameyverse opened this issue May 28, 2024 · 0 comments

Comments

@ameyverse
Copy link

Hi, I had some issues in using the winery interface.
I tried the opentosca/winery:latest image with below environment settings

docker run -it -p 8080:8080
-e PUBLIC_HOSTNAME=localhost
-e WINERY_FEATURE_RADON=true
-e WINERY_REPOSITORY_PROVIDER=yaml
-e WINERY_REPOSITORY_URL=https://github.com/radon-h2020/radon-particles
opentosca/winery
  1. The UI shows 400 OK error while adding new properties in a custom defined node type. The container logs during the operation are as follows:
54 > POST http://10.15.8.148:8080/winery/nodetypes/example.org.tosca.nodetypes/CustomNode_w1-wip1/propertiesdefinition/
{"winerysPropertiesDefinition":{"namespace":"example.org.tosca.nodetypes","elementName":"CustomNode_w1-wip1","propertyDefinitionKVList":[]},"selectedValue":"Yaml","propertiesDefinition":{"element":null,"type":null,"properties":[{"name":"os","type":"string","description":"","required":true,"defaultValue":"","status":"supported","constraints":[]}],"propertyDefinitionKVList":[]}}

10:10:53.898 [http-nio-8080-exec-6] INFO  o.g.jersey.logging.LoggingFeature       :149  log                                 - 54 * Server responded with a response on thread http-nio-8080-exec-6
54 < 400
54 < Content-Type: text/plain
Expected YamlPropertiesDefinition element

image (2)

  1. I tried to create a topology template through REST API (PUT /servicetemplates/com.test/TestAppTopologyTemplate_v1-w1-wip1/topologytemplate) with the json payload of an already created template (through UI) with a couple of nodes and requirement relationships between them.

The nodes are properly created in the new service template TestAppTopologyTemplate_v1-w1-wip1, but the relationships are not visible in the UI.

Kindly guide in resolving the issue. @lharzenetter @wederbn
Thanks.

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

No branches or pull requests

1 participant