Skip to content

Deploy boards

Filipa Lacerda requested to merge 1589-deploy-boards into master

Deploy boards:

  • Not all environments have a deploy board. Only the ones with rollout_status_path key.
  • When the user clicks in the arrow we make a request to fetch deploy board data.
  • If the request is successful we render the deploy board
  • If the response is 204 we use backoff pooling and make at least 3 requests until we give up and show an error message.
  • If the request is unsuccessful we render a flash message in the top of the screen.

In this Merge Request:

  • Created a Vue component for deploy boards.
    • This component is a smart component and it's responsible to make a request to the API
  • Created a Vue component for each instance
    • This is a dumb component that renders provided data
  • Create an utility function for backoff pooling.
  • Added methods to the already existing code base to render deploy boards.
  • Added tests.
  • Used flexbox to guarantee a fully responsive layout for the instances.

| Success Response | Back off pooling | 204 response | With pods |--------|-------|---|---|---| | deployboards | backoff | 204| Screen_Shot_2017-02-18_at_15.33.45

Screen_Shot_2017-02-21_at_17.45.34

Does this MR meet the acceptance criteria?

Closes #1589 (closed)

Merge request reports

Loading