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
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "Echo API", | |
"version": "1.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://echoapi.cloudapp.net/api" | |
}, |
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
syntax = "proto3"; | |
service TestService { | |
rpc Unary(Foo) returns (Foo); | |
rpc ClientStreaming(stream Foo) returns (Foo); | |
rpc ServerStreaming(Foo) returns (stream Foo); | |
rpc Duplex(stream Foo) returns (stream Foo); | |
} | |
message Foo { |
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
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "Performance Testing API", | |
"version": "1.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://apim-sandbox-cloud-native.azure-api.net/echo" | |
}, |
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
<!-- | |
IMPORTANT: | |
- Policy fragment are included as-is whenever they are referenced. | |
- If using variables. Ensure they are setup before use. | |
- Copy and paste your code here or simply start coding | |
--> | |
<fragment> | |
<rate-limit-by-key calls="@(int.Parse((string)context.Variables["amountOfCalls"]))" renewal-period="@(int.Parse((string)context.Variables["renewalPeriod"]))" counter-key="@(context.Subscription.Id)" remaining-calls-variable-name="remainingCallsPerSubscription" /> | |
</fragment> |
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
<note> | |
<to>Tove</to> | |
<from>Jani</from> | |
<heading>Reminder</heading> | |
<body>Don't forget me this weekend!</body> | |
</note> |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<!DOCTYPE order [ | |
<!ENTITY myExternalEntity SYSTEM "expressions.json"> | |
]> | |
<order>&myExternalEntity;</order> |
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
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "Echo API", | |
"version": "1.0" | |
}, | |
"servers": [ | |
{ | |
"url": "http://apim-sandbox-cloud-native.azure-api.net/echo" | |
}, |
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
apiVersion: keda.sh/v1alpha1 | |
kind: ScaledObject | |
metadata: | |
name: {scaled-object-name} | |
spec: | |
scaleTargetRef: | |
name: foo | |
minReplicaCount: 1 # Optional. Default: 0 | |
maxReplicaCount: 100 # Optional. Default: 100 | |
triggers: |
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
name: Add issue to project | |
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
track_issue: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get project data |
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
[07:20:19 WRN] {"MetricName": "Message Queued Duration", "MetricValue": 4.7017036, "Timestamp": "2021-07-13T07:20:19.3774468 +00:00", "Context": {"DeliveryCount": 1, "TelemetryType": "Metrics"}, "$type": "MetricLogEntry"} | |
[07:20:19 INF] Processing initial firmware set messages for device 352554100004969... | |
[07:20:19 INF] Configured URL for Device Registry URL is http://hyperion.platform.gateway.deviceregistry.api:99 | |
[07:20:19 INF] Start processing HTTP request POST http://hyperion.platform.gateway.deviceregistry.api:99/api/v1/devices/G3/352554100004969/firmware | |
[07:20:19 INF] Sending HTTP request POST http://hyperion.platform.gateway.deviceregistry.api:99/api/v1/devices/G3/352554100004969/firmware | |
[07:20:19 INF] Received HTTP response after 21.9521ms - BadRequest | |
[07:20:19 INF] End processing HTTP request after 27.3684ms - BadRequest | |
[07:20:19 WRN] {"MetricName": "Message Processed", "MetricValue": 1, "Timestamp": "2021-07-13T07:20:19.6107110 +00:00", "Context": {"IsSuccessful": false, "MessageHandler": "Init |
NewerOlder