-
Pain: While a Keptn user can use the CLI/API for performing all operations, the UI has to provide the CRUD operations for project and service.
-
Target: Implementation of the main functionalities to create/update/delete a project/service.
-
Driver: Make it easier for Keptn users to get started and guide the user through a "getting-started" journey.
- Starting point: Display the
Create Project
button and ready for an automation journey message (if no project has been created yet) on the project screen:
- Forward user to the settings page of a project that behaves as :
- Instead of the project name the term
new project
is shown on the top - Menu on the left is disabled
- Mandatory fields are: project name and a Shipyard with at least one stage
- If the mandatory fields are provided, the
Create Project
button gets activated
- Instead of the project name the term
- After creating a project:
- A notification is displayed on the top
- The project name is displayed next to
keptn /
- The delete this project feature is available, and
- The menu on the right is activated.
- After creating a project, the user can delete a project via the settings page:
- A dialog box is asking for confirmation and shows an error in case deleting the project did not work (see second box):
- After deleting the project, the user is forwarded to the project overview where a notification informs about the successful deletion:
There will be the following three entry points for creating a service:
- Forward the user to the "settings page" of a service by following the link here:
- Forward the user to the "settings page" of a service by clicking on the
Create Service
button on the service screen: - On the settings page under "Services"
The view to create a service is located in the project settings. The user gets re-directed here.
On the view, there is a form field, a drag and drop element and a button "Create service"
- The form field "Service name" is mandatory.
- HOW TO DEAL WITH FILES? (see below)
- When the button is clicked, the service is created via API.
- If there is an error, an error message is displayed on the same view.
- In the case of successfully creating the service, the service gets added to the navigation. The navigation points get preselected and the service name is shown as the headline in the view.
- By going to the settings page and selecting a service, the user can delete it:
- When selecting a service, a
Danger zone
section is provided that allows deleting the service - A confirmation dialog asks the user to enter the name of the service
- After entering the name, the button (I understand ... ) is active
- If an error occurred, the error is shown in the confirmation dialog:
- After successfully deleting a service, the user stays at the settings page
- A notification informs the user about a successful deletion:
- Finally, the next service in the list gets selected (in this case: carts-db)
-
There are two starting points for triggering a sequence in the Bridge:
- Environment screen - here I have the overview of the whole project
- Sequence screen - context-wise I would expect to be able to trigger a sequence also here
-
When the user clicks on the button
Trigger a new sequence
- Environment screen: Opens the form
- Sequence screen: Redirects to environment screen with an open form