Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update data plane to serve webserver on context, not - as this is uncommon in Knative lands #10

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ spec:
apiVersion: v1
kind: Service
name: kn-connector-log-sink
uri: /events
----

The trigger for example filters the events by its type `ce-type=dev.knative.connector.event.timer`.
Expand Down
1 change: 0 additions & 1 deletion aws-s3-sink/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ spec:
apiVersion: v1
kind: Service
name: kn-connector-aws-s3-sink
uri: /events
----

== Configuration
Expand Down
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/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ spec:
apiVersion: v1
kind: Service
name: kn-connector-aws-sqs-sink
uri: /events
----

== Configuration
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/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ spec:
apiVersion: v1
kind: Service
name: kn-connector-log-sink
uri: /events
----

== Configuration
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
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ spec:
apiVersion: v1
kind: Service
name: kn-connector-${kamelet-name}-sink
uri: /events
----

== Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ spec:
apiVersion: v1
kind: Service
name: kn-connector-${kamelet-name}-sink
uri: /events
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