Git Product home page Git Product logo

sc-rest's Introduction

Stream Commandr REST Service

This service exposes functionality of the Stream Commandr engine as a HTTP REST service.

Build

The following steps have to be performed:

  • Build the project with the Stream Commandr core library.
  • Set the necessary parameters either in application.properties or in start.bat:
    • log file and log level
    • session timeout and age
    • port number (this port has to be be used by the web application)
  • Build the project by executing gradle build

Deploy and Run

  • In the firewall, open the port on the server where this service will run.
    • Windows Server. Go to Server Manager, Menu Tools, Windows Firewall and Advanced Security, Inbound Rules.
    • Linux.
    • Azure. Go to Azure Portal and open Network Security Group (NSG) node used by VM. Open ports in Inbound Rules section.
  • Install necessary software:
    • Linux:
      • sudo apt-get update
      • sudo apt-get install default-jre
      • sudo apt-get install nginx
  • Copy:
    • Linux:
      • /var/www/html - application
      • /etc/nginx/sites-available/default - nginx configuration with default html files
  • Start services:
    • Linux:
      • sudo service nginx [start|stop|restart|status]
      • nohup java -jar /web/server.jar &
      • ps -ef | grep server

Change Log

A list of changes for each release can be found in the UI project.

  • v0.7.0 (2017-09-02)
  • v0.6.0 (2017-05-14)
  • v0.5.0 (2017-03-19)
  • v0.4.0 (2017-02-12)
  • v0.3.0 (2017-01-22)
  • v0.2.0 (2016-12-10)
  • v0.1.0 (2016-09-05)

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.