Commit 255b4e48 authored by Jose Castro Leon's avatar Jose Castro Leon

Improve project creation workbook

parent aee33aff
Pipeline #1087332 failed with stages
in 2 minutes and 33 seconds
......@@ -28,7 +28,7 @@ workflows:
name: <% $.name %>
domain: default
description: <% $.description %>
enabled: False
enabled: false
owner: <% $.owner %>
publish:
project_id: <% task(identity).result.id %>
......@@ -55,13 +55,13 @@ workflows:
input:
id: <% $.project_id %>
on-success:
- disable_project: <% not $.enabled %>
- finalize_project_creation
disable_project:
finalize_project_creation:
action: keystone.projects_update
input:
project: <% $.id %>
enabled: false
enabled: <% $.enabled %>
identity:
description: Creates a Project, assigns the ownership/membership
......@@ -104,8 +104,8 @@ workflows:
on-success:
- check_base_endpoint_group
- get_owner_role_id
- set_fim_properties: <% not ('Personal' in $.name) %>
- set_personal_project_properties: <% 'Personal' in $.name %>
- set_shared_properties: <% not ('Personal' in $.name) %>
- set_personal_properties: <% 'Personal' in $.name %>
check_base_endpoint_group:
action: keystone.endpoint_filter_check_endpoint_group_in_project
......@@ -135,14 +135,14 @@ workflows:
user: <% $.owner %>
project: <% $.project_id %>
set_fim_properties:
set_shared_properties:
action: keystone.projects_update
input:
project: <% $.project_id %>
fim-lock: 'True'
fim-skip: 'True'
set_personal_project_properties:
set_personal_properties:
action: keystone.projects_update
input:
project: <% $.project_id %>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment