-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use filesystem catalog instead of inline for async/openapi+grpc examp…
…les (#123)
- Loading branch information
Showing
22 changed files
with
541 additions
and
500 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# | ||
# Copyright 2021-2023 Aklivity Inc. | ||
# | ||
# Aklivity licenses this file to you under the Apache License, | ||
# version 2.0 (the "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at: | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
# License for the specific language governing permissions and limitations | ||
# under the License. | ||
# | ||
|
||
asyncapi: 3.0.0 | ||
info: | ||
title: Zilla Kafka Proxy | ||
version: 1.0.0 | ||
license: | ||
name: Aklivity Community License | ||
servers: | ||
plain: | ||
host: host.docker.internal:9092 | ||
protocol: kafka | ||
|
||
operations: | ||
onStreetlightData: | ||
action: receive | ||
channel: | ||
$ref: '#/channels/streetlightData' | ||
toStreetlightData: | ||
action: send | ||
channel: | ||
$ref: '#/channels/streetlightData' | ||
|
||
channels: | ||
streetlightData: | ||
description: This channel contains a message for streetlights. | ||
address: streetlights | ||
messages: | ||
streetlightData: | ||
$ref: '#/components/messages/streetlightData' | ||
mqttSessions: | ||
description: This channel contains MQTT sessions. | ||
address: mqtt-sessions | ||
mqttMessages: | ||
description: This channel contains MQTT messages. | ||
address: mqtt-messages | ||
mqttRetained: | ||
description: This channel contains MQTT retained messages. | ||
address: mqtt-retained | ||
|
||
components: | ||
messages: | ||
streetlightData: | ||
payload: | ||
type: object | ||
properties: | ||
streetlightId: | ||
type: integer | ||
description: This property describes the id of the streetlight | ||
message: | ||
type: string | ||
description: This property describes message of the streetlight |
Oops, something went wrong.