6666 Commits

Author SHA1 Message Date
graham-dds
d247620c51 Slience output from curl for integration tests
We use curl in our integration test script to make sure the application container is
available before moving on. We expect many connection errors and don't care
about the output of curl, so this will just swallow all of the output.
2019-12-18 16:43:30 -05:00
leigh-mil
325441dd42
Merge pull request #1260 from dod-ccpo/to-signature-page
To signature page
2019-12-18 15:20:26 -05:00
leigh-mil
499a965b29
Merge branch 'staging' into to-signature-page 2019-12-18 14:34:51 -05:00
dandds
e788c743ae
Merge pull request #1259 from robgil-dds/170339063-network-diagram
170339063 - Adds network diagrams
2019-12-18 14:01:57 -05:00
leigh-mil
6cc605d09f
Merge branch 'staging' into to-signature-page 2019-12-18 13:47:26 -05:00
leigh-mil
64679ab33c
Merge pull request #1257 from dod-ccpo/environment-name-uniqueness
Env and App name uniqueness
2019-12-18 13:47:06 -05:00
leigh-mil
00e86e2f2a
Merge branch 'staging' into environment-name-uniqueness 2019-12-18 13:02:33 -05:00
graham-dds
55d11efe03
Merge pull request #1258 from dod-ccpo/form-action-bars
Form action bars
2019-12-18 12:35:13 -05:00
leigh-mil
72bb300913 Styling for TO signature page 2019-12-18 12:10:15 -05:00
leigh-mil
66cfaaa6c3 Update copy on TO signature page 2019-12-18 12:10:15 -05:00
graham-dds
13e8cb8ee1 Move form buttons to floating bottom action bar
Form action buttons were previously in the sicky CTA bar. This commit
moves them to a bottom action bar.
2019-12-18 11:36:36 -05:00
Rob Gil
d621781c3b 170339063 - Adds network diagrams
Network diagrams are created with plantuml

Ex.
java -jar ~/plantuml.jar ./useast.txt
java -jar ~/plantuml.jar ./uswest.txt

Running this will create .png diagrams. PNG is the default but can be changed to
 SVG, PDF, etc
