41 Commits

Author SHA1 Message Date
richard-dds
7f4f857424 Sort task orders by status and time_created 2019-06-10 15:16:02 -04:00
richard-dds
e84e61bbad Update seed script with TOs of various statuses 2019-06-10 15:15:39 -04:00
George Drummond
f7562714cb
Add New Portfolio Workflow 2019-06-04 13:10:42 -04:00
dandds
5434443b02 Adjust script/seed_sample.py for new portfolio invitation flow. 2019-06-03 15:57:49 -04:00
leigh-mil
1784318e0e Update seed_sample with new TO info 2019-05-31 13:07:03 -04:00
dandds
df06d1b62f Use application_role_id on environment_roles.
In the future, an `application_invitation1 will not refer to a `user` until
someone accepts the invitation; they'll only reference an
`application_role`. When a user is invited to an application, the
inviter can specify the environments the invitee should have access to.
For this to be possible, an `environment_role` should reference an
`application_role`, because no `user` entity will be known at that time.

In addition to updating all the models and domain methods necessary for
this change, this commit deletes unused code and tests that were
dependent on `environment_roles` having a `user_id` foreign key.
2019-05-31 11:21:20 -04:00
dandds
9084dce762 build out seed sample script
- semi-random data for applications and environments
- added users to applications and environments
- updated CSPRole enum with current CSP roles
2019-04-11 15:38:27 -04:00
George Drummond
e556ded6dd
Fix script to reflect changes in ApplicationRoles.create 2019-04-11 14:17:28 -04:00
George Drummond
50a532ddbb
ApplicationRoles seed and domain 2019-04-11 10:03:21 -04:00
dandds
92e13dbf1b update seed_sample script to give default perms to portfolio users 2019-04-08 06:25:44 -04:00
dandds
4a0dd2d432 remove unused domain methods and arguments 2019-03-22 06:31:20 -04:00
leigh-mil
c2e20c8757 Remove unnecessary get_users call 2019-03-06 16:30:37 -05:00
leigh-mil
4b45233fd4 Removed unused function and associated array of data 2019-03-06 16:29:47 -05:00
leigh-mil
da4edc3343 Create all users before creating portfolios 2019-03-06 15:41:35 -05:00
leigh-mil
600d6d1993 Formatting 2019-03-04 13:41:18 -05:00
leigh-mil
04dc6703b2 Move inviting members into separate function so portfolios can be created where all members have accepted invites 2019-03-04 13:32:53 -05:00
leigh-mil
b82b5bb9c0 Add in start and end dates to creating TOs and refactor to create all TOs at once so they can have overlapping start/end dates 2019-03-04 13:26:53 -05:00
leigh-mil
cb78976c18 Add service branch to portfolios 2019-03-01 15:13:12 -05:00
leigh-mil
201e4e9e35 Move creating Aardvark and Beluga from remove_sampe_data to seed_sample;
Refactor seed_sample into reusable functions;
Rename Aardvark to A-Wing and Beluga to B-Wing, and use Star Wars names
for other portfolios
2019-03-01 14:52:10 -05:00
leigh-mil
324c416a3b Remove Requests from seed_sample 2019-02-26 16:23:15 -05:00
leigh-mil
e39f8d6fee Update Portfolio names in seed file to reflect funding status 2019-02-04 13:56:49 -05:00
leigh-mil
db1c712c8b Update seed_sample with porfolios with different funding statuses 2019-01-29 15:52:55 -05:00
dandds
80f633f457 allow config dictionary as argument to make_config; disable CRLs for scripts 2019-01-18 09:44:31 -05:00
Patrick Smith
b2605e3a85 Add even more task orders for sample portfolios 2019-01-15 18:34:52 -05:00
Patrick Smith
e41f01398c Update seed sample to create multiple task orders for each portfolio 2019-01-15 11:16:40 -05:00
Patrick Smith
1cd015a862 Include scripts in formatting 2019-01-15 10:56:28 -05:00
Patrick Smith
f79af12004 Small typo fix in seed sample script 2019-01-15 10:53:54 -05:00
dandds
2aea85b9c0 fix case mistake in seed script 2019-01-14 16:00:17 -05:00
dandds
79613fbe40 fix seed scripts 2019-01-14 16:00:17 -05:00
dandds
3fc323d785 project -> application everywhere 2019-01-14 16:00:17 -05:00
Patrick Smith
ad6781f76e Use new "Workspaces.create" to create sample workspace 2019-01-02 11:26:29 -05:00
dandds
e509c34cdd change name of request relationship to legacy task order 2018-12-13 11:36:45 -05:00
dandds
2f515d7b47 change current task order table name
rename existing task order factory

fix legacy task order repr
2018-12-13 11:36:44 -05:00
dandds
e6d267a568 fix sample data scripts 2018-12-10 10:21:32 -05:00
richard-dds
b1468f1376 Add some invited users to the seed script 2018-11-13 14:39:44 -05:00
richard-dds
5480654db9 Fix seed_sample 2018-11-05 14:20:07 -05:00
richard-dds
3765a73dc1 Consolidate WorkspaceUser into WorkspaceRole 2018-11-05 14:20:07 -05:00
dandds
6ecd011808 update seed script to activate stock workspace users 2018-11-01 13:52:03 -04:00
Montana
e1767488c7 Fix seed script bug 2018-09-25 11:13:24 -04:00
dandds
e668cb93d0 formatting and add financial details to requests in seed_sample script 2018-09-24 11:03:20 -04:00
richard-dds
056bb41e9e Rename the old seed script to seed_sample.py 2018-09-21 14:02:51 -04:00