Skip to content

Commit

Permalink
Merge pull request zalando-nakadi#138 from zalando-nakadi/update-rule…
Browse files Browse the repository at this point in the history
…-203

Update API guidelines reference
  • Loading branch information
a1exsh authored and tor-vs-floki committed May 20, 2021
2 parents 92264db + fc1cf94 commit a10413a
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 17 deletions.
4 changes: 2 additions & 2 deletions client/Pages/EventTypeCreate/View.elm
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,9 @@ viewForm model setup =
, text " business order that finally leads to the event creation, and"
, text " is used e.g. for analytics change data capture, i.e. keeping"
, text " transactional data in sync as source for analytics. The"
, text " information is recommended for (external) data change events"
, text " information must be provided for (external) data change events"
, text "\u{00A0}-- see "
, externalLink "API/Event Guidelines" "https://opensource.zalando.com/restful-api-guidelines/#203"
, externalLink "API/Event Guidelines" "https://opensource.zalando.com/restful-api-guidelines/#242"
, text "."
]
]
Expand Down
36 changes: 21 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"express-http-proxy": "^1.0.2",
"express-request-id": "^1.4.0",
"express-winston": "^2.4.0",
"helmet": "^4.6.0",
"node-fetch": "^2.0.0-alpha.8",
"passport": "^0.4.0",
"passport-google-oauth": "^1.0.0",
Expand Down
6 changes: 6 additions & 0 deletions server/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const os = require('os');
const express = require('express');
const sessions = require('client-sessions');
const bodyParser = require('body-parser');
const helmet = require('helmet');

const logger = require('./logger');
const auth = require('./auth');
Expand All @@ -28,6 +29,11 @@ const staticFiles = require('./staticFiles');
module.exports = function App(config) {

const app = express()
.use(helmet({
frameguard: {
action: 'DENY'
}
}))
.get('/health', getHealth)
.use(logger.init)
.use(sessions(config.cookie))
Expand Down

0 comments on commit a10413a

Please sign in to comment.