question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expand ICR for service collaboration

See original GitHub issue

As a product manager I want to secure interoperability of framework services so that stakeholder can easily operate the oih.

Further description:

To ensure interoperability of the ICR API must be expanded to be able to start/stop a flow. Therefore the two following endpoints are needed:

We need to extend the API by the following resources:

  • POST /flows/{id}/start: Used to start a flow
  • POST /flows/{id}/stop: Used to stop a flow

Starting a flow means setting flow’s status to active and raising flow.starting event. Stopping a flow means setting flow’s status to inactive and raising flow.stopping event. The schema of the event payload is shown below.

Event:
  type: object
  required:
    - headers
    - payload
  properties:
    headers:
      type: object
       required:
         - name
         - createdAt
      properties:
        name:
          type: string
        createdAt:
          type: string
          format: date-time
    payload:
      type: object

The payload property is an arbitrary object to be sent with the event. Flow repository will send the entire flow as payload.

We also need to extend the flow model in the API by the following properties:

  • id: required
  • cron: required for polling flows and defaults to */3 * * * * if not set for a polling flow. Must not be set for a webhook flow.

Acceptance Criteria:

  • Endpoints added
  • Flow model adjusted
  • Test delivered
  • Endpoints checked by @DennisCES

Definition of Done

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
SvenHoefflercommented, Mar 14, 2019

The issue has been resolved, the most recent image of the flow repo is now deployed and reachable in the cluster and ready for testing.

0reactions
philecscommented, Mar 14, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

ICR Introduces Investor Access to Facilitate Direct ...
ICR Investor Access will work directly with management teams to identify, prioritize, and prepare for meetings with investors, as well as ...
Read more >
Full Integrated Collaborative Rerouting (ICR) Evaluation Report
The ICR concept is based upon reroute modeling, generating route options from a pre-coordinated database, and collaboration between Federal Aviation.
Read more >
ICR ESG Advisory & Shareholder Activism Team Announces ...
The ICR approach brings a differentiated single-continuum advisory service to the marketplace, combining strategic ESG advisory and activist ...
Read more >
Imperial and ICR collaboration to drive innovation in cancer ...
The new partnership is in line with Imperial's Strategy 2015-20, ... “The ICR will be able to expand its leadership role in cancer...
Read more >
Final Priorities, Requirements, Definitions, and Selection ...
The major purposes of the CSP are to expand opportunities for all students ... of services on which the applicant may propose to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found