Skip to content

Commit

Permalink
run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
vordimous committed Oct 24, 2024
1 parent adc6869 commit 91bf722
Show file tree
Hide file tree
Showing 25 changed files with 212 additions and 212 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/example_artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Example Artifacts
on:
push:
tags:
- 'v[0-9]+'
- "v[0-9]+"

permissions:
contents: write
Expand All @@ -12,7 +12,6 @@ jobs:
build:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v4

- name: Tar all examples
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/reusable_test_runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ on:
required: true
description: Directory name for the example to test
type: string

workflow_call:
inputs:
example-dir:
required: true
type: string

jobs:

runner:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -47,7 +46,7 @@ jobs:
if: failure()
uses: jwalton/gh-docker-logs@v2
with:
dest: './logs'
dest: "./logs"
- name: Tar logs
if: failure()
run: tar cvzf ./logs.tgz ./logs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
get-examples-with-changes:
runs-on: ubuntu-latest
outputs:
changed_directories: ${{ steps.set-output.outputs.changed_directories }} # The `dirs` doesn't exist in the outputs of changed-files@v35 action.
changed_directories: ${{ steps.set-output.outputs.changed_directories }} # The `dirs` doesn't exist in the outputs of changed-files@v35 action.
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -20,7 +20,7 @@ jobs:
with:
# only get the top level example dirs that have changes
dir_names: true
dir_names_max_depth: 1
dir_names_max_depth: 1
dir_names_exclude_current_dir: true
exclude_submodules: true
files_ignore: |
Expand All @@ -29,7 +29,7 @@ jobs:
json: true
quotepath: false

- name: 'Set output in the matrix format'
- name: "Set output in the matrix format"
id: set-output
run: echo "changed_directories={\"dir\":${{ steps.changed-files.outputs.all_changed_files }}}" >> "$GITHUB_OUTPUT"

Expand Down
20 changes: 10 additions & 10 deletions asyncapi.http.kafka.proxy/http-asyncapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ servers:
plain:
host: localhost:7114
protocol: http
protocolVersion: '2.0'
protocolVersion: "2.0"
defaultContentType: application/json

channels:
pets:
address: /pets
messages:
pet:
$ref: '#/components/messages/pet'
$ref: "#/components/messages/pet"
showPetById:
address: /pets/{id}
messages:
pet:
$ref: '#/components/messages/pet'
$ref: "#/components/messages/pet"
customers:
address: /customer
messages:
Expand All @@ -56,14 +56,14 @@ operations:
http:
method: POST
channel:
$ref: '#/channels/pets'
$ref: "#/channels/pets"
listPets:
action: receive
bindings:
http:
method: GET
channel:
$ref: '#/channels/pets'
$ref: "#/channels/pets"
getPets:
action: receive
bindings:
Expand All @@ -75,7 +75,7 @@ operations:
limit:
type: number
channel:
$ref: '#/channels/showPetById'
$ref: "#/channels/showPetById"
createCustomer:
action: send
bindings:
Expand All @@ -101,11 +101,11 @@ operations:
limit:
type: number
channel:
$ref: '#/channels/verifiedCustomers'
$ref: "#/channels/verifiedCustomers"
components:
correlationIds:
customerCorrelationId:
location: '$message.header#/CorrelId'
location: "$message.header#/CorrelId"
schemas:
petPayload:
type: object
Expand Down Expand Up @@ -166,14 +166,14 @@ components:
Inform about Pet.
contentType: application/json
payload:
$ref: '#/components/schemas/petPayload'
$ref: "#/components/schemas/petPayload"
customer:
name: Customer
title: Customer
summary: Information about a Customer.
contentType: application/json
correlationId:
$ref: '#/components/correlationIds/customerCorrelationId'
$ref: "#/components/correlationIds/customerCorrelationId"
headers:
type: object
properties:
Expand Down
1 change: 1 addition & 0 deletions asyncapi.mqtt.kafka.proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ mosquitto_pub -V '5' -t 'smartylighting/streetlights/1/0/event/1/lighting/measur
```

output:

```
Client null sending CONNECT
Client 30157eed-0ea7-42c6-91e8-466d1dd0ab66 received CONNACK (0)
Expand Down
6 changes: 3 additions & 3 deletions asyncapi.mqtt.kafka.proxy/kafka-asyncapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ operations:
onStreetlightData:
action: receive
channel:
$ref: '#/channels/streetlightData'
$ref: "#/channels/streetlightData"
toStreetlightData:
action: send
channel:
$ref: '#/channels/streetlightData'
$ref: "#/channels/streetlightData"

channels:
streetlightData:
description: This channel contains a message for streetlights.
address: streetlights
messages:
streetlightData:
$ref: '#/components/messages/streetlightData'
$ref: "#/components/messages/streetlightData"
mqttSessions:
description: This channel contains MQTT sessions.
address: mqtt-sessions
Expand Down
Loading

0 comments on commit 91bf722

Please sign in to comment.