-
Notifications
You must be signed in to change notification settings - Fork 63
wasm: move everything into common/ to match other extensions. #13
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,11 +14,6 @@ EXTENSIONS = { | |
|
|
||
| "envoy.grpc_credentials.file_based_metadata": "//source/extensions/grpc_credentials/file_based_metadata:config", | ||
|
|
||
| # | ||
| # WASM | ||
| # | ||
| "envoy.wasm": "//source/extensions/wasm:config", | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @jplevyak it seems that this isn't necessary, since we're including each extension separately. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. extensions/wasm is independent of extensions/filter/http/wasm but they both depend on extensions/common/wasm. And you can include a general service which just handles onsStart/onTIck by just using extensions/wasm. I don't understand why you are moving extensions/wasm/config -> extensions/wasm/common/config Let's chat tomorrow. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the VmConfig should be on config/common because it is the shared bit among all the services and filters and the WasmConfig bit from config/wasm.proto should stay where it is as it is specificallyi the service config. |
||
|
|
||
| # | ||
| # Health checkers | ||
| # | ||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,50 +2,45 @@ licenses(["notice"]) # Apache 2 | |
|
|
||
| load( | ||
| "//bazel:envoy_build_system.bzl", | ||
| "envoy_cc_test", | ||
| "envoy_package", | ||
| ) | ||
| load( | ||
| "//test/extensions:extensions_build_system.bzl", | ||
| "envoy_extension_cc_test", | ||
| ) | ||
|
|
||
| envoy_package() | ||
|
|
||
| envoy_extension_cc_test( | ||
| envoy_cc_test( | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the differences between envoy_cc_test and envoy_extension_cc_test? |
||
| name = "wasm_test", | ||
| srcs = ["wasm_test.cc"], | ||
| data = [ | ||
| "//test/extensions/wasm/test_data:modules", | ||
| "//test/extensions/common/wasm/test_data:modules", | ||
| ], | ||
| extension_name = "envoy.wasm", | ||
| external_deps = ["abseil_optional"], | ||
| deps = [ | ||
| "//source/common/event:dispatcher_lib", | ||
| "//source/common/stats:isolated_store_lib", | ||
| "//source/common/stats:stats_lib", | ||
| "//source/extensions/common/wasm:config", | ||
| "//source/extensions/common/wasm:wasm_lib", | ||
| "//source/extensions/wasm:config", | ||
| "//test/test_common:environment_lib", | ||
| "//test/test_common:simulated_time_system_lib", | ||
| ], | ||
| ) | ||
|
|
||
| envoy_extension_cc_test( | ||
| envoy_cc_test( | ||
| name = "config_test", | ||
| srcs = ["config_test.cc"], | ||
| data = [ | ||
| "//test/extensions/wasm/test_data:modules", | ||
| "//test/extensions/common/wasm/test_data:modules", | ||
| ], | ||
| extension_name = "envoy.wasm", | ||
| deps = [ | ||
| "//include/envoy/registry", | ||
| "//source/common/stats:isolated_store_lib", | ||
| "//source/extensions/common/wasm:config", | ||
| "//source/extensions/common/wasm:wasm_lib", | ||
| "//source/extensions/wasm:config", | ||
| "//source/server:wasm_config_lib", | ||
| "//test/mocks/event:event_mocks", | ||
| "//test/mocks/thread_local:thread_local_mocks", | ||
| "//test/test_common:environment_lib", | ||
| "@envoy_api//envoy/config/wasm/v2:wasm_cc", | ||
| "@envoy_api//envoy/config/common/wasm/v2:wasm_cc", | ||
| ], | ||
| ) | ||
Uh oh!
There was an error while loading. Please reload this page.