[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: Artifacts for Node Interfaces
Hi Paul, this is an interesting idea, but if this were supported, we would still need syntax to specify how a specific operation in the interface maps to a specific API call in the OpenAPI definition. BTW, I believe there are parallels
with Java JAR files or Python packages. One may have a JAR or Package that implements a specific API, but each operation must somehow map to a specific “entry point” in the JAR or Package. It would be nice to have a general solution for this type of situation. Thanks, Chris From: tosca-comment@lists.oasis-open.org <tosca-comment@lists.oasis-open.org>
On Behalf Of paul.m.jordan@bt.com The TOSCA standard includes the definition of lifecycle operations which may be performed on nodes or relationships. Such operation definitions are grouped into TOSCA interface definitions. Node templates may include
such interfaces. A common pattern for servers to expose operations is via a RESTful API. The contract between a client and a server using a RESTful API is often described using common file format, either swagger or its successor OpenAPI. When a node template relates to a node which implements a REST API it may be desirable to supply the relevant OpenAPI file as an artifact. With the current grammar an artefact can be supplied with a node template and also with an interface operation. However while OpenAPI describes the operation of the whole interface, TOSCA does not allow an artefact to
be supplied at the level of node:interface. Would it be possible to add keyname artefact to the definition of Interface Assignment?
Paul Jordan This email contains information from BT that might be privileged
or confidential. And it's only meant for the person above. If that's not you, we're sorry - we must have sent it to you by mistake. Please email us to let us know, and don't copy or forward it to anyone else. Thanks. We monitor our email systems and may record all our emails. |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]