A Pen by Kasper De Bruyne on CodePen.
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
override fun requestProcess(requestDto: RequestDto) { | |
val saga = Saga(options) | |
try { | |
log.info("Creating request") | |
val requestId = requestActivity.create(requestDto) | |
saga.addCompensation(requestActivity::cancelCreate, requestId) | |
log.info("Creating request($requestId) party") | |
val requestPartyId = partyActivity.createParty(requestId, requestDto) | |
saga.addCompensation(partyActivity::cancelCreateParty, requestPartyId) |
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
--- | |
id: 1 | |
spec: | |
some-option: asdfasdf | |
--- | |
id: 2 | |
spec: | |
some-option: asdfasdf | |
--- | |
id: 3 |
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
apt update | |
apt install -y --no-install-recommends apt-transport-https ca-certificates curl | |
cd /tmp | |
rm /tmp/*.pem | |
curl -LO https://www.websecurity.symantec.com/content/dam/websitesecurity/support/digicert/thawte/ica/Thawte_TLS_RSA_CA_G1.pem | |
curl -LO https://www.websecurity.symantec.com/content/dam/websitesecurity/support/digicert/thawte/ica/Thawte_RSA_CA_2018.pem | |
curl -LO https://www.websecurity.symantec.com/content/dam/websitesecurity/support/digicert/thawte/ica/Thawte_EV_RSA_CA_2018.pem | |
cp /tmp/*.pem /etc/ssl/certs/ |
I hereby claim:
- I am pit on github.
- I am peter_salnikov (https://keybase.io/peter_salnikov) on keybase.
- I have a public key ASDvCjY2mHxP2SEG87R2ya17JGIEcBwQKUyET_zmbjiY2go
To claim this, I am signing this object:
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
from navio.aws import AWSCloudFormation, AWSLogs, AWSACM | |
from navio.builder import task, nsh, sh | |
aws_stack = dict() | |
aws_stack_ro = dict() | |
aws_stack_ro['vpc.dev'] = AWSCloudFormation( | |
profile_name='company.dev', | |
stack_name='Vpc' | |
) |
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
#!/usr/bin/env bash | |
set -e | |
CONTEXT="$1" | |
if [[ -z ${CONTEXT} ]]; then | |
echo "Usage: $0 KUBE-CONTEXT" | |
exit 1 | |
fi |
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
import boto3 | |
from boto3.s3.transfer import S3Transfer | |
from botocore.client import Config | |
from hashlib import md5 | |
import os | |
from base64 import b64encode | |
import logging | |
import time | |
# 1) Create S3 bukets with some unique name (ex: comparison-test-bucket) in all providers you want to test. |