7439 Commits

Author SHA1 Message Date
leigh-mil
629d967566 remove unused celery task 2020-02-26 16:33:40 -05:00
leigh-mil
cc4cc645da Update queries for provisioning to filter out instances that have been claimed 2020-02-26 16:33:40 -05:00
leigh-mil
d108bf53ed
Merge pull request #1437 from dod-ccpo/unique-subscription-names
Unique subscription names
2020-02-26 16:24:50 -05:00
leigh-mil
2247657c32 Add tests for build_subscription_payload() 2020-02-26 16:05:16 -05:00
leigh-mil
2a2fafe7ea Use Environment.portofolio and portfolio_id properties instead of accessing them through application 2020-02-26 16:05:16 -05:00
leigh-mil
3544896d32 add token to end of subscription name to ensure uniqueness 2020-02-26 16:05:16 -05:00
leigh-mil
658e2cb9f1
Merge pull request #1435 from dod-ccpo/email-new-env-role
Email new env role
2020-02-26 13:25:02 -05:00
leigh-mil
668aa89edf fix circular import 2020-02-26 11:39:39 -05:00
leigh-mil
7a790b4b70 move creating the users principal name and mail nickname into a util file.
Fix typo.
2020-02-26 11:36:20 -05:00
leigh-mil
da0141a390 Refactor tests 2020-02-26 11:27:16 -05:00
leigh-mil
2c37b16963 Send email to user when env role is created 2020-02-26 11:27:16 -05:00
dandds
f8dd072340
Merge pull request #1439 from dod-ccpo/171364906-billing-account-name-config
Billing account name config and refactor portfolio to_dictionary method
2020-02-26 11:20:19 -05:00
dandds
2d501525b4
Merge branch 'staging' into 171364906-billing-account-name-config 2020-02-26 11:02:33 -05:00
leigh-mil
64f5af4474
Merge pull request #1438 from dod-ccpo/design-tweaks
Design tweaks
2020-02-25 13:41:00 -05:00
leigh-mil
94caf37e7f Make hr full-width in revoke invite form 2020-02-24 10:00:19 -05:00
leigh-mil
b8ddbff145 Set max width on forms 2020-02-24 10:00:19 -05:00
dandds
4c9d14e10b
Merge pull request #1441 from dod-ccpo/ugh
Don't check output status from ACR login in CI/CD.
2020-02-21 15:53:20 -05:00
dandds
7ad97403ba Don't check output status from ACR login in CI/CD. 2020-02-21 15:35:27 -05:00
graham-dds
dd19a12381 Replace csp data factory with to_dictionary method 2020-02-21 14:31:29 -05:00
graham-dds
7b76210b6a Add Azure billing acct name for initial CSP data 2020-02-21 14:31:29 -05:00
graham-dds
bb886dbe0f Add tests for portfolio.initial_clin_dict property
In doing this, fixed a bug on the clin.is_active property
2020-02-21 14:31:29 -05:00
graham-dds
dba63cdd15 Refactor Portfolio to_dictionary method
In refactoring this method, refactor some other areas:
- add a property to generate a dict needed for the "initial clin"
- add new relationship field to get all CLINs associated with a
  portfolio
- add a property to either get or generate a portfolio's domain name
- least importantly, sort imports

- On the CLIN model, add a property to get a JEDI clin type's number,
  i.e. JEDI_CLIN_3 -> 3. This should be the "initial_clin_type".
2020-02-21 14:31:29 -05:00
graham-dds
d46ed2b5b4 Specify clin sorting in TO <> CLIN relationship
This also removes the sorted_clins property on the task_order model
2020-02-21 14:31:29 -05:00
graham-dds
612e254104 Add AZURE_BILLING_ACCOUNT_NAME config var 2020-02-21 13:23:19 -05:00
tomdds
08ca8eac79
Merge pull request #1433 from dod-ccpo/state-machine-unit-tests
state machine unit tests
2020-02-20 10:39:23 -05:00
tomdds
be53a1fd1a
Merge branch 'staging' into state-machine-unit-tests 2020-02-20 10:21:41 -05:00
leigh-mil
57ba7d5979
Merge pull request #1420 from dod-ccpo/update-clins
Update CLINs
2020-02-20 10:19:52 -05:00
leigh-mil
0bda0c481e Explicitly pass in kwargs instead of splatting clin and portfolio data 2020-02-19 16:07:45 -05:00
leigh-mil
5c7dfc428e Add new tests and refactor existing tests 2020-02-19 16:07:44 -05:00
leigh-mil
4dc5f2aa91 Add beat task to queue 2020-02-19 16:07:44 -05:00
leigh-mil
6ef3265cb5 Create celery task for create_billing_instruction 2020-02-19 16:03:30 -05:00
leigh-mil
aa2d353260 Add query for finding new CLINs that have not been sent.
Use fixtures in tests.
2020-02-19 15:59:24 -05:00
1f58f40cb0 state machine unit tests csp data factory 2020-02-19 14:43:56 -05:00
dandds
b0f946dd35
Merge pull request #1432 from dod-ccpo/ci-fix-again
Set shell for failing docker login command.
2020-02-19 14:19:30 -05:00
dandds
478a5b3e0b
Merge branch 'staging' into ci-fix-again 2020-02-19 13:53:50 -05:00
graham-dds
ad08160bfb
Merge pull request #1434 from dod-ccpo/bugfix/171243757-fix-report-header-inconsistency
Tweak what "total portfolio value" represents
2020-02-19 13:43:33 -05:00
graham-dds
a3e9400a0d Tweak what "total portfolio value" represents
On the reports page, "total portfolio value" should represent the sum of
obligated funds for active task orders.
2020-02-19 13:21:39 -05:00
leigh-mil
a6b8c673e2
Merge pull request #1430 from dod-ccpo/schedule-dispatch-send-to
Schedule celery task for dispatch_send_task_order_files
2020-02-19 13:18:54 -05:00
leigh-mil
1d8bb2811d Update name of function 2020-02-19 12:25:34 -05:00
leigh-mil
b8bf106a96 Move dispatch_send_task_order_files tests into a test class 2020-02-19 12:25:34 -05:00
leigh-mil
411f0477e9 Schedule celery task for dispatch_send_task_order_files 2020-02-19 12:25:34 -05:00
leigh-mil
0bb23a74ec
Merge pull request #1427 from dod-ccpo/new-portfolio-styling--v2
portfolio form styling
2020-02-19 12:10:08 -05:00
leigh-mil
437ed6d9b9 Update portfolio styling and move DoD component help text 2020-02-19 11:42:03 -05:00
leigh-mil
151d3f7454 Fix input width in TO form 2020-02-19 11:42:03 -05:00
leigh-mil
c5e31975e2 Fix inputs in member modal forms 2020-02-19 11:42:03 -05:00
leigh-mil
2665094136 Apply max width to all input elements.
Update form class with better name and add form-conrainer--narrow class.
2020-02-19 11:42:03 -05:00
leigh-mil
bd14955a6a
Merge pull request #1425 from dod-ccpo/email-notification-new-app-role
Email notification for new app role
2020-02-19 11:41:07 -05:00
leigh-mil
0deca6afcb Refactor tests 2020-02-19 11:12:24 -05:00
leigh-mil
207c34e536 Send email to user when App Role is created 2020-02-19 11:12:24 -05:00
tomdds
f956b41f98 Fully set up portfolio fixture for state machine tests
Also fixes some formatting problems
2020-02-19 10:40:06 -05:00