Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boundary diagram updates #226

Merged
merged 3 commits into from
Dec 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions docs/boundary_diagram.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
System Boundary Diagram
=======================

<img src="http://www.plantuml.com/plantuml/png/fPPVRnf74C3V-HHJFrHOYa6DtPUgga8CiLtXXFfmeagHqB8tu5NsTZSxin1KvRjtvpWEC6vLgP8DgxsPt_oVumsnYfmgs_d1E6rJYV347EYNVZ-gTMzf-2dD4s7KtZ4wxcbVzLKPZN8hcqBgNrzTJAno_7W_xbl5I9olPjTPMXc7iHU4FHxy-U5nEljqDxsTZKSte_V3xdc73Lk4wNG0HQKYmssQmzmdLwguWPN1TMU2aRphXlhBeNq5PtlHHy9ubcy63j2L5-8Z-0NmqpFcsVcEK-8AhS-q8yvmTtjsTBtAK1-XrI5GheIRwNtcESy8Yc3aTDm4DjwzppUTWRMWnL4jLvHrWz6C9QY8W5jPB66TSmhJSG4_zLv3SXQ9m6UtuzeGWh3BNYTR1oVGjqr6kcfD4ksd0cxywjhwL9wTmryTW5P2o-NIhx9OVUpbSoC3K6o8iPgDlh6GPihE3yN0UbLUp9LLJZTfpOO6uxSvscFjrifC1NE464pk_aKw-iHrvd_zqQeDHleDzghRXoHswyZWdSGKDy1HBHP60s5S6OqDVvyJzXB6GEk8fM4bUM-Vjg43jEtONQ_NsV5mvCTn2tx2EGn2i4RNEF7flI_nz-8LZBw5Y9JBy81AipmP6WePisqExQr5pLG3IyMg1_V9iWaMmJXYoIr1JCuPjvHGdlcchQgKLE-ToHgaLIqeUTqcHbM3Zt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0ROAsg8tuoiURkwEfb-szQ1PdqJvh9-FVHZA9CsjecHqBLBe0Ij-x5nTDgTkezvtxgagAI--_WFDivjAxsuY0lJn3yCn6tRAHmNOWHo_z46lhDmUFJlgXg3KIpQDju19mGhfNcyVXqUPubZuqEpiBNgChOsN_1W00" alt="rendered boundary diagram">

UML Source
----------

```
@startuml
!include https://raw.githubusercontent.com/adrianvlupu/C4-PlantUML/latest/C4_Container.puml
LAYOUT_WITH_LEGEND()
title TTA Smart Hub boundary view
Person(personnel, "Smart Hub User", "An end-user of the TTA Smart Hub")
Person(developer, "Smart Hub Developer", "Smart Hub vendor developers and GTM")
Expand All @@ -29,34 +28,38 @@ Boundary(aws, "AWS GovCloud") {
}
}
}
System(HSES, "HSES", "Authentication As a Service\nMFA via Time-Based App or PIV card\n\nSource of Grantee Data")
System(HSES, "HSES", "Single Sign On\nMFA via Time-Based App or PIV card\n\nSource of Grantee Data")
Boundary(gsa_saas, "FedRAMP-approved SaaS") {
System_Ext(newrelic, "New Relic", "Continuous Monitoring")
}
Rel(developer, newrelic, "Manage performance & logging", "https GET/POST/PUT/DELETE (443)")
Rel(www_app, newrelic, "reports telemetry", "tcp (443)")
Rel(personnel, aws_alb, "manage TTA data", "https GET/POST/PUT/DELETE (443)")
Rel(www_s3, personnel, "download file attachments", "https GET (443)")
Rel(aws_alb, cloudgov_router, "proxies requests", "https GET/POST/PUT/DELETE (443)")
Rel(cloudgov_router, www_app, "proxies requests", "https GET/POST/PUT/DELETE (443)")
Rel(www_app, clamav, "scans files", "https POST (443)")
Rel(www_app, HSES, "authenticates user", "OAuth2")
Rel(www_app, HSES, "retrieve Grantee data", "https GET (443)")
Rel(www_app, HSES, "authenticates user", "OAuth2")
Rel(personnel, HSES, "verify identity", "https GET/POST (443)")
Rel(www_app, www_db, "reads/writes dataset records", "psql (5432)")
Rel(www_app, www_s3, "reads/writes data content", "vpc endpoint")
BiRel(www_app, www_db, "reads/writes dataset records", "psql (5432)")
BiRel(www_app, www_s3, "reads/writes data content", "vpc endpoint")
Boundary(development_saas, "CI/CD Pipeline") {
System_Ext(github, "GitHub", "HHS-controlled code repository")
System_Ext(circleci, "CircleCI", "Continuous Integration Service")
}
Rel(developer, github, "Publish code")
Rel(developer, github, "Publish code", "git ssh (22)")
Rel(github, circleci, "Commit hook notifies CircleCI to run CI/CD pipeline")
Rel(circleci, cloudgov_api, "Deploy application on successful CI/CD run")
Lay_D(personnel, aws)
Lay_R(HSES, aws)
@enduml
```

