This file contains hidden or 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 hvac | |
from hvac.api.secrets_engines.kv_v2 import KvV2 | |
c = hvac.Client() | |
kv2 : KvV2 = c.secrets.kv.v2 | |
create_response = kv2.create_or_update_secret( | |
path='foo', | |
secret=dict(baz='bar'), |
This file contains hidden or 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 hvac.api.secrets_engines.active_directory import ActiveDirectory | |
from hvac.api.secrets_engines.aws import Aws | |
from hvac.api.secrets_engines.azure import Azure | |
from hvac.api.secrets_engines.consul import Consul | |
from hvac.api.secrets_engines.database import Database | |
from hvac.api.secrets_engines.gcp import Gcp | |
from hvac.api.secrets_engines.identity import Identity | |
from hvac.api.secrets_engines.kv import Kv | |
from hvac.api.secrets_engines.kv_v1 import KvV1 | |
from hvac.api.secrets_engines.kv_v2 import KvV2 |
This file contains hidden or 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 hvac | |
client = hvac.Client() | |
create_response = client.secrets.kv.v2.create_or_update_secret( | |
path='foo', | |
secret=dict(baz='bar'), | |
) |
This file contains hidden or 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
Supplier<String> supplier = () -> service.sayHelloWorld(param1); | |
String result = Decorators.ofSupplier(supplier) | |
.withBulkhead(Bulkhead.ofDefaults("name")) | |
.withCircuitBreaker(CircuitBreaker.ofDefaults("name")) | |
.withRetry(Retry.ofDefaults("name")) | |
.withFallback(asList(CallNotPermittedException.class, BulkheadFullException.class), | |
throwable -> "Hello from fallback") | |
.get() |
This file contains hidden or 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 { getTraceIdFromLocalStorage } from "./local-storage.js" | |
export default async (name, callback) => { | |
const now = Date.now() | |
const result = callback.apply() | |
if (result && typeof result.finally === 'function') { | |
return result.finally(logExecutionTime(now, name)) | |
} else { | |
logExecutionTime(now, name) |
This file contains hidden or 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
[ | |
{ | |
"alias": "Developer machine - pun intended" | |
"created_at": "2023-07-01", | |
"created_by": "2585cf7c-0561-4f40-9186-1e5380f20e49", | |
"expires_at": "...", | |
"permissions": { | |
"api_keys": { | |
"action": "read", | |
"targets": [] |
This file contains hidden or 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
{ | |
"alias": "Developer machine - pun intended" | |
"created_at": "...", | |
"created_by": "...", | |
"expires_at": "...", | |
"permissions": { | |
"api_keys": { | |
"action": "read", | |
"targets": [ | |
"2c62c6ef-4704-431c-b27b-d587af614898", |
This file contains hidden or 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
{ | |
"first_name": "Max", | |
"second_name": "%%$$&&", | |
"birthday": "drop database" | |
} |
This file contains hidden or 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
deployments/ | |
βββ france/ | |
β βββ stage-dev/ | |
| β βββ checkout/ | |
β β β βββ application.yml | |
β β βββ dashboard/ | |
β β β βββ application.yml | |
β β βββ login/ | |
| β | βββ application.yml | |
| | βββ tracking.csv |
This file contains hidden or 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
Show hidden characters
{ | |
"include": [ | |
"./src/**/*" | |
], | |
"compilerOptions": { | |
"checkJs": true, | |
"baseUrl": ".", | |
"paths": { | |
"@/*": [ | |
"src/*" |
NewerOlder