Git Product home page Git Product logo

jukebox's Introduction

Jukebox Settings API

Build Status version

Reliability Rating

Web application to remote control Jukebox settings.
Depending on what components (hardware modules) a jukebox has, it may or may not support a setting.

๐Ÿ“Ž You can find an Online version :

  • On-premises : Here ๐Ÿ”ฅ
  • Cloud (AWS) : Here โ˜๏ธ

(Please if you cannot reach the service, Contact me โœ‰๏ธ )

Launch the App ๐ŸŽ‰

  • ๐Ÿ’ป Local version :

    1. Install

    mvn clean install
    
    1. Run the app

    java -jar target/juckboxSettings-*.jar
    

    ๐Ÿ•ต๏ธ When you run the tests, you can find the reports (Test Coverage...) in target/site/jacoco

  • ๐Ÿณ Docker version :

    1. Build the Image

    mvn clean install && docker build -t theoctavegroup/jukeboxsetting:latest .
    
    1. Deploy the container and expose it on port 8080

    docker run -d --name jukeboxsetting -p 8080:8080 theoctavegroup/jukeboxsetting
    

REST API โš™๏ธ

The jukeboxSettings REST API described below.

Get Application API Docs ( Swagger ) ๐Ÿ“–

UI version :

http://localhost:8080/swagger-ui.html

Json format :

http://localhost:8080/v2/api-docs

Get list of Jukebox supported by setting and filtered by Model ๐Ÿ“œ

Request โฌ†๏ธ

GET /getJukeboxes

curl -i -H 'Accept: application/json' -d 'settingId=Foo' http://localhost:8080/getJukeboxes?settingId=12345

Response โฌ‡๏ธ

HTTP/1.1 200 OK
Date: Sun, 30 May 2021 04:44:55 GMT
Status: 200 OK
Connection: close
Content-Type: application/json

[]

Get Application Health and Information ๐Ÿฉบ

Request โฌ†๏ธ

GET /actuator

curl -i -H 'Accept: application/json' http://localhost:8080/actuator/health

Response โฌ‡๏ธ

HTTP/1.1 200 OK
Date: Sun, 30 May 2021 04:44:55 GMT
Status: 200 OK
Connection: close
Content-Type: application/json

{
    "status": "UP"
}

Stress Test Results ๐Ÿ“Š

๐Ÿ—„ Server Config (On-Premise) :

  • OS : Ubuntu Server 20.04
  • CPU : i5-4460
  • RAM : 12Go
drawing
drawing

jukebox's People

Contributors

imadsai 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.