Skip to content

Commit 83918ff

Browse files
committed
278 - fixed new unit tests
1 parent f1e3cd7 commit 83918ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/avro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ curl -d '{"id":"069711bf-3946-4661-984f-c667657b8d85","type":"com.example","time
7373

7474
12:35:36.235 module=Avrora.Storage.Registry [debug] obtaining schema with global id `1`
7575
12:35:36.236 module=RIG.Tracing [debug] private mode, remove tracestate.
76-
12:35:36.237 module=Rig.EventStream.KafkaToFilter [debug] %{:__struct__ => Cloudevents.Format.V_0_2.Event, :contenttype => "avro/binary", :data => %{"example" => "test"}, :extensions => %{"rig" => %{"correlation" => "NTd2PR-TnLX00m4qYT-5fiSvuI_ymOvikja50kMPEYkezFkMcwhBY33rCgYCgKnlSSozVbYQZhWxqR8=", "headers" => [["accept", "*/*"], ["content-length", "188"], ["content-type", "application/json"], ["host", "localhost:4000"], ["user-agent", "curl/7.64.1"]], "host" => "localhost", "method" => "POST", "path" => "/myapi/publish-async", "port" => 4000, "query" => "", "remoteip" => "172.19.0.1", "scheme" => "http"}, "traceparent" => "00-b068f0d83c5938fa6d0fb8c21959edf6-0ee83bcb44fb61e0-01"}, :id => "069711bf-3946-4661-984f-c667657b8d85", :schemaurl => nil, :source => "/cli", :specversion => "0.2", :time => "2018-04-05T17:31:00Z", :type => "com.example", "traceparent" => "00-86567e8c4b4cdb6c7f052b0f627959f9-c00644b7954af2fd-01"}
76+
12:35:36.237 module=Rig.EventStream.KafkaToFilter [debug] %{:__struct__ => Cloudevents.Format.V_0_2.Event, :contenttype => "avro/binary", :data => %{"example" => "test"}, :extensions => %{"rig" => %{"correlation" => "NTd2PR-TnLX00m4qYT-5fiSvuI_ymOvikja50kMPEYkezFkMcwhBY33rCgYCgKnlSSozVbYQZhWxqR8=", "headers" => [["accept", "*/*"], ["content-length", "188"], ["content-type", "application/json"], ["host", "localhost:4000"], ["user-agent", "curl/7.64.1"]], "host" => "localhost", "method" => "POST", "path_regex" => "/myapi/publish-async", "port" => 4000, "query" => "", "remoteip" => "172.19.0.1", "scheme" => "http"}, "traceparent" => "00-b068f0d83c5938fa6d0fb8c21959edf6-0ee83bcb44fb61e0-01"}, :id => "069711bf-3946-4661-984f-c667657b8d85", :schemaurl => nil, :source => "/cli", :specversion => "0.2", :time => "2018-04-05T17:31:00Z", :type => "com.example", "traceparent" => "00-86567e8c4b4cdb6c7f052b0f627959f9-c00644b7954af2fd-01"}
7777
```
7878

7979
## Example 2: Kafka schema Registry CLI

test/rig_tests/proxy/response_from/async_http_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ defmodule RigTests.Proxy.ResponseFrom.AsyncHttpTest do
198198
id: endpoint_id,
199199
type: "http",
200200
method: "GET",
201-
path: endpoint_path,
201+
path_regex: endpoint_path,
202202
response_from: "http_async"
203203
}
204204
]
@@ -268,7 +268,7 @@ defmodule RigTests.Proxy.ResponseFrom.AsyncHttpTest do
268268
id: endpoint_id,
269269
type: "http",
270270
method: "GET",
271-
path: endpoint_path,
271+
path_regex: endpoint_path,
272272
response_from: "http_async"
273273
}
274274
]

0 commit comments

Comments
 (0)