View ReactorMonoZip2.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zip( | |
userGateway.getUsers(), | |
ordersGateway.getOrders() | |
) { | |
UsersAndOrders( | |
it[0] as Users, | |
it[1] as Orders | |
) | |
} |
View ReactorMonoZip.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mono.zip( | |
userGateway.getUsers(), | |
ordersGateway.getOrders() | |
) | |
.map { (users, orders) -> | |
UsersAndOrder(users, orders) | |
} |
View docker-compose.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.1' | |
services: | |
wordpress: | |
image: wordpress | |
restart: always | |
environment: | |
WORDPRESS_DB_HOST: db | |
WORDPRESS_DB_USER: ${MYSQL_USER} | |
WORDPRESS_DB_PASSWORD: ${MYSQL_PASSWORD} | |
WORDPRESS_DB_NAME: ${MYSQL_DATABASE} |
View init-letsencrypt.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while getopts d:e: flag | |
do | |
case "${flag}" in | |
d) domain=${OPTARG};; | |
e) email=${OPTARG};; | |
esac | |
done |
View docker-compose.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
nginx: | |
image: nginx:1.25.2 | |
container_name: nginx | |
restart: always | |
volumes: | |
- ./conf/nginx.conf:/etc/nginx/nginx.conf | |
- ./conf/conf.d:/etc/nginx/conf.d | |
- ./data/certbot/conf:/etc/letsencrypt |
View http-client.private.env.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"dev": { | |
"SSLConfiguration": { | |
"clientCertificate": "dev.pem", | |
"clientCertificateKey": "dev.key.pem", | |
"hasCertificatePassphrase": true | |
} | |
} |
View service-request-with-token.http
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET https://{{ service-host }}/hello-world | |
Authorization: Bearer {{ access_token }} |
View authenticate-with-variable.http
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST https://{{ oauth-host }}/oauth/token?grant_type=client_credentials | |
Content-Type: application/json |
View http-client.env.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"dev": { | |
"oauth-host": "dev-oauth.example.com" | |
} |
View copy-access-token.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> {% | |
var access_token = response.body['access_token'] | |
client.global.set("access_token", access_token) | |
%} |
NewerOlder