Skip to content

incubyte/ci-cd-kata

Repository files navigation

CI/CD Kata

Application Details

This is a simple Micronaut application that makes requests to a REST API and returns the response. The server is available here which serves list of Penny Stocks.

The application is able to get stock information from this API based on a ticker name sent as a query parameter.

The source code for the application along with the test cases is available in this repository.

Running the application

  • To build the project, use ./gradlew build
  • To run all test cases, use ./gradlew test
  • To run gradle task use ./gradlew run

Example

// curl $APP-HOST:PORT/tickers/HCC
{
  "ticker": "HCC",
  "name": "Hindustan Construction Company Limited",
  "price": 65.0
}

// curl $APP-HOST:PORT/tickers/TATAMOTORS
{
  "ticker": "TATAMOTORS",
  "name": "TATA MOTORS LIMITED",
  "price": 99
}

Live Version

Live Link

Releases

No releases published

Packages

No packages published

Languages