6085 Commits

Author SHA1 Message Date
richard-dds
4cafa513a2
Merge pull request #1074 from dod-ccpo/lock-environments
Implement simple locking system for environments
2019-09-17 15:44:25 -04:00
richard-dds
343e5a52ac Use session.refresh in tests 2019-09-17 15:29:33 -04:00
richard-dds
3f072bac3c Remove unused users 2019-09-17 15:28:07 -04:00
richard-dds
ade7dc08fd Only fetch environment_id in provisioning queries 2019-09-17 15:27:03 -04:00
richard-dds
53e993ea34 Filter out claimed environments 2019-09-17 11:54:18 -04:00
richard-dds
5b7a544403 Claim environment in all three provisioning tasks 2019-09-17 11:51:09 -04:00
richard-dds
68ac7aecdf More test cleanup 2019-09-17 11:47:06 -04:00
richard-dds
7004f7d37e Add a docstring and some comments 2019-09-17 11:32:24 -04:00
richard-dds
23261da3af Use None isntead of sql.null 2019-09-17 11:15:25 -04:00
richard-dds
c1b87356ce Update session while claiming
Not totally sure if this is necessary, but I feel like it makes more
sense to err on the side of more data correctness, rather than
hypothesizing about performance
2019-09-17 11:06:23 -04:00
richard-dds
abeadee3f3 Claim resource only temporarily 2019-09-17 11:03:33 -04:00
richard-dds
945debe6ee Move claim_for_update to models.utils 2019-09-17 10:39:59 -04:00
leigh-mil
799112ba5d
Merge pull request #1076 from dod-ccpo/home-pg-content
Updates to homepage
2019-09-17 10:07:15 -04:00
leigh-mil
70b142071e
Merge pull request #1075 from dod-ccpo/mock-data-for-testing
Mock data for testing
2019-09-17 10:07:05 -04:00
leigh-mil
c1476ae3d9 Updates to homepage 2019-09-17 09:54:29 -04:00
leigh-mil
15a844fa80 Fix html 2019-09-17 09:53:26 -04:00
richard-dds
67a2905d51 Make claim_for_update easier to follow 2019-09-16 17:03:57 -04:00
richard-dds
4624acd1c5 Remove unused import 2019-09-16 17:00:05 -04:00
richard-dds
97cefc7501 Formatting 2019-09-16 16:58:28 -04:00
richard-dds
c0a629ae9a Alias resource class to Model 2019-09-16 16:54:49 -04:00
richard-dds
5012c5a4d3 Fix migration path 2019-09-16 16:53:03 -04:00
richard-dds
030d67719b Remove unused imports 2019-09-16 16:52:54 -04:00
richard-dds
2bbe974755 Implement simple locking system for environments 2019-09-16 16:39:37 -04:00
leigh-mil
b041a31fa3 Fake the processing tag for envs with the name 'QA' 2019-09-16 16:28:50 -04:00
leigh-mil
2d83a46632 Add link for DoD ID info 2019-09-16 16:13:20 -04:00
dandds
25a78964df
Merge pull request #1073 from dod-ccpo/fix-migration
Apply default to environments.creator_id so column can be non-nullable
2019-09-16 16:11:31 -04:00
leigh-mil
0b6fc072ea Add invite links and tag for pending invite 2019-09-16 15:58:37 -04:00
richard-dds
89d3a66522 Apply default to environments.creator_id so column can be non-nullable 2019-09-16 15:50:05 -04:00
dandds
147fe5a7db
Merge pull request #1072 from dod-ccpo/empty-crl-tmp
Do not try to copy crl-tmp contents if empty.
2019-09-16 11:37:12 -04:00
dandds
b107f84c75 Do not try to copy crl-tmp contents if empty.
The Kubernetes CronJob for syncing CRLs syncs them to a temporary folder
and then copies them to the real location once the sync is complete. If
the temporary folder is empty, the `cp` command throws an error. This
updates the bash script that manages the sync so that it will skip the
copy command if the temporary location is empty.
2019-09-16 11:23:15 -04:00
dandds
3c4432329f
Merge pull request #1071 from dod-ccpo/fix-migration
Fix migration path
2019-09-16 10:47:19 -04:00
richard-dds
75928b7700 Fix migration path 2019-09-16 10:36:57 -04:00
richard-dds
79c8e4fc63
Merge pull request #1062 from dod-ccpo/env-provisioning-task
Environment provisioning background jobs
2019-09-16 09:58:18 -04:00
graham-dds
1fe755bb69
Merge pull request #1069 from dod-ccpo/clin-obligated-and-total-funding
CLIN obligated and total funding
2019-09-13 11:10:46 -04:00
dandds
608893a6b3
Merge pull request #1068 from dod-ccpo/docker-multi-tag
Docker multi tag
2019-09-13 09:40:37 -04:00
graham-dds
96ad2334f7 Use custom validator for CLIN funding 2019-09-12 16:11:12 -04:00
graham-dds
e9bd1b596d Move max clin amount to a constant 2019-09-12 16:11:12 -04:00
graham-dds
ebe8adac21 Update name of prop used to control validation 2019-09-12 16:11:12 -04:00
graham-dds
5d3aa41431 Pull out unecessary events from clin_fields 2019-09-12 16:11:12 -04:00
graham-dds
8b0d9fb9d2 Create text input mixin 2019-09-12 16:11:12 -04:00
graham-dds
c26f8b92e9 Add tests to validate CLIN funding 2019-09-12 16:11:12 -04:00
graham-dds
ccb26d8cf8 Use new path to error in translations 2019-09-12 16:11:12 -04:00
graham-dds
ab17b5cf84 Use translations for WTForms validation 2019-09-12 16:11:12 -04:00
graham-dds
42693ec506 Reshape funding errors in translations 2019-09-12 16:11:12 -04:00
graham-dds
2af0a2ecaf Update existing tests for new CLIN logic
- Factory adds total_amount field, which is always greater than obligated
field
- add total_amount field on tests that create TOs manually
- update tests that calculate total_contract_amount and
total_obligated_amount
2019-09-12 16:11:12 -04:00
graham-dds
0abd46eb4f fixup to form 2019-09-12 16:11:12 -04:00
graham-dds
bdeb3dfa1a use translations for clin validation message 2019-09-12 16:11:12 -04:00
graham-dds
33ed89df54 Add percent obligated to step 3 form 2019-09-12 16:11:12 -04:00
graham-dds
6224026d72 Custom component for handling clin dollar input
- Macro for CLIN dollar input HTML.
- Custom Vue component to react to
 "fundingValid" validaiton
2019-09-12 16:11:12 -04:00
graham-dds
cdbbc9f785 Add funding validation to clinfields vue component 2019-09-12 16:11:12 -04:00