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
[jim@localhost drogue-cloud]$ make deploy CLUSTER=minikube CONTAINER_REGISTRY=quay.io/jcrossley3 | |
test -d deploy/helm/charts || git submodule update --init | |
env TEST_CERTS_IMAGE=quay.io/jcrossley3/test-cert-generator:latest ./scripts/drgadm deploy \ | |
-s defaults.images.repository=quay.io/jcrossley3 \ | |
-s defaults.images.tag=latest | |
🌱 Checking cluster connectivity ... done! | |
📦 Deploying pre-requisites (Strimzi) ... | |
⏳ Waiting for the operator to become ready ... done! | |
📦 Deploying pre-requisites (Knative) ... | |
🏗 Deploying Knative serving ... done! |
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
[jim@localhost drogue-cloud]$ make deploy CLUSTER=minikube | |
test -d deploy/helm/charts || git submodule update --init | |
env TEST_CERTS_IMAGE="ghcr.io/drogue-iot"/test-cert-generator:latest ./scripts/drgadm deploy \ | |
-s defaults.images.repository="ghcr.io/drogue-iot" \ | |
-s defaults.images.tag=latest | |
🌱 Checking cluster connectivity ... done! | |
🆕 Creating namespace (drogue-iot) ... done! | |
📦 Deploying pre-requisites (Strimzi) ... | |
🆕 Creating namespace ... done! | |
🏗 Deploying the operator ... done! |
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
diff --git a/Cargo.toml b/Cargo.toml | |
index 664d908..5985936 100644 | |
--- a/Cargo.toml | |
+++ b/Cargo.toml | |
@@ -17,10 +17,10 @@ categories = ["web-programming", "encoding", "data-structures"] | |
name = "cloudevents" | |
[features] | |
-cloudevents-actix = ["actix-web", "async-trait", "lazy_static", "bytes", "futures"] | |
-cloudevents-reqwest = ["reqwest", "async-trait", "lazy_static", "bytes"] |
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
[jim@localhost reqwest-wasm-example]$ npm install | |
npm WARN reqwest-wasm-example No repository field. | |
npm WARN reqwest-wasm-example No license field. | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents): | |
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents): | |
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): | |
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) |
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
writing new private key to '/etc/drogue-certs/http-endpoint.key' | |
----- | |
chmod a+r /etc/drogue-certs/http-endpoint.key /etc/drogue-certs/http-endpoint.req | |
cat /etc/drogue-certs/http-endpoint.req | openssl x509 -req -out "/etc/drogue-certs/http-endpoint.crt" -extensions san_ext -extfile endpoints//ca.cnf -days 3650 -CA "/etc/drogue-certs/ca-cert.pem" -CAkey "/etc/drogue-certs/ca-key.pem" -CAcreateserial | |
Signature ok | |
subject=O = Drogue IoT, OU = Cloud, CN = http endpoint | |
Getting CA Private Key | |
chmod a+r /etc/drogue-certs/http-endpoint.crt | |
cat /etc/drogue-certs/http-endpoint.crt /etc/drogue-certs/ca-bundle.pem > /etc/drogue-certs/http-endpoint.fullchain.crt | |
chmod a+r /etc/drogue-certs/http-endpoint.fullchain.crt |
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
[jim@localhost drogue-addict]$ npm test | |
> event-handler@0.1.0 test /home/jim/tmp/drogue-addict | |
> node test/unit.js && node test/integration.js | |
TAP version 13 | |
# Unit: handles a valid event | |
context | |
{ | |
"cloudevent": { |
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
[jim@localhost events]$ npm install | |
> nodemon@2.0.5 postinstall /home/jim/src/func/templates/node/events/node_modules/nodemon | |
> node bin/postinstall || exit 0 | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents): | |
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) | |
added 280 packages from 184 contributors and audited 281 packages in 8.318s |
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
*** jcrossley3 is Jim Crossley (~user@2600:6c5a:583f:718b:7d6b:12b7:f0f4:30f6) | |
*** jcrossley3 is on channel(s): #emacs | |
*** jcrossley3 is/was on server iridium.libera.chat (Stockholm, SE) | |
*** iridium.libera.chat 338 jcrossley3 jcrossley3 | |
2600:6c5a:583f:718b:7d6b:12b7:f0f4:30f6 actually using host | |
*** jcrossley3 has been idle for 00:06.14, on since 2021-05-21 10:30:54 | |
*** jcrossley3 is logged in as jcrossley3 | |
*** You must specify the correct channel key (+k) to join #projectodd [10:40] | |
*** You must specify the correct channel key (+k) to join #projectodd [10:42] | |
ERC> |
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
{ | |
"temp": 42 | |
} | |
{ | |
"id": "8013d747-e4b3-47c0-978d-e23f3a1d01f7", | |
"time": "2021-05-20T14:05:19.984Z", | |
"type": "io.drogue.event.v1", | |
"source": "drogue://app%5Fid/device%5Fid", | |
"specversion": "1.0", | |
"datacontenttype": "application/json", |
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
[jim@localhost drogue-cloud]$ podman --version | |
podman version 3.1.2 | |
[jim@localhost drogue-cloud]$ type podman | |
podman is hashed (/usr/bin/podman) | |
[jim@localhost drogue-cloud]$ podman info | |
host: | |
arch: amd64 | |
buildahVersion: 1.20.1 | |
cgroupManager: systemd | |
cgroupVersion: v2 |