Skip to content

Semantic Validation: requirement node suggested by semantic validation is rejected as valid in following validation #119

Description

@jesus-gorronogoitia

First issue

In snow.aadm, the template snow-mysql shows a wrong node snow/snow-vm for requirement host. When saved in model:
snow.v2.snow_v2.aadm_first_model.ttl.txt

the KB Reasoner reports the error and suggest three valid nodes.

Then, the user select one of those, say snow/docker-host@v1.0, and tries to save again the model:
snow.v2.snow_v2.aadm_second_model.ttl.txt
,getting an unexpected validation error:

Cannot find Template: snow/docker-host@v1.0: Requirement_25

If host requirement node snow/docker-host@v1.0 was suggested by KB in first validation, it should be valid in second, so last error should not be reported, shouldn't it?

Second issue

Content assistance for first model, suggests for nodes satisfying the host requirement the following ones:

ide
but the versions of snow-vm and test-vm are not of type DockerHost, but Openstack.VM, therefore not satisfying the requirement. Could you please check the API that returns these candidate nodes for a requirement?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions