Skip to content

RedHatInsights/approval-api

Folders and files

NameName
Last commit message
Last commit date
Mar 6, 2020
Apr 26, 2021
Sep 24, 2018
Nov 20, 2018
May 4, 2021
Jul 15, 2019
Sep 22, 2020
Dec 21, 2021
Apr 27, 2021
Jun 5, 2020
Jan 9, 2019
May 26, 2021
Apr 26, 2021
Sep 24, 2018
Feb 4, 2021
Apr 21, 2021
Jun 11, 2020
Mar 6, 2020
Nov 20, 2018
Feb 4, 2021
Nov 19, 2018
Nov 19, 2018
Jul 28, 2020
Feb 4, 2021
Nov 11, 2021
Oct 7, 2021
Nov 5, 2019
Nov 19, 2018
Jan 8, 2020
Sep 24, 2018
Apr 20, 2021
Sep 24, 2018
Apr 14, 2021
Apr 5, 2019

Repository files navigation

OpenAPI for Rails 5

Build Status Maintainability Test Coverage Security

This is a project to provide OpenAPI support inside the Ruby on Rails framework.

Prerequisites

You need to install ruby >= 2.2.2 and run:

bundle install

Getting started

Environmental variables

export SERVICE_APPROVAL_DATABASE_USERNAME=<<database_user>>
export SERVICE_APPROVAL_DATABASE_PASSSWORD=<<database_password>>
or
export DATABASE_URL=postgres://pguser:pgpass@localhost/somedatabase
export MANAGEIQ_USER=admin
export MANAGEIQ_PASSWORD=smartvm
export MANAGEIQ_HOST=localhost
export MANAGEIQ_PORT=3000
bin/rake db:create db:migrate
bin/rails s

To list all your routes, use:

bin/rake routes

License

This project is available as open source under the terms of the Apache License 2.0.