Instructions
------------

1. [Edit this diagram with plantuml.com](http://www.plantuml.com/plantuml/uml/fPPVRnf74C3V-HHJFrHOYa6DtPUgga8CiLtXXFfmeagHqB8tu5NsTZSxin1KvRjtvpWEC6vLgP8DgxsPt_oVumsnYfmgs_d1E6rJYV347EYNVZ-gTMzf-2dD4s7KtZ4wxcbVzLKPZN8hcqBgNrzTJAno_7W_xbl5I9olPjTPMXc7iHU4FHxy-U5nEljqDxsTZKSte_V3xdc73Lk4wNG0HQKYmssQmzmdLwguWPN1TMU2aRphXlhBeNq5PtlHHy9ubcy63j2L5-8Z-0NmqpFcsVcEK-8AhS-q8yvmTtjsTBtAK1-XrI5GheIRwNtcESy8Yc3aTDm4DjwzppUTWRMWnL4jLvHrWz6C9QY8W5jPB66TSmhJSG4_zLv3SXQ9m6UtuzeGWh3BNYTR1oVGjqr6kcfD4ksd0cxywjhwL9wTmryTW5P2o-NIhx9OVUpbSoC3K6o8iPgDlh6GPihE3yN0UbLUp9LLJZTfpOO6uxSvscFjrifC1NE464pk_aKw-iHrvd_zqQeDHleDzghRXoHswyZWdSGKDy1HBHP60s5S6OqDVvyJzXB6GEk8fM4bUM-Vjg43jEtONQ_NsV5mvCTn2tx2EGn2i4RNEF7flI_nz-8LZBw5Y9JBy81AipmP6WePisqExQr5pLG3IyMg1_V9iWaMmJXYoIr1JCuPjvHGdlcchQgKLE-ToHgaLIqeUTqcHbM3ZtAwSupHAGjgxoOiVDohrCEGWXILJWqDvtKQIadTn1Cl8nP_Z66eMCqLuQ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x5nTDgTkezvtxgagAI--_WFDivjAxsuY0lJn3yCn6tRAHmNOWHo_z46lhDmUFJlgXg3KIpQDju19mGhfNcyVXqUPubZuqEpiBNgChOsN_1W00)
1. Copy and paste the final UML into the UML Source section
1. Update the img src and edit link target to the current values

Expand Down
2 changes: 1 addition & 1 deletion docs/circleci/src/circleci.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import CircleCI from 'circleci';
import { filter, take, partition } from 'lodash';

const artifactFileNames = /(?:(?:lcov-report\/index|cucumber_report)\.html)|(?:^reports\/.*\.png)$/;
const buildJobsInWorkflow = 7;
const buildJobsInWorkflow = 8;
const workflowName = "build_test_deploy";

const ci = new CircleCI({
Expand Down