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
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 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 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 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 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 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 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/*" |
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
deployments/ | |
├── france/ | |
│ ├── checkout/ | |
│ │ └── application.yml | |
│ ├── dashboard/ | |
│ │ └── application.yml | |
│ └── login/ | |
│ └── application.yml | |
├── germany/ | |
│ ├── checkout/ |
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: 1 | |
application: | |
name: portfolio-dashboard | |
group: example.com | |
version: 1.2.3 | |
repository: libs-releases | |
team: | |
product-owner: captain@example.com | |
developers: | |
- john@example.com |
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: 2 | |
updates: | |
- package-ecosystem: npm | |
assignees: | |
- stfsy | |
directory: / | |
schedule: | |
interval: weekly | |
versioning-strategy: increase |
NewerOlder