template substitution use cases. substitution of a complete tier spec section 13 web_app...
TRANSCRIPT
![Page 1: Template substitution use cases. Substitution of a complete tier spec section 13 web_app [WebApplication] web_server [WebServer] server [Compute] db [Database]](https://reader036.vdocuments.us/reader036/viewer/2022082820/5697bf7d1a28abf838c84c07/html5/thumbnails/1.jpg)
Template substitution use cases
![Page 2: Template substitution use cases. Substitution of a complete tier spec section 13 web_app [WebApplication] web_server [WebServer] server [Compute] db [Database]](https://reader036.vdocuments.us/reader036/viewer/2022082820/5697bf7d1a28abf838c84c07/html5/thumbnails/2.jpg)
Substitution of a complete tierspec section 13
web_app[WebApplication]
web_server[WebServer]
server[Compute]
db[Database]
database[Database]
dbms[DBMS]
server[Compute]
Cap
Req
CapCap
Req
Req
Declares to be substitution for type Database, thus exposes all reqs/caps etc. as defined by type Database.
host requirement is bound internally, sobinding in substitution context would violate.
![Page 3: Template substitution use cases. Substitution of a complete tier spec section 13 web_app [WebApplication] web_server [WebServer] server [Compute] db [Database]](https://reader036.vdocuments.us/reader036/viewer/2022082820/5697bf7d1a28abf838c84c07/html5/thumbnails/3.jpg)
Substitution of only software part of a tier
web_app[WebApplication]
web_server[WebServer]
server[Compute]
db[???]
database[Database]
dbms[DBMS]
Cap
Req
CapCap
ReqReq
There is currently no type that exposes the aggregated reqs, caps and properties/attributes of Database and DBMS. If we had such a type, current substitution would handle that use case.
Req