6861 Commits

Author SHA1 Message Date
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
Jay R. Newlin (PromptWorks)
18cfffef46 Merge branch 'staging' of github-DDS:dod-ccpo/atst into gi-updates-wo-20191216 2019-12-17 17:13:42 -05:00
Jay R. Newlin (PromptWorks)
4b5558be8d New test to support others; doesn't run standalone 2019-12-17 17:06:04 -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
Jay R. Newlin (PromptWorks)
301fcd3f78 New test to support others; doesn't run standalone 2019-12-17 15:33:39 -05:00
Jay R. Newlin (PromptWorks)
dd09f386fe New test to support others; doesn't run standalone 2019-12-17 14:48:28 -05:00
Jay R. Newlin (PromptWorks)
5c32879efb Superseded by "Create New Application" 2019-12-17 14:16:20 -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
Jay R. Newlin (PromptWorks)
2f10900df1 Renamed test 2019-12-16 16:28:57 -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
cc3863d926
Merge pull request #1243 from dod-ccpo/staging
Update master from staging
2019-12-16 10:54:46 -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)
7ab04aa390 Removed file rendered unnecessary by change in test strategy 2019-12-13 16:59:25 -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
leigh-mil
85252812e0 Update number column on task orders table to have a unique constraint 2019-12-13 14:53:58 -05:00
graham-dds
0556e108de
Merge pull request #1242 from dod-ccpo/redesign-new-portfolio-page
Styling / UI changes for new portfolio page
2019-12-13 14:29:39 -05:00
Jay R. Newlin (PromptWorks)
2a77dbe063 Merge branch 'staging' of github-DDS:dod-ccpo/atst into gi-updates-wo-20191209 2019-12-13 13:52:24 -05:00
Jay R. Newlin (PromptWorks)
0b163de7e5 Minor changes 2019-12-13 13:50:53 -05:00
Jay R. Newlin (PromptWorks)
6909cb7edc Adjust for random TO number 2019-12-13 13:50:31 -05:00
Jay R. Newlin (PromptWorks)
df4458b27b Changes to TO index page 2019-12-13 13:49:56 -05:00