-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
133 changed files
with
1,100 additions
and
136 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
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
56 changes: 56 additions & 0 deletions
56
...aklivity/zilla/specs/binding/pgsql/streams/application/select.table.with.error/client.rpt
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,56 @@ | ||
# | ||
# Copyright 2021-2023 Aklivity Inc | ||
# | ||
# Licensed under the Aklivity Community License (the "License"); you may not use | ||
# this file except in compliance with the License. You may obtain a copy of the | ||
# License at | ||
# | ||
# https://www.aklivity.io/aklivity-community-license/ | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OF ANY KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations under the License. | ||
# | ||
|
||
connect "zilla://streams/app0" | ||
option zilla:window 8192 | ||
option zilla:transmission "duplex" | ||
|
||
write zilla:begin.ext ${pgsql:beginEx() | ||
.typeId(zilla:id("pgsql")) | ||
.parameter("user", "root") | ||
.parameter("database", "dev") | ||
.parameter("application_name", "psql") | ||
.parameter("client_encoding", "UTF8") | ||
.build()} | ||
|
||
connected | ||
|
||
write zilla:data.ext ${pgsql:dataEx() | ||
.typeId(zilla:id("pgsql")) | ||
.query() | ||
.build() | ||
.build()} | ||
write "SELECT * FROM unknown;" | ||
[0x00] | ||
write flush | ||
|
||
read advised zilla:flush ${pgsql:flushEx() | ||
.typeId(zilla:id("pgsql")) | ||
.error() | ||
.severity("ERROR") | ||
.code("XX000") | ||
.message("Failed to run the query.") | ||
.build() | ||
.build()} | ||
|
||
read advised zilla:flush ${pgsql:flushEx() | ||
.typeId(zilla:id("pgsql")) | ||
.ready() | ||
.status("IDLE") | ||
.build() | ||
.build()} | ||
|
||
read closed | ||
write close |
59 changes: 59 additions & 0 deletions
59
...aklivity/zilla/specs/binding/pgsql/streams/application/select.table.with.error/server.rpt
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,59 @@ | ||
# | ||
# Copyright 2021-2023 Aklivity Inc | ||
# | ||
# Licensed under the Aklivity Community License (the "License"); you may not use | ||
# this file except in compliance with the License. You may obtain a copy of the | ||
# License at | ||
# | ||
# https://www.aklivity.io/aklivity-community-license/ | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OF ANY KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations under the License. | ||
# | ||
|
||
property serverAddress "zilla://streams/app0" | ||
|
||
accept ${serverAddress} | ||
option zilla:window 8192 | ||
option zilla:transmission "duplex" | ||
|
||
accepted | ||
|
||
read zilla:begin.ext ${pgsql:beginEx() | ||
.typeId(zilla:id("pgsql")) | ||
.parameter("user", "root") | ||
.parameter("database", "dev") | ||
.parameter("application_name", "psql") | ||
.parameter("client_encoding", "UTF8") | ||
.build()} | ||
|
||
connected | ||
|
||
read zilla:data.ext ${pgsql:dataEx() | ||
.typeId(zilla:id("pgsql")) | ||
.query() | ||
.build() | ||
.build()} | ||
read "SELECT * FROM unknown;" | ||
[0x00] | ||
|
||
write advise zilla:flush ${pgsql:flushEx() | ||
.typeId(zilla:id("pgsql")) | ||
.error() | ||
.severity("ERROR") | ||
.code("XX000") | ||
.message("Failed to run the query.") | ||
.build() | ||
.build()} | ||
|
||
write advise zilla:flush ${pgsql:flushEx() | ||
.typeId(zilla:id("pgsql")) | ||
.ready() | ||
.status("IDLE") | ||
.build() | ||
.build()} | ||
|
||
write close | ||
read closed |
Oops, something went wrong.