Git Product home page Git Product logo

fix-orchestra-api's People

Contributors

donmendelson avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bellmit

fix-orchestra-api's Issues

Authorization for operations

So far, no security model has been implemented for Orchestra API. Aside from user authentication, it would be useful to implement an authorization model. Desirable features:

  • Users with read-only access allowed to query but not perform creation (POST) or update (PUT) operations versus users with full access.
  • Users with access to specific Orchestra repositories only.

API for interfaces and sessions

So far, the REST API covers message structures and workflow. It may also be useful to wrap a REST API around the Orchestra Interfaces schema. Included features of that schema are:

  • Service offerings (application layer)
  • Protocol stack (presentation, session, transport)
  • Session definitions: identifiers, transport settings such as host:port

With appropriate security, this would allow users to query interfaces in a standard and use the information to configure their system.

Orchestra file persistence

Currently the server holds Orchestra repositories in memory as XML DOM. It would be advantageous for the server to persist Orchestra files in a directory and read it Orchestra files and load them into memory on demand.

Assign unique IDs to new elements

It would be desirable for the server to assign unique IDs to new elements to relieve users of the burden of avoiding ID collisions. For example, when a new field is added, the server could assign it the next free tag number in a series. Also, it could assign a unique object ID to new elements as a UUID or URI (under a given base path).

Maintain pedigree of changes

The REST API currently has a data structure for element pedigree that is consistent with the Orchestra XML Schema. However, does not yet have operations to maintain pedigree based element creation, deletion, or update. It would be desirable for the server to maintain pedigree as changes are made through the API.

Generation of the API from a common model

The initial implementation of the Swagger specification of Orchestra API is being created manually by translating the data structures in the Orchestra XML Schema. If changes are made to Orchestra in the future, the XML, REST API and other representations could get out of sync, however. It would good to generate the Swagger API spec and others from a common model, probably UML.

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.