open-index/open-npm huggingface dataset:
npm package: @plexus-interop/common-api-impl
Description: Common API implementation
Latest version: 0.19.1

# Implementation for Common API Draft Proposal

Partial implementation for [Common Interop API](https://github.com/finos-plexus/finos-plexus.github.io/blob/master/client-api/client-api.ts). 

## Metadata Setup

Plexus Interop based on Metadata, so each application interracting via Common API should still be defined in metatada. 

- All Methods/Streams/Messages must be defined as regular Plexus Messages and Services
- Method/Stream names, used from client code, should refer to aliases of provided actions. E.g. method, used like below:

```javascript
peer.invoke('close-market-order', { orderId });
```
should be defined in metadata by action provider as following:
```
application ProviderApplication {
    provides OrderService { 
        CloseMarketOrder [(provided_method_alias) = "close-market-order" ]; 
    }
}
```
- All apps should be also marked with aliases in metadata to be discovered by Common API, e.g.:
application connecting to Plexus using
```javascript
const peer = await window.platform.connect('web-trader-client');
```
should be mapped via custom option like this:
```
application WebTraderClient {
    option (app_alias) = "web-trader-client";
}
```

## Implemented features

API is implemented partially, all other methods raise ```Method not implemented``` error. Available features can be checked via feature flags API. Here is the list of supported functionality:

  - InvokeMethod

  - SubscribeStream

  - RegisterMethodOnConnect

  - RegisterStreamOnConnect

  - DiscoverMethods

  - DiscoverStreams
npm package: @plexus-interop/studio
Description: This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.6.0.
Latest version: 0.19.1

# Plexus Interop Studio

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.6.0.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).