Linked.Archi

Cloud Platform Deliverable Templates

Deliverable Templates

https://meta.linked.archi/examples/cloudplatform/deliverable-templates#

v0.1.0 cpdt: License

Service Catalog

Inventory of all microservices with their properties, dependencies, and deployment status.

Template: templates/service-catalog.md.hbs
Target Purposes: Informing
Available Formats: MarkdownFormat

Sections

1 Service Inventory
Viewpoint: ServiceDependencyViewpoint Result key: services
SPARQL Query
        PREFIX cp: <https://meta.linked.archi/examples/cloudplatform/onto#>
        PREFIX skos: <http://www.w3.org/2004/02/skos/core#>

        SELECT ?service ?label ?resilience ?tier ?strategy WHERE {
            ?service a cp:Microservice ;
                     skos:prefLabel ?label .
            OPTIONAL { ?service cp:resilienceLevel ?resilience }
            OPTIONAL { ?service cp:serviceTier ?tier }
            OPTIONAL { ?service cp:deploymentStrategy ?strategy }
        } ORDER BY ?label
    
2 Event-Driven Dependencies
Viewpoint: DataFlowViewpoint Result key: eventDependencies
SPARQL Query
        PREFIX cp: <https://meta.linked.archi/examples/cloudplatform/onto#>
        PREFIX skos: <http://www.w3.org/2004/02/skos/core#>

        SELECT ?publisher ?publisherLabel ?topic ?topicLabel ?subscriber ?subscriberLabel WHERE {
            ?publisher cp:publishesTo ?topic ;
                       skos:prefLabel ?publisherLabel .
            ?topic skos:prefLabel ?topicLabel .
            ?subscriber cp:subscribesTo ?topic ;
                        skos:prefLabel ?subscriberLabel .
        } ORDER BY ?topicLabel
    
3 Deployment Status
Viewpoint: DeploymentViewpoint Result key: deployments
SPARQL Query
        PREFIX cp: <https://meta.linked.archi/examples/cloudplatform/onto#>
        PREFIX am4: <https://meta.linked.archi/archimate4/onto#>
        PREFIX skos: <http://www.w3.org/2004/02/skos/core#>

        SELECT ?service ?serviceLabel ?container ?image ?replicas ?cluster ?clusterLabel WHERE {
            ?container am4:assignedTo ?service ;
                       a cp:Container .
            ?service skos:prefLabel ?serviceLabel .
            OPTIONAL { ?container cp:containerImage ?image }
            OPTIONAL { ?container cp:replicaCount ?replicas }
            OPTIONAL {
                ?container cp:deployedIn ?cluster .
                ?cluster skos:prefLabel ?clusterLabel .
            }
        } ORDER BY ?serviceLabel
    
📄 Template Preview
---
title: "Service Catalog"
date: "{{meta.date}}"
author: "{{meta.author}}"
status: "{{meta.status}}"
---

# Service Catalog

| Property | Value |
|----------|-------|
| Date | {{meta.date}} |
| Author | {{meta.author}} |
| Status | {{meta.status}} |
| Metamodel | Cloud Platform Architecture |

---

## 1. Service Inventory

| Service | Resilience | Tier | Deployment Strategy |
|---------|-----------|------|---------------------|
{{#each services}}
| {{this.label}} | {{this.resilience}} | {{this.tier}} | {{this.strategy}} |
{{/each}}

---

## 2. Event-Driven Dependencies

| Publisher | Topic | Subscriber |
|-----------|-------|------------|
{{#each eventDependencies}}
| {{this.publisherLabel}} | {{this.topicLabel}} | {{this.subscriberLabel}} |
{{/each}}

---

## 3. Deployment Status

| Service | Container Image | Replicas | Cluster |
|---------|----------------|----------|---------|
{{#each deployments}}
| {{this.serviceLabel}} | {{this.image}} | {{this.replicas}} | {{this.clusterLabel}} |
{{/each}}

Deployment Guide

Infrastructure and deployment documentation for the platform.

Template: templates/deployment-guide.md.hbs
Target Purposes: Designing
Available Formats: MarkdownFormat

Sections

1 Kubernetes Clusters
Viewpoint: DeploymentViewpoint Result key: clusters
SPARQL Query
        PREFIX cp: <https://meta.linked.archi/examples/cloudplatform/onto#>
        PREFIX skos: <http://www.w3.org/2004/02/skos/core#>

        SELECT ?cluster ?label (COUNT(?container) AS ?containerCount) WHERE {
            ?cluster a cp:KubernetesCluster ;
                     skos:prefLabel ?label .
            OPTIONAL { ?container cp:deployedIn ?cluster }
        }
        GROUP BY ?cluster ?label
        ORDER BY ?label
    
2 Container Inventory
Viewpoint: DeploymentViewpoint Result key: containers
SPARQL Query
        PREFIX cp: <https://meta.linked.archi/examples/cloudplatform/onto#>
        PREFIX skos: <http://www.w3.org/2004/02/skos/core#>

        SELECT ?container ?image ?replicas ?cluster ?clusterLabel WHERE {
            ?container a cp:Container .
            OPTIONAL { ?container cp:containerImage ?image }
            OPTIONAL { ?container cp:replicaCount ?replicas }
            OPTIONAL {
                ?container cp:deployedIn ?cluster .
                ?cluster skos:prefLabel ?clusterLabel .
            }
        } ORDER BY ?image
    
📄 Template Preview
---
title: "Deployment Guide"
date: "{{meta.date}}"
author: "{{meta.author}}"
---

# Deployment Guide

---

## 1. Kubernetes Clusters

| Cluster | Containers Deployed |
|---------|-------------------|
{{#each clusters}}
| {{this.label}} | {{this.containerCount}} |
{{/each}}

---

## 2. Container Inventory

| Image | Replicas | Cluster |
|-------|----------|---------|
{{#each containers}}
| {{this.image}} | {{this.replicas}} | {{this.clusterLabel}} |
{{/each}}