Code Monkey home page Code Monkey logo

plexus-interop's Introduction

Plexus Interop Symphony Software Foundation - Incubating

Overview

Plexus Interop is metadata-centric language-agnostic desktop app-to-app interoperability framework with extensible model for launching new instances of desktop Apps on demand.

The main goal of the framework is to enable development of extensible workflows connecting independent Apps developed in different technologies (.NET, Web, Java, Python etc) and passing context (structured data objects) between them.

Framework architecture is based around central broker providing hub-and-spoke connectivity between Apps and brokering strongly typed RPC-style calls between them. Broker has a connection to Application Lifecycle Manager which is capable of creating new instances of the Apps based on the their runtime-metadata (e.g. container type, launch command, params etc) defined in a registry.

Plexus Interop separates interoperability from the container, which provides notable advantages: different containers can be leveraged in the same workflow, launched applications residing outside of containers can participate in interop activities.

Key components and high level architecture

Repository Overview

Plexus Interop repository consist of the following main sections:

  • desktop - Interop Broker, .NET Interop Client and sample apps implemented in C# using .NET Core 2.0.
  • web - Web Interop Client and sample apps implemented in TypeScript.
  • dsl - Protobuf and Plexus Interop grammar parsers, validators and code-generators implemented using Xtext framework.
  • docs - documentation implemented in AsciiDoc format using Asciidoctor processor.
  • protocol - definitions of Plexus Interop protocol messages in Protobuf format.
  • samples - sample interop metadata.

Build/Install

All Plexus Interop components can be build using Gradle tool using the following single command:

gradlew build --console plain

Build produces artifacts into folder "bin".

Running Samples

After successfull build samples binaries will be located in bin directory.

Run .Net to Web interop example on Windows:

  • Go to bin/win-x86/samples

  • Launch Broker – LaunchBroker.cmd

  • Launch Greeting Client – LaunchGreetingClient.cmd

    • Choose “Discovery” option (5) and “Greeting from Electron Web app” from discovery response

    Sample-1

    • Enter name, e.g. “John” and hit enter – Web Greeting Server app will be launched by Broker, print Greeting Request:

    Sample-2

    • And send response back to .Net Greeting Client

    Sample-3

    • Then choose Discovery (5) and “Greeting from .Net app” from discovery response
    • Enter another name, e.g. “Mike” and hit enter - .Net Greeting Server app will be launched and print greeting request:

    Sample-4

Documentation

To check out docs, visit https://symphonyoss.github.io/plexus-interop/.

Documentation project is located in folder 'docs'. We build documentation using AsciiDoc.

To render diagrams during the build you need to have graphviz installed on the machine.

Invoke the following command to run the documentation build:

gradlew -p docs --console plain

After successful build documentation is available via:

bin/docs/html5/index.html

Contributing

Please refer to Contribution guidelines for this project.

plexus-interop's People

Contributors

alexey-ogarkov-db avatar dmitry-bedrin-db avatar maoo avatar nikoant avatar svyatoslav-kryukov-db avatar toryant avatar udalmik avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.