Skip to content

ligato/osseus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Osseus

Github license

Osseus is full-stack web application for generating configurable plugin templates to be used in a wide variety of cloud-based applications. The user is able to select from available plugins provided by CN-Infra and generate working Go code to be immediately usable in an application.

🚀 Quickstart

Requirements:

Prereq. Version
NodeJS 10.15^
Go 1.10^
Docker 18.09^

First, clone the repo:

git clone https://github.com/ligato/osseus
cd /osseus

Install dependencies

# Install dependencies for the agent
dep ensure

# Install dependencies for the client
cd client/
npm install

Run each component in a separate terminal

# Run Etcd
sudo docker run -p 12379:12379 --name etcd --rm \ 
    quay.io/coreos/etcd:v3.3.8 /usr/local/bin/etcd \ 
    -advertise-client-urls http://0.0.0.0:12379 \ 
    -listen-client-urls http://0.0.0.0:12379

# Run agent
cd cmd/agent/
go run main.go

# Run client
cd client/
npm start

📖 Documentation

Detailed documentation for each component of the application can be found here.

🔧 Architecture

Osseus was built using the CN-Infra framework, which provides component/library support and plugin lifecycle management to our application. Our development strategy was to split its production into separate efforts: building a user interface (UI), REST API and a code generator. The UI provides a way for the user to configure an agent setup consisting of chosen plugins. The REST API facilitates the communication between the UI and our data store (Etcd), which takes the user selected plugins and stores them under a certain key. The Generator then produces skeleton code for the user’s configuration and stores this back in Etcd where the UI webhook can retrieve this configuration in a tar file format.

The architecture of the Osseus web application is shown below:

Osseus Architecture

We use React & SASS for our frontend, which is a component-based JavaScript library and a feature-rich CSS extension language. Go was chosen as our backend language due to the consistency of developing with CN-Infra, where we are able to use packages that are built for ease-of-use in the design of our generator and restapi plugins. Lastly, ETCD allows for multiversion persistent key-value storage and was chosen for its integration with various plugins/libraries through CN-Infra.

💡 Contributing

Contributions to Osseus are welcome. We use the standard pull request model. You can either pick an open issue and assign it to yourself or open a new issue and discuss your feature.

The tool used for managing third-party dependencies is dep. After adding or updating a dependency in Gopkg.toml run dep ensure to download specified dependencies into the vendor folder.

📝 License

Licensed under the Apache License

About

A visual tool to create Ligato app skeletons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published