Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shanepeckham/captureorderack
A containerised Go swagger API to capture orders, write them to MongoDb or CosmosDB and RabbitMQ or EventHubs.
https://github.com/shanepeckham/captureorderack
api azure cosmosdb docker event-sourcing eventhub eventhubs golang rabbitmq swagger
Last synced: about 1 month ago
JSON representation
A containerised Go swagger API to capture orders, write them to MongoDb or CosmosDB and RabbitMQ or EventHubs.
- Host: GitHub
- URL: https://github.com/shanepeckham/captureorderack
- Owner: shanepeckham
- License: mit
- Created: 2017-09-25T09:56:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-16T08:58:21.000Z (almost 7 years ago)
- Last Synced: 2024-10-22T22:57:14.348Z (3 months ago)
- Topics: api, azure, cosmosdb, docker, event-sourcing, eventhub, eventhubs, golang, rabbitmq, swagger
- Language: Go
- Homepage:
- Size: 28.4 MB
- Stars: 3
- Watchers: 3
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![CircleCI](https://circleci.com/gh/shanepeckham/captureorderack/tree/master.svg?style=svg)](https://circleci.com/gh/shanepeckham/captureorderack/tree/master)
# CaptureOrder - TACK
A containerised Go swagger API to capture orders, write them to MongoDb.
The following environment variables need to be passed to the container:
### ACK Logging
```
ENV TEAMNAME=[YourTeamName]
```
### For Mongo
```
ENV MONGOHOST="mongodb://[mongoinstance].[namespace]"
```### For RabbitMQ
```
ENV RABBITMQHOST=amqp://[url]:5672
ENV PARTITIONKEY=[0,1,2]
```
### For Event Hubs
```
ENV EVENTURL="https://[youreventhub].servicebus.windows.net/[eventhubname]"ENV EVENTPOLICYNAME="[policy key name]"
ENV EVENTPOLICYKEY="[policy key]"
```