The CMS AsyncAPI Service is an HTTP server that exposes the AsyncAPI processing functionality. It contains HTTP endpoints which accept multipart/form-data
forms.
Use the following tools to set up the project:
Read how to run and use the service.
See the OpenAPI specification for the full API documentation. You can use the Swagger Editor to preview and test the API service.
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
.
To build the production Docker image, run this command:
make -C ../../ docker-build
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 |