This is an automated email from the ASF dual-hosted git repository.
xuzhenbao pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/celix.git
from 6a550a44 Merge pull request #728 from
apache/feature/509-remove-deprecated-version
add a38a77af Use the real hostname for remote service
add 0a920227 Remove uuid in the service instance name
add 28e775bb Add process ID to service instance name for easier debugging
add 92ce33ad Resolve ip addresses and set it to endpoint description
add 0705bf5f Resolve ip addresses and set it to endpoint description
add 4fdeadef Add the interval time of endpoint watcher thead loop
add f92eb6c4 Add the interval time of endpoint watcher thead loop
add 73308d5d Remove the service resolved timeout mechanism, it is not
necessary
add 89e4dbcf Add retry cnt for DNSServiceGetAddrInfo
add f5e276e3 Map the config type to mDNS service subtype and improve some
code
add dbc603d7 Improve discovery_zeroconf and its unit test
add f6cfb5ec Refresh remote service endpoint when RSA is removed
add 9266360a Add remote.configs.supported property for RSA service,and add
celix.remote.admin.shm.rpc_type property for RSA_SHM configuration type
add 3b061167 fix bugs for discovery_zeroconf
add ddcd91b9 Add zeroconf configuration type for rsa_dfi
add ea552e56 Add zeroconf configuration type for rsa_dfi
add eedf073b Rename the configurations name of rsa_shm
add 11c8fdc5 Rename remote service bundles
add 8100c7f9 Fix bugs for discovery_zeroconf
add 47366913 Fix unit test failure
add 4de2144a Fix unit test failure
add 1aecccc3 Merge branch 'master' of https://github.com/xuzhenbao/celix
into improve_zeroconf_discovery
add 768c5c75 Merge master
add 356ec2ba Add CELIX_RSA prefix for constants of rsa_spi
add 21b088f7 Fix code based on code review
add e95dcefe Topology Manager implement dynamic IP mechanism
add 66a3f10c Improve unit test of discovery_zeroconf
add 2cb9b5cb Merge branch 'master' of https://github.com/xuzhenbao/celix
into improve_zeroconf_discovery
add ce4dc3be Replace OSGI_RSA_ prefix to CELIX_RSA_
add 8e14b974 Remove IPV6 server for RSA_DFI, because civetweb not support
IPV6 in linux-build-apt workflow
add e48e5ed6 Improve CURL error code handling
new 0bca5eff Merge pull request #710 from
xuzhenbao/improve_zeroconf_discovery
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
bundles/remote_services/CMakeLists.txt | 8 +-
.../discovery_common/src/discovery.c | 4 +-
.../discovery_common/src/discovery_activator.c | 10 +-
.../src/endpoint_descriptor_writer.c | 2 +-
.../discovery_configured/CMakeLists.txt | 1 +
.../remote_services/discovery_etcd/CMakeLists.txt | 1 +
.../discovery_zeroconf/CMakeLists.txt | 5 +-
.../discovery_zeroconf/gtest/CMakeLists.txt | 9 +
.../src/DiscoveryZeroconfActivatorTestSuite.cc | 139 +++
.../src/DiscoveryZeroconfAnnouncerTestSuite.cc | 416 ++++----
.../src/DiscoveryZeroconfIntegrationTestSuite.cc | 2 +-
.../gtest/src/DiscoveryZeroconfWatcherTestSuite.cc | 885 +++++++++++++++--
.../src/discovery_zeroconf_activator.c | 102 +-
.../src/discovery_zeroconf_announcer.c | 372 ++++---
.../src/discovery_zeroconf_announcer.h | 6 +-
.../src/discovery_zeroconf_constants.h | 33 +-
.../src/discovery_zeroconf_watcher.c | 1035 ++++++++++++++++----
.../src/discovery_zeroconf_watcher.h | 8 +
.../calculator_service/src/calculator_activator.c | 4 +-
.../interceptors/src/rs_interceptor_activator.c | 8 +-
.../src/remote_example_activator.c | 2 +-
.../src/remote_example_impl.c | 2 +-
.../remote_service_admin_dfi/CMakeLists.txt | 1 +
.../remote_service_admin_dfi/gtest/CMakeLists.txt | 4 +
.../gtest/src/rsa_client_server_tests.cc | 148 ++-
.../gtest/src/rsa_tests.cc | 14 +-
.../src/export_registration_dfi.c | 2 +-
.../src/import_registration_dfi.c | 13 +-
.../src/import_registration_dfi.h | 5 +-
.../src/remote_service_admin_activator.c | 21 +-
.../src/remote_service_admin_dfi.c | 204 +++-
.../src/remote_service_admin_dfi_constants.h | 12 +
.../rsa_shm/CMakeLists.txt | 1 +
.../gtest/src/RsaShmActivatorUnitTestSuite.cc | 31 +-
.../src/RsaShmExportRegistrationUnitTestSuite.cc | 68 +-
.../rsa_shm/gtest/src/RsaShmImplUnitTestSuite.cc | 40 +-
.../src/RsaShmImportRegistrationUnitTestSuite.cc | 61 +-
.../gtest/src/RsaShmIntegrationTestSuite.cc | 2 +-
.../rsa_shm/src/rsa_shm_activator.c | 12 +-
.../rsa_shm/src/rsa_shm_constants.h | 24 +-
.../rsa_shm/src/rsa_shm_export_registration.c | 41 +-
.../rsa_shm/src/rsa_shm_impl.c | 78 +-
.../rsa_shm/src/rsa_shm_import_registration.c | 37 +-
.../gtest/src/EndpointDescriptionUnitTestSuite.cc | 12 +-
.../rsa_common/src/endpoint_description.c | 10 +-
.../rsa_common/src/export_registration_impl.c | 2 +-
.../rsa_common/src/import_registration_impl.c | 2 +-
.../rsa_common/src/remote_interceptors_handler.c | 2 +-
.../rsa_common/src/remote_proxy_factory_impl.c | 2 +-
.../remote_services/rsa_rpc_json/CMakeLists.txt | 1 +
.../gtest/src/RsaJsonRpcIntegrationTestSuite.cc | 2 +-
.../gtest/src/RsaJsonRpcUnitTestSuite.cc | 34 +-
.../src/RsaRequestSenderTrackerUnitTestSuite.cc | 4 +-
.../rsa_rpc_json/src/rsa_json_rpc_activator.c | 6 +-
.../rsa_rpc_json/src/rsa_json_rpc_endpoint_impl.c | 4 +-
.../rsa_rpc_json/src/rsa_request_sender_tracker.c | 4 +-
.../rsa_spi/include/endpoint_listener.h | 4 +-
.../rsa_spi/include/remote_constants.h | 55 +-
.../rsa_spi/include/remote_endpoint.h | 2 +-
.../rsa_spi/include/remote_interceptor.h | 4 +-
.../remote_services/rsa_spi/include/remote_proxy.h | 4 +-
.../rsa_spi/include/remote_service_admin.h | 2 +-
.../rsa_spi/include/rsa_request_handler_service.h | 6 +-
.../rsa_spi/include/rsa_request_sender_service.h | 6 +-
.../rsa_spi/include/rsa_rpc_factory.h | 14 +-
.../topology_manager/CMakeLists.txt | 13 +-
.../topology_manager/gtest/CMakeLists.txt | 64 ++
.../src/TopologyManagerErrorInjectionTestSuite.cc | 267 +++++
.../gtest/src/TopologyManagerTestSuite.cc | 472 +++++++++
.../gtest/src/TopologyManagerTestSuiteBaseClass.h | 274 ++++++
.../topology_manager/src/activator.c | 14 +-
.../topology_manager/src/topology_manager.c | 762 ++++++++++----
.../topology_manager/src/topology_manager.h | 1 -
.../tms_tst/disc_mock/disc_mock_activator.c | 6 +-
.../topology_manager/tms_tst/tms_tests.cpp | 38 +-
examples/conan_test_package/my_rsa_activator.c | 4 +-
libs/error_injector/mdnsresponder/CMakeLists.txt | 2 +-
.../mdnsresponder/include/mdnsresponder_ei.h | 2 +
.../mdnsresponder/src/mdnsresponder_ei.cc | 16 +
libs/framework/error_injector/CMakeLists.txt | 3 +-
.../error_injector/celix_bundle_ctx/CMakeLists.txt | 1 +
.../include/celix_bundle_context_ei.h | 2 +
.../src/celix_bundle_context_ei.cc | 7 +
.../celix_dm_component}/CMakeLists.txt | 21 +-
.../include/celix_dm_component_ei.h} | 13 +-
.../src/celix_dm_component_ei.cc | 26 +-
libs/framework/include/celix_dm_component.h | 3 +
.../error_injector/celix_properties/CMakeLists.txt | 1 +
.../celix_properties/include/celix_properties_ei.h | 1 +
.../celix_properties/src/celix_properties_ei.cc | 7 +
.../include/celix_string_hash_map_ei.h | 6 +-
.../src/celix_string_hash_map_ei.cc | 7 +
libs/utils/include/celix_errno.h | 9 +-
93 files changed, 4876 insertions(+), 1221 deletions(-)
create mode 100644
bundles/remote_services/topology_manager/gtest/CMakeLists.txt
create mode 100644
bundles/remote_services/topology_manager/gtest/src/TopologyManagerErrorInjectionTestSuite.cc
create mode 100644
bundles/remote_services/topology_manager/gtest/src/TopologyManagerTestSuite.cc
create mode 100644
bundles/remote_services/topology_manager/gtest/src/TopologyManagerTestSuiteBaseClass.h
copy {examples/celix-examples/hello_world_c =>
libs/framework/error_injector/celix_dm_component}/CMakeLists.txt (63%)
copy libs/{dfi/error_injector/dfi/include/dfi_ei.h =>
framework/error_injector/celix_dm_component/include/celix_dm_component_ei.h}
(72%)
copy
bundles/remote_services/remote_service_admin_shm_v2/rsa_shm/gtest/src/thpool_ei.h
=>
libs/framework/error_injector/celix_dm_component/src/celix_dm_component_ei.cc
(53%)