template substitution use cases. substitution of a complete tier spec section 13 web_app...

Post on 17-Jan-2016

213 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Template substitution use cases

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.

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

top related