3118 Commits

Author SHA1 Message Date
mike cullerton
2e9205fa08 Test and workflow for new script 2022-05-11 15:07:47 -04:00
mike cullerton
e43df04116 New script that returns state and state_message for a workflow
- Requires a workflow_spec_id

- Returns a dictionary
  - {'state': 'required', 'message': 'This workflow is required.'},
  - {'state': None, 'message': None}

- Raises an error if no workflow_spec_id or if no workflow is found
2022-05-11 15:07:03 -04:00
Dan
0f611be529 Bumping to new version of Spiffworkflow with updates to the serializer. 2022-05-10 15:09:06 -04:00
Dan
b94f2ecca1 fixing the docker file not to do something weird with requirements.txt when we are using pipenv right now. 2022-05-10 13:59:25 -04:00
Dan
063da419d0 updating for the last version of Spiffworkflow which deprecates the use of task.STATE values, in favor of TaskState.STATE, for example TaskState.READY 2022-05-10 12:28:55 -04:00
Dan Funk
a78bb46682
Merge pull request #538 from sartography/bug/email-data-issues-735
Bug/email data issues #735
2022-05-10 09:54:16 -04:00
Dan Funk
0431a6f17a
Merge pull request #535 from sartography/chore/unlock-admin-sandbox-720
Chore/unlock admin sandbox #720
2022-05-10 09:49:30 -04:00
Dan Funk
8a8d0dcceb
Merge pull request #537 from sartography/progress-status-issue-721
Progress status issue #721
2022-05-10 09:49:00 -04:00
Dan
8d8194da45 Removing some unused code. 2022-05-10 09:42:23 -04:00
mike cullerton
b9736b8e5c Look for recipients, cc and bcc in the task data 2022-05-10 08:55:24 -04:00
mike cullerton
7371d9f4aa cc and bcc should be strings, like recipients 2022-05-10 08:54:11 -04:00
mike cullerton
8c92c7870c allow null values 2022-05-09 16:27:33 -04:00
mike cullerton
598a9b3ef1 Add progress_status to update study schema 2022-05-09 16:02:00 -04:00
jasquat
271e6df17f
Merge pull request #536 from sartography/feature/actually_run_tests
actually run the tests
2022-05-09 15:15:12 -04:00
jasquat
f240cb00d5 actually run the tests 2022-05-09 15:07:40 -04:00
Dan Funk
fda75c4ddd
Merge pull request #534 from sartography/feature/python_3_9_and_github_actions
Feature/python 3 9 and GitHub actions
2022-05-09 13:06:26 -04:00
mike cullerton
650c63f268 Unused 2022-05-09 10:26:42 -04:00
mike cullerton
8169014869 Allow None values for state (which is a string, not a mapping) 2022-05-09 10:07:43 -04:00
mike cullerton
67f435af2f redundant 2022-05-09 10:06:06 -04:00
mike cullerton
0eff50ca13 Add state_message to test 2022-05-09 09:08:52 -04:00
jasquat
bb77b5b004 added note about spiffworkflow update 2022-05-09 09:07:39 -04:00
mike cullerton
c3919c6112 clean up: spacing 2022-05-09 08:42:39 -04:00
mike cullerton
312d338068 Merge branch 'dev' into chore/unlock-admin-sandbox-720 2022-05-09 08:35:13 -04:00
mike cullerton
3d2ba971f2 Include the state message 2022-05-09 08:31:46 -04:00
mike cullerton
f49615bfec Change item to workflow_spec_id 2022-05-06 17:54:05 -04:00
mike cullerton
8cac4e2f95 Change state from enum to string 2022-05-06 17:22:11 -04:00
jasquat
12bac2382f do not build in travis w/ burnettk 2022-05-06 16:42:01 -04:00
jasquat
5cd8f41d7c updated name of actions w/ burnettk 2022-05-06 16:25:04 -04:00
jasquat
99c54faaf0 try without proj key take 2 w/ burnettk 2022-05-06 16:19:36 -04:00
jasquat
1cf8a6d00c try without proj key w/ burnettk 2022-05-06 16:18:16 -04:00
jasquat
a3aa41dc70 fixed github token typo w/ burnettk 2022-05-06 16:07:53 -04:00
jasquat
08ba0a7851 pushing requires sonarcloud as well w/ burnettk 2022-05-06 16:04:58 -04:00
jasquat
5c53f71eb1 also set github token w/ burnettk 2022-05-06 16:02:57 -04:00
jasquat
417e0db3b5 set sonar token w/ burnettk 2022-05-06 15:54:11 -04:00
jasquat
dc79f2d6ed attempting to run sonar scan w/ burnettk 2022-05-06 15:47:24 -04:00
jasquat
d896967ffc downgrade spiff w/ burnettk 2022-05-06 14:52:31 -04:00
jasquat
2ce78c481d attempt to get chrome w/ burnettk 2022-05-06 14:44:24 -04:00
jasquat
7e26ba45bc also check out the repo w/ burnettk 2022-05-06 14:33:34 -04:00
jasquat
7a041aadc9 run graph to see what is installed w/ burnettk 2022-05-06 14:32:40 -04:00
jasquat
b4af002449 try running coverage without args w/ burnettk 2022-05-06 14:29:59 -04:00
jasquat
d2ee8d212d install pipenv w/ burnettk 2022-05-06 14:21:33 -04:00
jasquat
80a5eab87c try exposing the postgres port to the host w/ burnettk 2022-05-06 14:20:05 -04:00
jasquat
d2c48c4fc0 try to figure out what is going on with docker ps w/ burnettk 2022-05-06 14:17:50 -04:00
jasquat
bcfc116c70 try localhost w/ burnettk 2022-05-06 14:14:25 -04:00
mike cullerton
86f3c369a0 Picking nits 2022-05-06 14:13:25 -04:00
mike cullerton
d8ae719489 We don't need to run _update_status_of_workflow_meta any more
But, it returned warnings to the front end for debugging

Ticket 733 was created to address this.
Fix the warnings and return them again.

This also broke the tests in test_study_status_message, so we skip them for now
2022-05-06 14:13:02 -04:00
jasquat
a2388d517e set pg pass globally w/ burnettk 2022-05-06 14:10:50 -04:00
jasquat
d4dcda346f we must set a password w/ burnettk 2022-05-06 14:09:42 -04:00
mike cullerton
c28e9a5bdd Make sure we update workflow state when processing the master workflow 2022-05-06 14:09:23 -04:00
jasquat
ed25de188e connect to correct postrgres host w/ burnettk 2022-05-06 14:06:47 -04:00