Giter Site home page Giter Site logo

wfos's Introduction

wfos

This project implements an HCD (Hardware Control Daemon) and an Assembly using TMT Common Software (CSW) APIs.

Subprojects

  • wfos-bgrxassembly - an assembly that talks to the wfos HCD
  • wfos-rgriphcd - an HCD that talks to the wfos hardware
  • wfos-wfosdeploy - for starting/deploying HCDs and assemblies

Upgrading CSW Version

project/build.properties file contains csw.version property which indicates CSW version number. Updating csw.version property will make sure that CSW services as well as library dependency for HCD and Assembly modules are using same CSW version.

Build Instructions

The build is based on sbt and depends on libraries generated from the csw project.

See here for instructions on installing sbt.

Prerequisites for running Components

The CSW services need to be running before starting the components. This is done by starting the csw-services. If you are not building csw from the sources, you can run csw-services as follows:

  • Install coursier using steps described here and add TMT channel.
  • Run cs install csw-services. This will create an executable file named csw-services in the default installation directory.
  • Run csw-services start command to start all the CSW services i.e. Location, Config, Event, Alarm and Database Service
  • Run csw-services --help to get more information.

Note: while running the csw-services use the csw version from project/build.properties

Running the HCD and Assembly

Run the container cmd script with arguments. For example:

  • Run the HCD in a standalone mode with a local config file (The standalone config format is different than the container format):
sbt "wfos-wfosdeploy/runMain wfos.wfosdeploy.WfosContainerCmdApp --local ./src/main/resources/RgriphcdStandalone.conf"
sbt "wfos-wfosdeploy/runMain wfos.wfosdeploy.WfosContainerCmdApp --local ./src/main/resources/LgriphcdStandalone.conf"
  • Start the HCD and assembly in a container using the Java implementations:
sbt "wfos-wfosdeploy/runMain wfos.wfosdeploy.WfosContainerCmdApp --local ./src/main/resources/JWfosContainer.conf"
  • Start the HCD and assembly in a container using the Scala implementations:
sbt "wfos-wfosdeploy/runMain wfos.wfosdeploy.WfosContainerCmdApp --local ./src/main/resources/WfosContainer.conf"

wfos's People

Contributors

premsai1503 avatar

Watchers

 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.