2019-12-18 11:12:14 -05:00
leigh-mil
f543602076 Update function name to better reflect what it does 2019-12-18 10:54:18 -05:00
leigh-mil
d300ccf31b Catch error on update applications route when app name is duplicated within a portfolio 2019-12-18 10:54:18 -05:00
leigh-mil
e82e0b482a remove unused imports 2019-12-18 10:54:17 -05:00
leigh-mil
63a5d9274b Update route to handle error when env names are duplicated 2019-12-18 10:54:17 -05:00
leigh-mil
812caf5d7d Update schema and create/update Environments domain methods to enforce environment name uniqueness within an application context. 2019-12-18 10:54:17 -05:00
graham-dds
b270d0e4b0 Update new portfolio layout
- Move CTA buttons to floating footer
- separated -> bordered
2019-12-17 17:01:41 -05:00
dandds
a227044ccf
Merge pull request #1244 from dod-ccpo/reset-staging-db
K8s cronjob for resetting the database on staging.
2019-12-17 13:35:06 -05:00
dandds
9d282ee82a K8s cronjob for resetting the database on staging.
This K8s CronJob will run the script for resetting the database. It will
only be applied to the staging site.
2019-12-17 13:19:40 -05:00
dandds
3a6120fb5a
Merge pull request #1255 from robgil-dds/169163334-tf-docs
169163334 - Adds initial terraform documentation
2019-12-16 16:55:20 -05:00
Rob Gil
dbe24fdf91 169163334 - Adds initial terraform documentation 2019-12-16 16:32:12 -05:00
leigh-mil
424dde31a3
Merge pull request #1249 from dod-ccpo/app-name-uniqueness
App name uniqueness
2019-12-16 15:34:57 -05:00
leigh-mil
5f267e9cfa Remove unused import 2019-12-16 14:40:17 -05:00
leigh-mil
b927ef1b0e Create utility function for the pattern of committing to the database or raising AlreadyExistsError 2019-12-16 14:39:32 -05:00
leigh-mil
afad5362a1 Update name of UniqueContraint to include the table name 2019-12-16 14:39:32 -05:00
leigh-mil
ffbf612290 Update route to catch error when app name uniqueness is violated and display a error message 2019-12-16 14:39:32 -05:00
leigh-mil
22dd5d7b85 Add migration for enforcing uniqueness of an application name within a portfolio and update create/update Applicaiton domain methods. 2019-12-16 14:39:32 -05:00
dandds
483b00a947
Merge pull request #1256 from dod-ccpo/ci-fail-hard
CI script should fail hard.
2019-12-16 11:22:30 -05:00
dandds
3457f51d99 CI script should fail hard.
Right now, unit test failures in script/cibuild are not being emitted
correctly. Instead, we'll just `set -e` at the top of the CI script so
that failures are fast and obvious.
2019-12-16 11:04:57 -05:00
dandds
11a30977cb
Merge pull request #1252 from robgil-dds/terraform-codeowners
Adds CODEOWNERS file and configures terraform with an owner for appro…
2019-12-16 11:02:48 -05:00
dandds
0480e71079
Merge pull request #1254 from dod-ccpo/fix-csp-subscription-bug
Display names for subscriptions are passed to create_subscription.
2019-12-16 10:32:54 -05:00
dandds
1968d458db Display names for subscriptions are passed to create_subscription.
We don't need to generate the display name for a new subscription inside
the _create_subscription method.
2019-12-16 10:12:35 -05:00
dandds
1eef40a1cf
Merge pull request #1253 from robgil-dds/169163334-keyvault
169163334 - Enables KeyVault server in dev TF env
2019-12-16 09:23:18 -05:00
dandds
93f758b574
Merge pull request #1251 from robgil-dds/169163334-postgres
169163334 - Adds postgres module and configures dev to run pg
2019-12-16 09:21:10 -05:00
Rob Gil
3b05f9b830 Adds rgil to keyvault access policy 2019-12-16 09:20:40 -05:00
Rob Gil
fd6bf723db 169163334 - Enables KeyVault server in dev TF env
This keyvault server will be used for db, redis, ad, k8s, and app
secrets for this environment.
2019-12-16 09:20:40 -05:00
Rob Gil
b11dc849f3 169163334 - Adds more variables to postgres TF module 2019-12-16 09:19:28 -05:00
Rob Gil
f104803b6d 169163334 - Adds postgres module and configures dev to run pg
Adds the postgres module and configures it in the development
environment.
2019-12-16 09:19:28 -05:00
dandds
4c6c414d00
Merge pull request #1250 from robgil-dds/169163334-terraform-vpc
169163334 - Initial VPC TF and structure
2019-12-16 09:18:07 -05:00
Rob Gil
955a1c483b 169163334 - Initial VPC TF and structure
169163334 - Make supernet configurable

169163334 - Makes DNS servers configurable

169163334 - Adds bucket for state storage

169163334 - Adds k8s, keyvault, azuread provider

169163334 - Adds route tables

169163334 - Adds route table associations

169163334 - Adds default routes to route tables and fixes route table association flapping
2019-12-16 09:12:24 -05:00
Rob Gil
d3bced5b5d Adds CODEOWNERS file and configures terraform with an owner for approvals 2019-12-15 13:02:52 -05:00
Jay R. Newlin (PromptWorks)
3f824ccc41
Merge pull request #1248 from dod-ccpo/gi-updates-wo-20191209
GI updates week of 12/9/19
2019-12-13 16:56:09 -05:00
Jay R. Newlin (PromptWorks)
b5a008c070
Merge branch 'staging' into gi-updates-wo-20191209 2019-12-13 16:40:37 -05:00
leigh-mil
7530da6982
Merge pull request #1245 from dod-ccpo/to-uniqueness
Enforce TO number uniqueness
2019-12-13 15:21:54 -05:00
leigh-mil
e38358992d Fix migration chain 2019-12-13 14:56:31 -05:00
leigh-mil
f0505ee122 Remove unused imports
Use remove_empty_string filter for TaskOrderForm.number instead of declaring the data property
Update display of TOs without a number
2019-12-13 14:53:58 -05:00
leigh-mil
78ef47f649 Update TO route helper function to catch error and display flash message when a user tries to save a TO with an existing number.
Update TaskOrderForm so that it converts empty string for number into None, this was causing an issue where new TOs were being saved with an empty string for the number, which violated the unique constraint.
2019-12-13 14:53:58 -05:00
leigh-mil
9caef2883a migration fix 2019-12-13 14:53:58 -05:00
leigh-mil
6446b4fbd0 Raise AlreadyExistsError if a task order is created or updated with a number of an existing task order 2019-12-13 14:53:58 -05:00