6695 Commits

Author SHA1 Message Date
dandds
3bfb6c9621 Basic implementation for a policy wrapper.
The implementation here is meant to wrap a library of JSON policy
documents. Policies should be added to directories corresponding to
where they will be defined (portfolio, application, environment).
Functionality for parsing portfolio policy definitions is included. When
the policies need to be defined on a management group, the
AzureCloudProvider can iterate the appropriate tier of the policy
manager and add those definitions.
2019-12-20 10:34:12 -05:00
dandds
6460c912dd Remove Libcloud dependency 2019-12-20 10:34:12 -05:00
dandds
b61956080e Initial policies and method for creating policy definition.
This adds some initial example policies:

- One for region restrictions
- One for service restrictions

Note that the MS ARM team has said that region restrictions may be
controlled by ARM, so that policy might prove unnecessary. The
parameters list for the service restrictions is stubbed for now, pending
the full list.

I also added an internal method for adding policy definitions to a
management group. This method is agnostic about what tier of management
group the policy is being defined at. It requires that a dictionary
representing the properties section of a valid Azure JSON policy
definition be passed as an argument.
2019-12-20 10:34:12 -05:00
dandds
7dbdeb3ae7
Merge pull request #1270 from robgil-dds/169163334-ssl-vpn
169163334 - Adds Virtual Network Gateway for VPN
2019-12-20 10:22:27 -05:00
dandds
74fdbafa7f
Merge pull request #1269 from robgil-dds/169163334-container-registry
169163334 - Adds Azure Container Registry
2019-12-20 10:22:01 -05:00
Rob Gil
866b789b6c 169163334 - Adds Virtual Network Gateway for VPN
The Virtual Network Gateway is required for OpenVPN connectivity. The
change to the VPC module also adds a subnet which is exclusively used
for the Gateway.
2019-12-19 22:33:27 -05:00
Rob Gil
74b2510730 169163334 - Adds Azure Container Registry
Adds the ACR. Georeplication disabled for the moment until we add the DR
site.
2019-12-19 20:12:20 -05:00
leigh-mil
54ba6586d2
Merge pull request #1264 from dod-ccpo/update-home-page
Update home page
2019-12-19 11:49:29 -05:00
leigh-mil
f34a668b28
Merge branch 'staging' into update-home-page 2019-12-19 10:53:33 -05:00
dandds
f10ae654c3
Merge pull request #1267 from robgil-dds/169163334-lb
169163334 - Adds LB module
2019-12-19 09:40:13 -05:00
dandds
fb1b6ddfe4
Merge pull request #1266 from robgil-dds/169163334-cdn
169163334 - Adds CDN module
2019-12-19 09:39:28 -05:00
graham-dds
c9b7f31701
Merge pull request #1262 from dod-ccpo/silence-curl-output-for-test-suite
Slience output from curl for integration tests
2019-12-19 08:21:56 -05:00
Rob Gil
7aeda9377e 169163334 - Adds LB module 2019-12-18 20:55:58 -05:00
Rob Gil
0925c73c68 Terraform fmt across new modules 2019-12-18 18:47:02 -05:00
Rob Gil
6d64665474 169163334 - Adds CDN module
Basic CDN module with configurable origin.
2019-12-18 18:45:25 -05:00
graham-dds
f1509b02f6
Merge branch 'staging' into silence-curl-output-for-test-suite 2019-12-18 17:02:14 -05:00
dandds
585d52f045
Merge pull request #1263 from robgil-dds/169163334-redis-module
169163334 - Adds redis module
2019-12-18 17:00:23 -05:00
leigh-mil
c642708c44 Left align home page content 2019-12-18 16:57:15 -05:00
leigh-mil
a231ba5210 Update styling for add new portfolio button on home page 2019-12-18 16:55:25 -05:00
leigh-mil
8fbb0e99ae Fix side nav to match designs and delete unused html and css 2019-12-18 16:55:25 -05:00
leigh-mil
d84e1d58f3 Remove unused class from hr element 2019-12-18 16:55:25 -05:00
leigh-mil
217a29b0dc Adjust margins on home page, globally fix hr elements to default to having margins, and add class for hr elements to span full width of their container 2019-12-18 16:55:25 -05:00
leigh-mil
2584c43c90 Home page styling updates:
- Update copy
- Update menu description section
2019-12-18 16:55:25 -05:00
leigh-mil
8166c05ec2 Always show side nav and update styling 2019-12-18 16:55:25 -05:00
leigh-mil
070cfda32c
Merge pull request #1261 from dod-ccpo/remove-delete-functionality
Remove delete functionality
2019-12-18 16:52:07 -05:00
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
ff0abe7dce
Merge branch 'staging' into remove-delete-functionality 2019-12-18 15:20:41 -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
Rob Gil
83690ccf1a 169163334 - Adds redis module
Adds basic redis module.
2019-12-18 15:14:22 -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
2b884f2c85 Remove route, tests, and template code for deleting a portfolio 2019-12-18 12:22:14 -05:00
leigh-mil
5b55b5800e Remove route, tests, and template code for deleting an application 2019-12-18 12:18:43 -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