-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1255 from Amsterdam/feature/add-sub-wf
Add 2 new tasks to subworkflow
- Loading branch information
Showing
12 changed files
with
2,098 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,914 changes: 1,914 additions & 0 deletions
1,914
app/apps/workflow/bpmn_files/default/sub_workflow/7.1.0/sub_workflow.bpmn
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Creates a superuser for the zaak-gateway backend | ||
echo "from django.contrib.auth import get_user_model; get_user_model().objects.create_superuser('[email protected]', 'insecure')" | docker-compose -f docker-compose.local.yml run -T --rm zaak-gateway python manage.py shell | ||
echo "from django.contrib.auth import get_user_model; get_user_model().objects.create_superuser('[email protected]', 'insecure')" | docker compose -f docker-compose.local.yml run -T --rm zaak-gateway python manage.py shell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/bin/bash | ||
docker-compose -f docker-compose.local.yml run --rm zaak-gateway python manage.py shell -c " | ||
docker compose -f docker-compose.local.yml run --rm zaak-gateway python manage.py shell -c " | ||
from django.contrib.auth import get_user_model | ||
get_user_model().objects.get_or_create(email='[email protected]', first_name='local', last_name='user')" | ||
|
||
docker-compose -f docker-compose.local.yml run --rm zaak-gateway python manage.py shell -c " | ||
docker compose -f docker-compose.local.yml run --rm zaak-gateway python manage.py shell -c " | ||
from apps.users.models import User, UserGroup | ||
from django.contrib.auth.models import Permission | ||
(group, _) = UserGroup.objects.get_or_create(name='PROJECTHANDHAVER', display_name='Projecthandhaver') | ||
|
@@ -14,7 +14,7 @@ group.permissions.add(Permission.objects.get(name='Can read gevoelige dossiers') | |
user = User.objects.get(email='[email protected]') | ||
user.groups.add(group)" | ||
|
||
docker-compose -f docker-compose.local.yml run --rm zaak-gateway python manage.py shell -c " | ||
docker compose -f docker-compose.local.yml run --rm zaak-gateway python manage.py shell -c " | ||
from django_celery_beat.models import PeriodicTask, IntervalSchedule | ||
schedule, created = IntervalSchedule.objects.get_or_create(every=10, period=IntervalSchedule.SECONDS) | ||
PeriodicTask.objects.get_or_create(interval=schedule, name='Update workflows', task='apps.workflow.tasks.task_update_workflows')" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#!/bin/bash | ||
|
||
docker-compose down | ||
docker compose down | ||
|
||
docker volume rm $(docker volume ls -q) | ||
|
||
docker-compose -f ../docker-compose.local.yml build | ||
docker compose -f ../docker-compose.local.yml build | ||
|
||
docker-compose run --rm zaak-gateway python manage.py migrate | ||
docker compose run --rm zaak-gateway python manage.py migrate | ||
|
||
bash ../bin/setup_credentials.sh | ||
|
||
./fix_models.sh | ||
|
||
docker-compose -f ../docker-compose.local.yml up | ||
docker compose -f ../docker-compose.local.yml up |