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

Detect errors in getProperty/getAttribute/getInput #117

Open
jesus-gorronogoitia opened this issue Sep 24, 2021 · 0 comments
Open

Detect errors in getProperty/getAttribute/getInput #117

jesus-gorronogoitia opened this issue Sep 24, 2021 · 0 comments

Comments

@jesus-gorronogoitia
Copy link

jesus-gorronogoitia commented Sep 24, 2021

Properties and attributes of node templates in AADMs can get their values by using the functions getProperty/getAttribute/getInput.
Those functions references properties/attributes located at:

  • the node referenced by entity (see figure below). So, if entity is SELF and the req_cap is not set, the property names must be located in current template snow_webcam_crawler type hierarchy.
  • if req_cap is set in the function declaration, then the property names must be located at the node snow-docker-network that is referenced in the requirement/capability network. But names is not a property declared in the hierarchy of
    the node snow-docker-network and the error should be spotted.
    image

Similar error detection for getAttribute and getInput. In case of getInput the referenced input must be one declared within the AADM. Otherwise, an error should be reported.

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

No branches or pull requests

1 participant