API server

This is a reference page for the API server component, colloquially "apiserver", aimed at developers.

Resources:

Prerequisites

Dependencies are documented at http://doc.arvados.org/install/install-api-server.html.

Test suite

Summary:

git clone https://github.com/curoverse/arvados.git
cd arvados/services/api
cp -i config/application.yml.example config/application.yml
edit config/application.yml
edit config/database.yml
RAILS_ENV=test bundle install
RAILS_ENV=test bundle exec rake test

Generating a self-signed certificate

Useful for dev/test environments.

openssl req -new -x509 -nodes -out ./self-signed.pem -keyout ./self-signed.key -days 3650 -subj '/CN=arvados.example.com'