Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

API Client Connector designs #49

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ Access UX design resource and documentation for Syndesis.


## Customizations
* ### [API Connector](designs/apiconnector/apiconnector.md)
* ### [Technical Extension](designs/technical_extensions/tech_ext.md)
90 changes: 90 additions & 0 deletions designs/apiconnector/apiconnector.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# API Client Connector

## Upload Swagger

First step is for user to upload a swagger file either via url or file upload.

![Image of choosing connection](img/uploadswaggerfile.png)

1. At anytime, the user can cancel this workflow by selecting "cancel" button in toolbar.
1. The main steps of the workflow are shown in the bar along the top of the screen. User can always see all of the primary steps in the flow at all times.
1. User can click on info icon if they aren't sure how to upload a swagger/need more info on swagger files. Content to show upon click is still TBD. Either link to a new page or popover - depends on length of content.
1. User can upload a file via 2 different ways - either by inputting the URL of file or by uploading a swagger file
1. If uploading, user selects file via "choose file" button
1. Select next to move onto next step. Will be disabled until a file is uploaded.

![Image of choosing connection](img/uploadswaggerurl.png)

1. If user selects URL option, user must input the url for the swagger file via the input field. "Next" button will also be disabled until a url in inserted.

![Image of choosing connection](img/validationerror.png)

1. **Validation Error**: If url or file uploaded isn't a supported swagger type, then user will get an error message in form on inline notification. Won't be triggered until user selects "next" button.
1. Input field will be highlighted in red if error occurs.

## Review Swagger Actions

![Image of choosing connection](img/reviewswaggerfile.png)

1. User can review a summary of the actions associated with the swagger file in this step.
1. Select 'Next" button to move onto next step.

## Security

**Please Note:** This step is still TBD and is a placeholder until more research is done on security of an API client connector.

![Image of choosing connection](img/security.png)

1. User selects authentication type via a list of options

![Image of choosing connection](img/securityconfigure.png)

1. When selecting a radio button, progressive disclosure will review appropriate fields user needs to fill out for each authentication type.
1. Select "next" button when done. Will be disabled until fields are filled in.


## General Connector Info

The last step is for user to review general info of swagger file.

![Image of choosing connection](img/generalconnecterinfo.png)

1. User must upload an icon for connector. If no icon is uploaded, will use a default icon.
1. General info will be auto-populated from swagger file. User can update info if they wish.
1. Select "next" to move to next step
1. At this step the user can complete the workflow and select "create connector" in toolbar.

## API Connector List

User can view all API client connectors created within the Customizations section.

![Image of choosing connection](img/connectorlist.png)

1. API client Connector is a section found within Customizations. User can get here by selecting the tab at top of page.
1. To create a new API connector, user clicks on button to go through workflow.
1. API connectors shown in a list view. Info shown includes name, short description, and number of times the connector is used in an integration.
- User also has ability to delete a connector from the list.
- If a connector is in use when a user deletes it, a popup will appear stating it's in use and user has to confirm deletion.
- Clicking on a connector list item will take user to the details page.
1. User can use the filter tool to quickly find a specific connector

## Empty State

First time user comes to this page, there will be no API client connectors, so must show an empty state

![Image of choosing connection](img/emptystate.png)

1. User can click on link for help docs
1. User selects button to create an API client connector. Will launch workflow

## API Connector Details

Upon clicking on a connector item within the list on API client connector page, user will be taken to a details page of that specific connector.

![Image of choosing connection](img/connectordetails.png)

1. Breadcrumbs for user to navigate back to previous pages.
1. Preview tile of connector.
1. User can inline edit general info. Triggered by selecting pencil icon.

**Please Note:** This page isn't final. Will work closely with Stan to make sure all details page throughout app are consistent.
Binary file added designs/apiconnector/img/connectordetails.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added designs/apiconnector/img/connectorlist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added designs/apiconnector/img/emptystate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added designs/apiconnector/img/generalconnecterinfo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added designs/apiconnector/img/reviewswaggerfile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added designs/apiconnector/img/security.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added designs/apiconnector/img/securityconfigure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added designs/apiconnector/img/uploadswaggerfile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added designs/apiconnector/img/uploadswaggerurl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added designs/apiconnector/img/validationerror.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.