Cheat Sheet - Http Client SSL TLS Configuration for Java, Kotlin and Scala with example http requests
The examples below use the base ssl configuration found here: SSLConfig of the library: Ayza
Java
| version: '2' | |
| services: | |
| config-server: | |
| image: benwilcock/spring-petclinic-config-server-native:2.4.3 | |
| container_name: config-server | |
| mem_limit: 1024M | |
| ports: | |
| - 8888:8888 |
| GOCMD=go | |
| GOTEST=$(GOCMD) test | |
| GOVET=$(GOCMD) vet | |
| BINARY_NAME=example | |
| VERSION?=0.0.0 | |
| SERVICE_PORT?=3000 | |
| DOCKER_REGISTRY?= #if set it should finished by / | |
| EXPORT_RESULT?=false # for CI please set EXPORT_RESULT to true | |
| GREEN := $(shell tput -Txterm setaf 2) |
AWS νμ΅ λ§ν¬μ§ μ리μ¦
UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker startAWS νμ΅ λ§ν¬μ§ μ리μ¦
https://swift.org/documentation/api-design-guidelines/
μ¬μ©ν λ κΈ°μ€μΌλ‘ λͺ ννκ² μμ±νλ κ² κ°μ₯ μ€μν μ§ν₯μ μ΄λ€. λ©μλλ νλ‘νΌν° κ°μ κ°λ° μμλ ν λ²λ§ μ μΈνκ³ λ°λ³΅μ μΌλ‘ μ¬μ©νλ€. APIλ₯Ό λ§λ€ λλ μ¬μ©νκΈ° λͺ ννκ³ νΈνκ² λ§λ€μ΄μΌ νλ€. μ€κ³λ₯Ό κ²μ¦ν λ μ μΈ λΆλΆμ μ½λ κ²λ§μΌλ‘λ λΆμ‘±νλ€. κ·Έ λμ μ¬μ©νλ μν©μμ λ§₯λ½μ λ§κ³ λͺ νν μ§ λ κ³ λ €ν΄μΌ νλ€.
λͺ νν ννμ΄ μμΆν κ°κ²°μ±λ³΄λ€ λ μ€μνλ€. μ€μννΈ μ½λλ μμΆν΄μ κ°κ²°νκ² μμ±ν μ μμ§λ§, λ¨μ§ κΈμμλ₯Ό μ€μ¬μ κ°μ₯ μ§§μ μ½λλ₯Ό λ§λλ κ² λͺ©νλ μλλ€. μ€μννΈ μ½λμ κ°κ²°μ±μ μμ°μ€λ½κ² λ°λ³΅μ μΌλ‘ μ¬μ¬μ©νλ μ½λ(boilerplate)λ₯Ό μ€μ΄λ κΈ°λ₯κ³Ό κ°ν νμ μμ€ν μ λΆμν¨κ³Όλ‘ λλ¬λ λΏμ΄λ€.
Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
| package main | |
| import ( | |
| "fmt" | |
| "math/big" | |
| "context" | |
| "io/ioutil" | |
| "github.com/ethereum/go-ethereum/accounts" | |
| "github.com/ethereum/go-ethereum/accounts/keystore" |
AWS νμ΅ λ§ν¬μ§ μ리μ¦