6861 Commits

Author SHA1 Message Date
graham-dds
aabedbcac4 Make PoP start and end dates inclusive.
Also removes the clock class.

Makes PoP date ranges inclusive such that a task order with:
-  a start date on or after the current date
and
- an end date on or before the current date
should be considered valid.

This commit also removes the Clock class. This class had two methods as
shortcuts for common uses of pendlum functions. But it wasn't being used
in very many places, and it took up about the same space as

    from pendulum import today()
    ...
    today(tz="UTC").date()

If we want to add this back in, it might be a good idea to extend it for
other time functions we have sprinkled around, like the random date
functions in our tests
2020-01-06 12:29:59 -05:00
leigh-mil
3ded9f3f89
Merge branch 'staging' into to-fixes 2020-01-06 12:23:24 -05:00
graham-dds
f4e1b668f2
Merge pull request #1281 from dod-ccpo/bugfix/reporting-apps-and-envs
Better incorporate fixture data into reporting
2020-01-06 12:23:08 -05:00
graham-dds
490d778743 Better incorporate fixture data into reporting
Before this commit, if a portfolio wasn't present in the spending fixture
data, the reporting screen would be empty -- even if the portfolio had
applications and environments associated with it on the database. Now,
0s appear if an application and / or environment isn't present in the
fixture data.
2020-01-06 12:01:13 -05:00
leigh-mil
df74095f6a Fix translations used in reporting page and TO view/review page 2020-01-03 13:36:13 -05:00
leigh-mil
2cb2b48bba
Merge pull request #1289 from dod-ccpo/to-view-styling-fix
TO view fix
2020-01-02 16:19:49 -05:00
leigh-mil
f4f0665643 Fix styling so that no border on last row only applies to clin summary table 2020-01-02 16:05:09 -05:00
leigh-mil
b157daeff9
Merge pull request #1275 from dod-ccpo/to-view-review-pages
To view review pages
2020-01-02 14:14:36 -05:00
leigh-mil
ee2aa4bda9 Generalize class name to better reflect its use. 2020-01-02 12:57:21 -05:00
leigh-mil
dcd0f4f6ae Remove unnecessary comment 2020-01-02 12:47:31 -05:00
leigh-mil
e25f519243 Change TO fragment to a macro to make it reusable in the builder and view page, final tweaks to review and view pages 2020-01-02 12:45:53 -05:00
leigh-mil
2e088d1316 Rename view TO file and update sticky header 2020-01-02 12:45:52 -05:00
leigh-mil
8ece47627e Initial styling and layout of TO view fragment 2020-01-02 12:45:52 -05:00
leigh-mil
cbcac2b142 Rename review route and template to view because it better reflects the purpose of the route and template 2020-01-02 12:45:52 -05:00
dandds
2f7a974955
Merge pull request #1285 from robgil-dds/170237476-autoscaling-fix
170237476 - Autoscaling fix
2020-01-02 12:02:43 -05:00
Rob Gil
0b7ff0679a 170237476 - Autoscaling fix
Specifying the node count breaks the autoscaling min/max. When this
happens, the k8s cluster needs to be manually reconfigured. Terraform
does not remove the node count even when the node count option is
removed. The k8s cluster resource needed to be destroyed and re-created
in order to resolve the issue with node count and min/max options being
specified at the same time.
2019-12-30 12:57:57 -05:00
Jay R. Newlin (PromptWorks)
c14916dbe6
Merge pull request #1283 from dod-ccpo/dependabot/npm_and_yarn/handlebars-4.5.3
Bump handlebars from 4.1.2 to 4.5.3 per security notification
2019-12-30 10:10:05 -05:00
dependabot[bot]
9c52b6e3f6
Bump handlebars from 4.1.2 to 4.5.3
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-28 13:56:34 +00:00
Jay R. Newlin (PromptWorks)
95581d11a4
Merge pull request #1280 from dod-ccpo/gi-updates-wo-20191223
Ghost Inspector updates for the week of 12/23/2019
2019-12-27 11:17:34 -05:00
Jay R. Newlin (PromptWorks)
183fc68ba1 Updated per new designs 2019-12-26 17:42:56 -05:00
Jay R. Newlin (PromptWorks)
0f1bb0080d
Merge pull request #1268 from dod-ccpo/bug-fixes
Bug fixes
2019-12-26 16:45:35 -05:00
leigh-mil
fc1b530e70 Use kwargs in TOFormStepHeader to fix issue of swapped titles and descriptions 2019-12-26 15:55:25 -05:00
leigh-mil
a6382eacf8 Return to home page when canceling out of the portfolio builder 2019-12-26 15:50:58 -05:00
Jay R. Newlin (PromptWorks)
f4a3b74361
Merge pull request #1279 from robgil-dds/169163334-storage-buckets
169163334 - Adds TF bucket module
2019-12-26 13:46:25 -05:00
Rob Gil
62a02234a4 169163334 - Adds TF bucket module
Basic bucket module to create a bucket
2019-12-26 13:28:31 -05:00
graham-dds
8f1cd95236
Merge pull request #1278 from dod-ccpo/minor-ui-tweaks
Minor ui tweaks
2019-12-26 12:10:49 -06:00
graham-dds
3f3be3b47d add support link to top bar 2019-12-26 11:19:06 -05:00
graham-dds
4532b64a65 Remove "get help" link from footer 2019-12-26 10:51:29 -05:00
Jay R. Newlin (PromptWorks)
61ae54af81
Merge pull request #1277 from robgil-dds/169163334-k8s-autoscaling
169163334 - Adds autoscaling to k8s
2019-12-26 10:14:57 -05:00
Rob Gil
5eeb5f976a 169163334 - Adds autoscaling to k8s
This adds node autoscaling the k8s. Pod autoscaling needs to be
configured in the kubectl config.
2019-12-26 09:10:48 -05:00
Jay R. Newlin (PromptWorks)
3c1a199cee
Merge pull request #1276 from robgil-dds/169163334-dns-fix
169163334 - Adds public ips to k8s nodes for internet access
2019-12-24 15:39:25 -05:00
Jay R. Newlin (PromptWorks)
1a89f73ca2
Merge branch 'staging' into 169163334-dns-fix 2019-12-24 13:40:13 -05:00
Rob Gil
b98bc5953f 169163334 - Adds public ips to k8s nodes for internet access
Temporary fix. This should be replaced with a NAT GW (which I need MSFT
to enable or fix the registry registration)
2019-12-23 18:39:55 -05:00
dandds
8ec23b54a8 WIP: k8s config for cloud-zero 2019-12-23 18:39:55 -05:00
Jay R. Newlin (PromptWorks)
18f3ad34e4
Merge pull request #1274 from robgil-dds/169163334-more-stuff
169163334 - Adds more configuration elements per call with Dan
2019-12-23 11:27:47 -05:00
Jay R. Newlin (PromptWorks)
18aead486d
Merge branch 'staging' into 169163334-more-stuff 2019-12-23 11:13:44 -05:00
Jay R. Newlin (PromptWorks)
80cadfe4b8
Merge pull request #1271 from dod-ccpo/gi-updates-wo-20191216
Ghost Inspector updates week of 12/16/2019
2019-12-21 10:52:04 -05:00
Jay R. Newlin (PromptWorks)
03c29ee325
Merge branch 'staging' into gi-updates-wo-20191216 2019-12-20 17:26:59 -05:00
dandds
2497823e2c
Merge pull request #1273 from dod-ccpo/fix-ci
Do not catch errors in CI.
2019-12-20 15:11:46 -05:00
Rob Gil
ec5c3e0ce0 169163334 - Adds more configuration elements per call with Dan
This adds the start of the identity module but also cleans up a bunch of
things like the LBs. Originally I was managing the LBs, but k8s manages
this for us so I disabled the LBs for now.
2019-12-20 15:10:57 -05:00
dandds
a660f41171 Do not catch errors in CI.
This removes all error-catching from the test scripts. If unit tests
fail, the script will exit immediately. The error catching functionality
was not working correctly using the sh shell in Alpine inside the
containers, and so CI was allowed to continue after test failures.
2019-12-20 14:25:41 -05:00
Jay R. Newlin (PromptWorks)
a571e61766
Merge branch 'staging' into gi-updates-wo-20191216 2019-12-20 14:14:34 -05:00
graham-dds
3d151e7aaa
Merge pull request #1272 from dod-ccpo/bugfix/sidenav-kwargs
Remove old kwargs from SidenavItem
2019-12-20 12:19:01 -05:00
graham-dds
d81b82956b Remove old kwargs from SideNavItem 2019-12-20 11:03:21 -06:00
Jay R. Newlin (PromptWorks)
c66483218a
Merge branch 'staging' into gi-updates-wo-20191216 2019-12-20 11:13:04 -05:00
dandds
9e20ad5281
Merge pull request #1265 from dod-ccpo/policy-infrastructure
Policy infrastructure
2019-12-20 10:55:44 -05:00
Jay R. Newlin (PromptWorks)
591c0f2315 Updates based on design changes and/or general maintenance of tests 2019-12-20 10:51:25 -05:00
Jay R. Newlin (PromptWorks)
007291da0a Merge branch 'staging' of github-DDS:dod-ccpo/atst into gi-updates-wo-20191216 2019-12-20 10:37:43 -05:00
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