[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [tosca] Operation implementations
Actually, I believe all of these require artifacts: for all of these examples, there has to be some piece of code that has to be executed. For example, there must be code that places the gRPC call, code that communicates with Ansible Tower to start the playbook, code that communicates with AWS Lambda, etc. These pieces of code arenât part of the TOSCA Orchestrator, and must be provided by the service and/or profile designer instead. In some systems one would call these âplug-insâ. In TOSCA, we call them artifacts. Either way, they are required in order for the Orchestrator to be able to âimplementâ operations.
When a service or profile designer supplies the artifact that âimplementsâ an operation, Âthey must also specify the type of that artifact to allow the TOSCA orchestrator to âcallâ that artifact correctly. Using terminology from the spec, the actual âcallingâ of the artifact is done by the âartifact processorâ (what Adam calls a Configurator in his code). Independent of the language in which the orchestrator is written, the orchestrator might have an artifact processor that knows how to call Python or Java code, how to call Bash scripts, how to process Ansible playbooks, etc.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]