Entrypoint for concept publish notifications from the Smartlogic Semaphore system
Download the source code, dependencies and test dependencies:
go get -u github.com/kardianos/govendor
go get -u github.com/Financial-Times/smartlogic-notifier
cd $GOPATH/src/github.com/Financial-Times/smartlogic-notifier
govendor sync
go build .
Run the tests and install the binary:
govendor sync
govendor test -v -race
go install
Run the binary (using the help flag to see the available optional arguments):
$GOPATH/bin/smartlogic-notifier [--help]
Options:
--app-system-code="smartlogic-notifier" System Code of the application ($APP_SYSTEM_CODE)
--app-name="Smartlogic Notifier" Application name ($APP_NAME)
--port="8080" Port to listen on ($APP_PORT)
Endpoints are documented in Swagger
Based on the following google doc.
Admin endpoints are:
/__gtg
/__health
/__build-info
env app parameter, for all environments other than local logs are written to file.local./__build-info and /__gtg endpoints are not logged as they are called every second from varnish/vulcand and this information is not needed in logs/splunk.Content type
Image
Digest
sha256:a1f7cf33c…
Size
6.5 MB
Last updated
7 days ago
docker pull coco/smartlogic-notifier