Skip to content

Commit

Permalink
Update data plane to serve webserver on context, not - as this is unc…
Browse files Browse the repository at this point in the history
…ommon in Knative lands

Signed-off-by: Matthias Wessendorf <[email protected]>
  • Loading branch information
matzew committed Oct 2, 2024
1 parent bcb7944 commit 5f1be9b
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 7 deletions.
1 change: 0 additions & 1 deletion aws-s3-sink/src/main/kubernetes/kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ spec:
apiVersion: v1
kind: Service
name: kn-connector-aws-s3-sink
uri: /events
2 changes: 1 addition & 1 deletion aws-s3-sink/src/main/resources/knative.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "default",
"type": "event",
"endpointKind": "source",
"path": "/events",
"path": "/",
"objectApiVersion": "eventing.knative.dev/v1",
"objectKind": "Broker",
"objectName": "default",
Expand Down
1 change: 0 additions & 1 deletion aws-sqs-sink/src/main/kubernetes/kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ spec:
apiVersion: v1
kind: Service
name: kn-connector-aws-sqs-sink
uri: /events
2 changes: 1 addition & 1 deletion aws-sqs-sink/src/main/resources/knative.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "default",
"type": "event",
"endpointKind": "source",
"path": "/events",
"path": "/",
"objectApiVersion": "eventing.knative.dev/v1",
"objectKind": "Broker",
"objectName": "default",
Expand Down
1 change: 0 additions & 1 deletion log-sink/src/main/kubernetes/kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ spec:
apiVersion: v1
kind: Service
name: kn-connector-log-sink
uri: /events
2 changes: 1 addition & 1 deletion log-sink/src/main/resources/knative.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "default",
"type": "event",
"endpointKind": "source",
"path": "/events",
"path": "/",
"objectApiVersion": "eventing.knative.dev/v1",
"objectKind": "Broker",
"objectName": "default",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void shouldConsumeEvents() {
tc.when(
http().client(knativeTrigger)
.send()
.post("/events")
.post("/")
.message()
.body("Timer source event!")
.header("ce-id", "@matches([0-9A-Z]{15}-[0-9]{16})@")
Expand Down

0 comments on commit 5f1be9b

Please sign in to comment.