Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(corda-connector): list flows endpoint #624

Closed
petermetz opened this issue Mar 2, 2021 · 0 comments · Fixed by #655
Closed

feat(corda-connector): list flows endpoint #624

petermetz opened this issue Mar 2, 2021 · 0 comments · Fixed by #655
Assignees
Labels
Corda enhancement New feature or request

Comments

@petermetz
Copy link
Member

Is your feature request related to a problem? Please describe.

There should be a quick and easy way to list the available flows for discovery purposes.

Describe the solution you'd like

An endpoint that responds with the corda RPC proxies similarly named method's return value (e.g. the list of flows.

Describe alternatives you've considered

None, I'm pretty sure that we need this and that this is the simplest way to achieve it.

Additional context

N/A

cc: @takeutak @sfuji822 @hartm @jonathan-m-hamilton @AzaharaC @jordigiam @kikoncuo

@petermetz petermetz added the enhancement New feature or request label Mar 2, 2021
@petermetz petermetz self-assigned this Mar 2, 2021
@petermetz petermetz changed the title feat(corda-connector): list flos endpoint feat(corda-connector): list flows endpoint Mar 2, 2021
petermetz added a commit to petermetz/cacti that referenced this issue Mar 10, 2021
Adds an endpoint that responds with the Corda RPC
proxies similarly named method's return value (e.g. the list of flows)

As an example return value, please observe this JSON array:

```json
[
    "net.corda.core.flows.ContractUpgradeFlow$Authorise",
    "net.corda.core.flows.ContractUpgradeFlow$Deauthorise",
    "net.corda.core.flows.ContractUpgradeFlow$Initiate",
    "net.corda.finance.flows.CashExitFlow",
    "net.corda.finance.flows.CashIssueAndPaymentFlow",
    "net.corda.finance.flows.CashIssueFlow",
    "net.corda.finance.flows.CashPaymentFlow",
    "net.corda.finance.internal.CashConfigDataFlow",
    "net.corda.samples.obligation.flows.IOUIssueFlow",
    "net.corda.samples.obligation.flows.IOUSettleFlow",
    "net.corda.samples.obligation.flows.IOUTransferFlow",
    "net.corda.samples.obligation.flows.SelfIssueCashFlow"
]
```

Fixes hyperledger#624

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz added a commit to petermetz/cacti that referenced this issue Mar 10, 2021
Adds an endpoint that responds with the Corda RPC
proxies similarly named method's return value (e.g. the list of flows)

As an example return value, please observe this JSON array:

```json
[
    "net.corda.core.flows.ContractUpgradeFlow$Authorise",
    "net.corda.core.flows.ContractUpgradeFlow$Deauthorise",
    "net.corda.core.flows.ContractUpgradeFlow$Initiate",
    "net.corda.finance.flows.CashExitFlow",
    "net.corda.finance.flows.CashIssueAndPaymentFlow",
    "net.corda.finance.flows.CashIssueFlow",
    "net.corda.finance.flows.CashPaymentFlow",
    "net.corda.finance.internal.CashConfigDataFlow",
    "net.corda.samples.obligation.flows.IOUIssueFlow",
    "net.corda.samples.obligation.flows.IOUSettleFlow",
    "net.corda.samples.obligation.flows.IOUTransferFlow",
    "net.corda.samples.obligation.flows.SelfIssueCashFlow"
]
```

Fixes hyperledger#624

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz added a commit that referenced this issue Mar 11, 2021
Adds an endpoint that responds with the Corda RPC
proxies similarly named method's return value (e.g. the list of flows)

As an example return value, please observe this JSON array:

```json
[
    "net.corda.core.flows.ContractUpgradeFlow$Authorise",
    "net.corda.core.flows.ContractUpgradeFlow$Deauthorise",
    "net.corda.core.flows.ContractUpgradeFlow$Initiate",
    "net.corda.finance.flows.CashExitFlow",
    "net.corda.finance.flows.CashIssueAndPaymentFlow",
    "net.corda.finance.flows.CashIssueFlow",
    "net.corda.finance.flows.CashPaymentFlow",
    "net.corda.finance.internal.CashConfigDataFlow",
    "net.corda.samples.obligation.flows.IOUIssueFlow",
    "net.corda.samples.obligation.flows.IOUSettleFlow",
    "net.corda.samples.obligation.flows.IOUTransferFlow",
    "net.corda.samples.obligation.flows.SelfIssueCashFlow"
]
```

Fixes #624

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
AzaharaC pushed a commit to kikoncuo/cactus that referenced this issue Mar 12, 2021
Adds an endpoint that responds with the Corda RPC
proxies similarly named method's return value (e.g. the list of flows)

As an example return value, please observe this JSON array:

```json
[
    "net.corda.core.flows.ContractUpgradeFlow$Authorise",
    "net.corda.core.flows.ContractUpgradeFlow$Deauthorise",
    "net.corda.core.flows.ContractUpgradeFlow$Initiate",
    "net.corda.finance.flows.CashExitFlow",
    "net.corda.finance.flows.CashIssueAndPaymentFlow",
    "net.corda.finance.flows.CashIssueFlow",
    "net.corda.finance.flows.CashPaymentFlow",
    "net.corda.finance.internal.CashConfigDataFlow",
    "net.corda.samples.obligation.flows.IOUIssueFlow",
    "net.corda.samples.obligation.flows.IOUSettleFlow",
    "net.corda.samples.obligation.flows.IOUTransferFlow",
    "net.corda.samples.obligation.flows.SelfIssueCashFlow"
]
```

Fixes hyperledger#624

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
jordigiam pushed a commit to kikoncuo/cactus that referenced this issue Apr 8, 2021
Adds an endpoint that responds with the Corda RPC
proxies similarly named method's return value (e.g. the list of flows)

As an example return value, please observe this JSON array:

```json
[
    "net.corda.core.flows.ContractUpgradeFlow$Authorise",
    "net.corda.core.flows.ContractUpgradeFlow$Deauthorise",
    "net.corda.core.flows.ContractUpgradeFlow$Initiate",
    "net.corda.finance.flows.CashExitFlow",
    "net.corda.finance.flows.CashIssueAndPaymentFlow",
    "net.corda.finance.flows.CashIssueFlow",
    "net.corda.finance.flows.CashPaymentFlow",
    "net.corda.finance.internal.CashConfigDataFlow",
    "net.corda.samples.obligation.flows.IOUIssueFlow",
    "net.corda.samples.obligation.flows.IOUSettleFlow",
    "net.corda.samples.obligation.flows.IOUTransferFlow",
    "net.corda.samples.obligation.flows.SelfIssueCashFlow"
]
```

Fixes hyperledger#624

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Corda enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant