This repository has been archived by the owner. It is now read-only.
Contains the fleets service files
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
template
.DS_Store
.gitignore
README.md
aggregate-concept-transformer-sidekick@.service
aggregate-concept-transformer@.service
aggregate-healthcheck-sidekick@.service
aggregate-healthcheck@.service
annotations-mapper-sidekick@.service
annotations-mapper@.service
annotations-rw-neo4j-sidekick@.service
annotations-rw-neo4j@.service
api-policy-component-sidekick@.service
api-policy-component@.service
binary-ingester-sidekick@.service
binary-ingester@.service
binary-writer-sidekick@.service
binary-writer@.service
burrow-sidekick@.service
burrow@.service
cms-kafka-bridge-k8s-pub-prod-eu-sidekick@.service
cms-kafka-bridge-k8s-pub-prod-eu@.service
cms-kafka-bridge-k8s-pub-prod-us-sidekick@.service
cms-kafka-bridge-k8s-pub-prod-us@.service
cms-kafka-bridge-pub-prod-uk-sidekick@.service
cms-kafka-bridge-pub-prod-uk@.service
cms-kafka-bridge-pub-prod-us-sidekick@.service
cms-kafka-bridge-pub-prod-us@.service
cms-metadata-kafka-bridge-k8s-pub-prod-eu-sidekick@.service
cms-metadata-kafka-bridge-k8s-pub-prod-eu@.service
cms-metadata-kafka-bridge-k8s-pub-prod-us-sidekick@.service
cms-metadata-kafka-bridge-k8s-pub-prod-us@.service
cms-metadata-kafka-bridge-pub-prod-uk-sidekick@.service
cms-metadata-kafka-bridge-pub-prod-uk@.service
cms-metadata-kafka-bridge-pub-prod-us-sidekick@.service
cms-metadata-kafka-bridge-pub-prod-us@.service
cms-notifier-sidekick@.service
cms-notifier@.service
complementarycontent-ingester-sidekick@.service
complementarycontent-ingester@.service
concept-exporter-sidekick@.service
concept-exporter@.service
concept-ingester-sidekick@.service
concept-ingester@.service
concept-rw-elasticsearch-sidekick@.service
concept-rw-elasticsearch@.service
concept-search-api-sidekick@.service
concept-search-api@.service
concept-search-reindexer-sidekick@.service
concept-search-reindexer@.service
concept-suggestion-api-sidekick@.service
concept-suggestion-api@.service
concepts-kafka-bridge-pub-prod-sidekick@.service
concepts-kafka-bridge-pub-prod@.service
concepts-rw-neo4j-sidekick@.service
concepts-rw-neo4j@.service
content-collection-ingester-neo4j-sidekick@.service
content-collection-ingester-neo4j@.service
content-collection-rw-neo4j-sidekick@.service
content-collection-rw-neo4j@.service
content-collection-unfolder-sidekick@.service
content-collection-unfolder@.service
content-exporter-sidekick@.service
content-exporter@.service
content-ingester-neo4j-sidekick@.service
content-ingester-neo4j@.service
content-ingester-sidekick@.service
content-ingester@.service
content-preview-sidekick@.service
content-preview@.service
content-public-read-preview-sidekick@.service
content-public-read-preview@.service
content-public-read-sidekick@.service
content-public-read@.service
content-rw-elasticsearch-sidekick@.service
content-rw-elasticsearch@.service
content-rw-neo4j-sidekick@.service
content-rw-neo4j@.service
coreos-version-checker-sidekick.service
coreos-version-checker.service
diamond.service
document-store-api-sidekick@.service
document-store-api@.service
elb-dns-registrator.service
elb-presence@.service
enriched-content-read-api-sidekick@.service
enriched-content-read-api@.service
financial-instruments-rw-neo4j-sidekick@.service
financial-instruments-rw-neo4j@.service
fleet-neo4j-unit-healthcheck-sidekick@.service
fleet-neo4j-unit-healthcheck@.service
fleet-unit-healthcheck-sidekick@.service
fleet-unit-healthcheck@.service
format_services_yaml.go
generic-rw-s3-sidekick@.service
generic-rw-s3@.service
image-cleaner.service
image-resolver-sidekick@.service
image-resolver@.service
industry-classifications-rw-neo4j-sidekick@.service
industry-classifications-rw-neo4j@.service
internal-components-preview-sidekick@.service
internal-components-preview@.service
internal-concordances-sidekick@.service
internal-concordances@.service
internal-content-api-sidekick@.service
internal-content-api@.service
internal-content-preview-api-sidekick@.service
internal-content-preview-api@.service
kafka-lagcheck-sidekick@.service
kafka-lagcheck@.service
kafka-rest-proxy-sidekick@.service
kafka-rest-proxy@.service
kafka.service
list-notifications-ingester-sidekick@.service
list-notifications-ingester@.service
list-notifications-push-sidekick@.service
list-notifications-push@.service
list-notifications-rw-sidekick@.service
list-notifications-rw@.service
memberships-rw-neo4j-sidekick@.service
memberships-rw-neo4j@.service
methode-article-image-set-mapper-sidekick@.service
methode-article-image-set-mapper@.service
methode-article-internal-components-mapper-sidekick@.service
methode-article-internal-components-mapper@.service
methode-article-mapper-sidekick@.service
methode-article-mapper@.service
methode-content-collection-mapper-sidekick@.service
methode-content-collection-mapper@.service
methode-content-placeholder-mapper-sidekick@.service
methode-content-placeholder-mapper@.service
methode-image-binary-mapper-sidekick@.service
methode-image-binary-mapper@.service
methode-image-model-mapper-sidekick@.service
methode-image-model-mapper@.service
methode-image-set-mapper-sidekick@.service
methode-image-set-mapper@.service
methode-list-mapper-sidekick@.service
methode-list-mapper@.service
mongo-backup@.service
mongo-backup@.timer
mongo-hot-backup-sidekick@.service
mongo-hot-backup@.service
mongodb-configurator.service
mongodb-online-backup.service
mongodb-sidekick@.service
mongodb@.service
next-video-annotations-mapper-sidekick@.service
next-video-annotations-mapper@.service
next-video-content-collection-mapper-sidekick@.service
next-video-content-collection-mapper@.service
next-video-mapper-sidekick@.service
next-video-mapper@.service
notifications-ingester-sidekick@.service
notifications-ingester@.service
notifications-push-sidekick@.service
notifications-push@.service
notifications-rw-sidekick@.service
notifications-rw@.service
organisations-rw-neo4j-sidekick@.service
organisations-rw-neo4j@.service
pac-annotations-mapper-sidekick@.service
pac-annotations-mapper@.service
people-rw-neo4j-sidekick@.service
people-rw-neo4j@.service
post-publication-combiner-sidekick@.service
post-publication-combiner@.service
public-annotations-api-sidekick@.service
public-annotations-api@.service
public-brands-api-sidekick@.service
public-brands-api@.service
public-concordances-api-sidekick@.service
public-concordances-api@.service
public-content-by-concept-api-sidekick@.service
public-content-by-concept-api@.service
public-organisations-api-sidekick@.service
public-organisations-api@.service
public-people-api-sidekick@.service
public-people-api@.service
public-six-degrees-api-sidekick@.service
public-six-degrees-api@.service
public-things-api-sidekick@.service
public-things-api@.service
rec-reads-content-annotator-sidekick@.service
rec-reads-content-annotator@.service
rec-reads-content-ingester-sidekick@.service
rec-reads-content-ingester@.service
relations-api-sidekick@.service
relations-api@.service
restorage-mongo-sidekick@.service
restorage-mongo@.service
roles-rw-neo4j-sidekick@.service
roles-rw-neo4j@.service
services.yaml
splunk-forwarder.service
suggestions-rw-neo4j-sidekick@.service
suggestions-rw-neo4j@.service
synthetic-image-publication-monitor-coco-sidekick@.service
synthetic-image-publication-monitor-coco@.service
system-healthcheck-sidekick.service
system-healthcheck.service
tunnel-registrator.service
up-queue-sender-v1-metadata-sidekick@.service
up-queue-sender-v1-metadata@.service
upp-exports-rw-s3-sidekick@.service
upp-exports-rw-s3@.service
v2-content-annotator-sidekick@.service
v2-content-annotator@.service
varnish@.service
vulcan-config-builder.service
vulcan.service
wordpress-article-mapper-sidekick@.service
wordpress-article-mapper@.service
wordpress-image-mapper-sidekick@.service
wordpress-image-mapper@.service
zookeeper.service

README.md

Universal Publishing service files + service file definition

Repository that contains the UP stack service files and services definition for pre-prod and prod environments.

##Development

Get a linux environment: local/VM

  • Juila has VM conf for working networking
  • Julia - shared directories with host, symlink to $HOME

In VM install required packages (as root):

## ubuntu
apt-get install docker.io golang git

## Fedora/CentOS
yum install docker.io golang git

## Arch linux
pacman -S docker go git

Set up GO env:

mkdir -p ~/gopath/bin

# edit ~/.bashrc and add:
export GOPATH=$HOME/gopath
export PATH=$PATH:$GOPATH/bin

Run docker daemon, allowing insecure connections from our register (as root):

## Add your user to the docker group:
sudo gpasswd -a [user] docker

## services stop docker
### In new terminal window
sudo docker -d 

Install fleet and etcd:

go get github.com/coreos/fleet
cd $GOPATH/src/github.com/coreos/fleet && ./build
cp $GOPATH/src/github.com/coreos/fleet/bin/* $GOPATH/bin

go get github.com/coreos/etcd
cd $GOPATH/src/github.com/coreos/etcd && ./build
cp $GOPATH/src/github.com/coreos/etcd/bin/* $GOPATH/bin

Run etcd and fleet daemons:

### In new terminal window
$GOPATH/bin/etcd

### In new terminal window
sudo $GOPATH/bin/fleetd