From 55be5de08c8ababbc1b4591500f94176162a5026 Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Mon, 23 Sep 2019 13:47:08 +0200 Subject: Fix Code Blocks in Spec --- docs/spec.md | 94 +++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 49 deletions(-) diff --git a/docs/spec.md b/docs/spec.md index 9036835..ab557ac 100644 --- a/docs/spec.md +++ b/docs/spec.md @@ -137,7 +137,7 @@ The following list specifies, how to configure a parameter and in which priority 2. You can refer to a specific profile in `mzs:DeliveryRequest/Config/ProfileID`, where the value of `ProfileID` refers to a profile that was configured in `application.yaml`. MOA ZS looks up the profile by the chosen ID and uses all parameters from this profile. - To create a profile in `application.yaml` copy the template from below or copy an existing profile from `application.yaml`, set a new `ProfileID` and adapt parameters. + To create a profile in `application.yaml`, copy, paste, and indent the template from below or copy an existing profile from `application.yaml`, set a new `ProfileID` and adapt parameters. The key of each child in `delivery-request-configuration-profiles` is the `ProfileID` of the underlying profile. If a parameter is missing, MOA ZS falls back to the parameter in the `default` profile. @@ -150,57 +150,53 @@ Otherwise, a parameter may be unconfigured, in which case MOA ZS rejects the del The following listing shows the structure of a delivery request configuration profile and serves as a template. You find a description and examples of the individual parameters in `application.yaml`. -``` - : - - service-timeout: - - perform-query-person-request: - - tnvz-client: - url: - connection-timeout: - receive-timeout: - ssl: ... - custom-http-headers: ... - - msg-client: - url: - connection-timeout: - receive-timeout: - ssl: ... - custom-http-headers: ... - - msg-response-sinks: - save-response-to-file: - active: - path: - log-response: - forward-response-to-service: - active: - app-client: - url: - connection-timeout: - receive-timeout: - ssl: ... - custom-http-headers: ... -``` + : + + service-timeout: + + perform-query-person-request: + + tnvz-client: + url: + connection-timeout: + receive-timeout: + ssl: ... + custom-http-headers: ... + + msg-client: + url: + connection-timeout: + receive-timeout: + ssl: ... + custom-http-headers: ... + + msg-response-sinks: + save-response-to-file: + active: + path: + log-response: + forward-response-to-service: + active: + app-client: + url: + connection-timeout: + receive-timeout: + ssl: ... + custom-http-headers: ... This listing shows, how a connection of a client can be protected with SSL and how client authentication can be activated: -``` - ssl: - trust-all: - lax-hostname-verification: - key-store: - filename: - password: - type: - trust-store: - filename: - password: - type: -``` + ssl: + trust-all: + lax-hostname-verification: + key-store: + filename: + password: + type: + trust-store: + filename: + password: + type: ### Server -- cgit v1.2.3