Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

Commit

Permalink
Add runbook
Browse files Browse the repository at this point in the history
  • Loading branch information
mchompalova committed Aug 12, 2020
1 parent f2541be commit ac3a30b
Show file tree
Hide file tree
Showing 2 changed files with 158 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/runbooks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# These settings determine the behaviour of runbook.md's Runbook Validator bot
# https://github.com/financial-times/runbook.md

# Everything below is optional

runbooks:
# All available settings are listed below

# Disable checks for this repo
# defaults to `false`
disabled: false

### SUPPORT FOR MULTIPLE RUNBOOKS IN A SINGLE REPOSITORY

# Fail checks if `any` | `all` | `none` runbooks fail validation
# defaults to `any`
failOn: any

### SUPPORT FOR UPDATING BIZ-OPS

# Update valid Biz-Ops runbooks on merge to a specific branch
#### IF YOUR DEPLOYMENTS ARE AUTOMATED (CircleCI, Heroku Pipelines)
#### PLEASE INTEGRATE WITH CHANGE-API INSTEAD
#### https://github.com/Financial-Times/change-api#change-api---v2
# defaults to `false`
updateOnMerge: true

# Merges to this branch trigger Biz-Ops updates updateOnMerge is `true`
# defaults to `master`
updateBranch: master

### UPDATING BIZ-OPS REQUIRES EACH RUNBOOK TO BE TIED TO A VALID SYSTEM CODE
# Mappings between paths and system codes
# unless a custom mapping is specified here
# runbook.md tries to parse the system code from the runbook's filename (format: my-sys-code_runbook.md)
systemCodes:
# paths are relative to root, omitting ./ (case-insensitive)
content-collection-unfolder: runbooks/runbook.md
120 changes: 120 additions & 0 deletions runbooks/runbook.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
# UPP - Content Collection Unfolder

Content Collection Unfolder finds added/deleted collection members and lead articles through the relations-api.

## Code

content-collection-unfolder

## Primary URL

https://upp-prod-delivery-glb.upp.ft.com/__content-collection-unfolder/

## Service Tier

Platinum

## Lifecycle Stage

Production

## Delivered By

content

## Supported By

content

## Known About By

- dimitar.terziev
- elitsa.pavlova
- kalin.arsov
- hristo.georgiev
- georgi.ivanov
- elina.kaneva
- robert.marinov
- tsvetan.dimitrov

## Host Platform

AWS

## Architecture

This service forwards mapped content collections to `content-collection-rw-neo4j`. If the response is 200, it retrieves the elements in the collection from `document-store-api` and places them in Kafka on the `PostPublicationEvents` topic so that notifications will be created for each one of them.

## Contains Personal Data

No

## Contains Sensitive Data

No

## Dependencies

* upp-relations-api
* upp-content-collection-rw-neo4j
* document-store-api
* upp-kafka

## Failover Architecture Type

ActiveActive

## Failover Process Type

FullyAutomated

## Failback Process Type

FullyAutomated

## Failover Details

The service is deployed in both Delivery clusters. The failover guide for the cluster is located here: https://github.com/Financial-Times/upp-docs/tree/master/failover-guides/delivery-cluster.

## Data Recovery Process Type

NotApplicable

## Data Recovery Details

The service does not store data, so it does not require any data recovery steps.

## Release Process Type

PartiallyAutomated

## Rollback Process Type

Manual

## Release Details

The release is triggered by making a Github release which is then picked up by a Jenkins multibranch pipeline. The Jenkins pipeline should be manually started in order for it to deploy the helm package to the Kubernetes clusters.

## Key Management Process Type

NotApplicable

## Key Management Details

There is no key rotation procedure for this system.

## Monitoring

Service in UPP K8S delivery clusters:

* Delivery-Prod-EU health: https://upp-prod-delivery-eu.upp.ft.com/__health/__pods-health?service-name=content-collection-unfolder
* Delivery-Prod-US health: https://upp-prod-delivery-us.upp.ft.com/__health/__pods-health?service-name=content-collection-unfolder

## First Line Troubleshooting

[First Line Troubleshooting guide](https://github.com/Financial-Times/upp-docs/tree/master/guides/ops/first-line-troubleshooting)

## Second Line Troubleshooting

Please refer to the GitHub repository README for troubleshooting information.

0 comments on commit ac3a30b

Please sign in to comment.