asyncapi

command
v0.0.0-...-0559e17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

README

CMS AsyncAPI Service

Overview

The CMS AsyncAPI Service is an HTTP server that exposes the AsyncAPI processing functionality. It contains HTTP endpoints which accept multipart/form-data forms.

Prerequisites

Use the following tools to set up the project:

Usage

Read how to run and use the service.

API

See the OpenAPI specification for the full API documentation. You can use the Swagger Editor to preview and test the API service.

Run a local version

To run the local version of the CMS AsyncAPI Service without building the binary, run this command:

go run main.go

The service listens on port 3000.

Build a production version

To build the production Docker image, run this command:

make -C ../../ docker-build
Environment variables

Use the following environment variables to configure the application:

Name Required Default Description
APP_SERVICE_HOST No 127.0.0.1 The host on which the HTTP server listens
APP_SERVICE_PORT No 3000 The port on which the HTTP server listens
APP_VERBOSE No false The toggle used to enable detailed logs in the application

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL