kikocis/falkordb-omnistrate public
Changesets · Branches · Tags · Compare
| Changeset | 196b1464f3c8e6c63fbbd3605330ee9fbc7fd0493e4d3a493e2ee2d8bfaf82c1 |
|---|---|
| Author | Dudi Zimberknopf <dudi@vizo.dev> · 2024-04-03 10:42 +03:00 |
| Committer | Dudi Zimberknopf <dudi@vizo.dev> · 2024-04-03 10:42 +03:00 |
| Parents | a6f7ccb2c267 |
3 files changed
modified falkordb-node/healthcheck_rs/Cargo.lock +138 −0
| @@ -160,6 +160,16 @@ | ||
| 160 | 160 | "memchr", |
| 161 | 161 | ] |
| 162 | 162 | |
| 163 | +[[package]] | |
| 164 | +name = "core-foundation" | |
| 165 | +version = "0.9.4" | |
| 166 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 167 | +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" | |
| 168 | +dependencies = [ | |
| 169 | + "core-foundation-sys", | |
| 170 | + "libc", | |
| 171 | +] | |
| 172 | + | |
| 163 | 173 | [[package]] |
| 164 | 174 | name = "core-foundation-sys" |
| 165 | 175 | version = "0.8.6" |
| @@ -222,6 +232,21 @@ | ||
| 222 | 232 | "windows-sys", |
| 223 | 233 | ] |
| 224 | 234 | |
| 235 | +[[package]] | |
| 236 | +name = "foreign-types" | |
| 237 | +version = "0.3.2" | |
| 238 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 239 | +checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" | |
| 240 | +dependencies = [ | |
| 241 | + "foreign-types-shared", | |
| 242 | +] | |
| 243 | + | |
| 244 | +[[package]] | |
| 245 | +name = "foreign-types-shared" | |
| 246 | +version = "0.1.1" | |
| 247 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 248 | +checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" | |
| 249 | + | |
| 225 | 250 | [[package]] |
| 226 | 251 | name = "form_urlencoded" |
| 227 | 252 | version = "1.2.1" |
| @@ -326,6 +351,12 @@ | ||
| 326 | 351 | "wasm-bindgen", |
| 327 | 352 | ] |
| 328 | 353 | |
| 354 | +[[package]] | |
| 355 | +name = "lazy_static" | |
| 356 | +version = "1.4.0" | |
| 357 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 358 | +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" | |
| 359 | + | |
| 329 | 360 | [[package]] |
| 330 | 361 | name = "libc" |
| 331 | 362 | version = "0.2.153" |
| @@ -384,6 +415,24 @@ | ||
| 384 | 415 | "twoway", |
| 385 | 416 | ] |
| 386 | 417 | |
| 418 | +[[package]] | |
| 419 | +name = "native-tls" | |
| 420 | +version = "0.2.11" | |
| 421 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 422 | +checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" | |
| 423 | +dependencies = [ | |
| 424 | + "lazy_static", | |
| 425 | + "libc", | |
| 426 | + "log", | |
| 427 | + "openssl", | |
| 428 | + "openssl-probe", | |
| 429 | + "openssl-sys", | |
| 430 | + "schannel", | |
| 431 | + "security-framework", | |
| 432 | + "security-framework-sys", | |
| 433 | + "tempfile", | |
| 434 | +] | |
| 435 | + | |
| 387 | 436 | [[package]] |
| 388 | 437 | name = "num-conv" |
| 389 | 438 | version = "0.1.0" |
| @@ -424,12 +473,62 @@ | ||
| 424 | 473 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 425 | 474 | checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" |
| 426 | 475 | |
| 476 | +[[package]] | |
| 477 | +name = "openssl" | |
| 478 | +version = "0.10.64" | |
| 479 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 480 | +checksum = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f" | |
| 481 | +dependencies = [ | |
| 482 | + "bitflags 2.5.0", | |
| 483 | + "cfg-if", | |
| 484 | + "foreign-types", | |
| 485 | + "libc", | |
| 486 | + "once_cell", | |
| 487 | + "openssl-macros", | |
| 488 | + "openssl-sys", | |
| 489 | +] | |
| 490 | + | |
| 491 | +[[package]] | |
| 492 | +name = "openssl-macros" | |
| 493 | +version = "0.1.1" | |
| 494 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 495 | +checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" | |
| 496 | +dependencies = [ | |
| 497 | + "proc-macro2", | |
| 498 | + "quote", | |
| 499 | + "syn", | |
| 500 | +] | |
| 501 | + | |
| 502 | +[[package]] | |
| 503 | +name = "openssl-probe" | |
| 504 | +version = "0.1.5" | |
| 505 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 506 | +checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" | |
| 507 | + | |
| 508 | +[[package]] | |
| 509 | +name = "openssl-sys" | |
| 510 | +version = "0.9.102" | |
| 511 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 512 | +checksum = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2" | |
| 513 | +dependencies = [ | |
| 514 | + "cc", | |
| 515 | + "libc", | |
| 516 | + "pkg-config", | |
| 517 | + "vcpkg", | |
| 518 | +] | |
| 519 | + | |
| 427 | 520 | [[package]] |
| 428 | 521 | name = "percent-encoding" |
| 429 | 522 | version = "2.3.1" |
| 430 | 523 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 431 | 524 | checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" |
| 432 | 525 | |
| 526 | +[[package]] | |
| 527 | +name = "pkg-config" | |
| 528 | +version = "0.3.30" | |
| 529 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 530 | +checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" | |
| 531 | + | |
| 433 | 532 | [[package]] |
| 434 | 533 | name = "powerfmt" |
| 435 | 534 | version = "0.2.0" |
| @@ -504,6 +603,7 @@ | ||
| 504 | 603 | dependencies = [ |
| 505 | 604 | "combine", |
| 506 | 605 | "itoa", |
| 606 | + "native-tls", | |
| 507 | 607 | "percent-encoding", |
| 508 | 608 | "ryu", |
| 509 | 609 | "sha1_smol", |
| @@ -598,6 +698,38 @@ | ||
| 598 | 698 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 599 | 699 | checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" |
| 600 | 700 | |
| 701 | +[[package]] | |
| 702 | +name = "schannel" | |
| 703 | +version = "0.1.23" | |
| 704 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 705 | +checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" | |
| 706 | +dependencies = [ | |
| 707 | + "windows-sys", | |
| 708 | +] | |
| 709 | + | |
| 710 | +[[package]] | |
| 711 | +name = "security-framework" | |
| 712 | +version = "2.10.0" | |
| 713 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 714 | +checksum = "770452e37cad93e0a50d5abc3990d2bc351c36d0328f86cefec2f2fb206eaef6" | |
| 715 | +dependencies = [ | |
| 716 | + "bitflags 1.3.2", | |
| 717 | + "core-foundation", | |
| 718 | + "core-foundation-sys", | |
| 719 | + "libc", | |
| 720 | + "security-framework-sys", | |
| 721 | +] | |
| 722 | + | |
| 723 | +[[package]] | |
| 724 | +name = "security-framework-sys" | |
| 725 | +version = "2.10.0" | |
| 726 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 727 | +checksum = "41f3cc463c0ef97e11c3461a9d3787412d30e8e7eb907c79180c4a57bf7c04ef" | |
| 728 | +dependencies = [ | |
| 729 | + "core-foundation-sys", | |
| 730 | + "libc", | |
| 731 | +] | |
| 732 | + | |
| 601 | 733 | [[package]] |
| 602 | 734 | name = "serde" |
| 603 | 735 | version = "1.0.197" |
| @@ -775,6 +907,12 @@ | ||
| 775 | 907 | "percent-encoding", |
| 776 | 908 | ] |
| 777 | 909 | |
| 910 | +[[package]] | |
| 911 | +name = "vcpkg" | |
| 912 | +version = "0.2.15" | |
| 913 | +source = "registry+https://github.com/rust-lang/crates.io-index" | |
| 914 | +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" | |
| 915 | + | |
| 778 | 916 | [[package]] |
| 779 | 917 | name = "version_check" |
| 780 | 918 | version = "0.9.4" |
modified falkordb-node/healthcheck_rs/Cargo.toml +1 −1
| @@ -6,6 +6,6 @@ | ||
| 6 | 6 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
| 7 | 7 | |
| 8 | 8 | [dependencies] |
| 9 | - redis = "*" | |
| 9 | +redis = { version = "0.25.2", features = ["tls-native-tls"] } | |
| 10 | 10 | regex = "1.10.3" |
| 11 | 11 | rouille = "3.6.2" |
modified falkordb-node/node-entrypoint.sh +1 −2
| @@ -295,8 +295,7 @@ | ||
| 295 | 295 | |
| 296 | 296 | if [[ $RUN_METRICS -eq 1 ]]; then |
| 297 | 297 | echo "Starting Metrics" |
| 298 | - METRICS_TLS_STRING=$(if [[ $TLS == "true" ]]; then echo "--tls --tls-ca-cert-file $ROOT_CA_PATH --tls-server-key-file $TLS_MOUNT_PATH/tls.key --tls-server-cert-file $TLS_MOUNT_PATH/tls.crt"; else echo ""; fi) | |
| 299 | - redis_exporter --redis.password $ADMIN_PASSWORD $METRICS_TLS_STRING --redis.addr $NODE_HOST_IP:$NODE_PORT & | |
| 298 | + redis_exporter -skip-tls-verification -redis.password $ADMIN_PASSWORD -redis.addr $NODE_HOST_IP:$NODE_PORT & | |
| 300 | 299 | fi |
| 301 | 300 | |
| 302 | 301 | if [[ $RUN_HEALTH_CHECK -eq 1 ]]; then |