This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/celix.git.
from 68d7f6a Merge pull request #343 from
apache/feature/additional_pstm_test
add 883baad Refactors C++ remote service admin to use
IExport(Import)ServiceFactory SPI.
add 10c9219 Refactors test case to use components instead of svc
registrations.
add 4db46af Renames async remote services to cxx remote services, because
the RSA concepts are not directly coupled to async.
add a1e711f Refactors rsa configured discovery
add 20ad07b Refactors cxx rsa, improves configured discovery tests and
add C++ LogHelper class
add 123096b Merge branch 'feature/async_update' into
feature/cxx_rsa_update
add a1719c2 Updates for merge with master and adds rapidjson install to
macos ci configuration
add 9e4ce6b Adds rapidjson lib install for github ci ubuntu configuration
add 7297453 Merge branch 'master' into feature/cxx_rsa_update
add 8fdcfc7 Fixes iter loops with erase
add da3ff98 Adds integration example for cxx rsa
add 6b4f63e Fixes an install issue and remove INTERFACE std=c++17 from
rsa_spi
add 9cbbdc5 Adds initial integration gtest for remote services
add dd844a1 Adds invoke integration gtest for remote services
add 83f65d5 Renames RemoteCalculatorActivator
add a797a87 Adds template arg to weak_ptr construction
add da3150f Merge branch 'master' into feature/cxx_rsa_update
add b653c22 Adds promise fail to remote service proxy shutdown.
add 7581554 Removes constexpr var from lambda capture list
add dc2d5a7 Adds missing include for optional
new 0cd23ad Merge pull request #344 from apache/feature/cxx_rsa_update
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:
.github/workflows/coverage.yml | 1 +
.github/workflows/coverity-scan.yml | 3 +-
.github/workflows/macos-nightly.yml | 2 +-
.github/workflows/macos.yml | 2 +-
.github/workflows/ubuntu-nightly.yml | 3 +-
.github/workflows/ubuntu.yml | 3 +-
bundles/CMakeLists.txt | 2 +-
.../async_remote_services/admin/include/admin.h | 104 -----
bundles/async_remote_services/admin/src/admin.cc | 277 -------------
.../async_remote_services/common/CMakeLists.txt | 31 --
.../common/include/ExportedServiceFactory.h | 105 -----
.../common/include/ImportedServiceFactory.h | 99 -----
bundles/async_remote_services/common/src/common.cc | 2 -
.../discovery_configured/CMakeLists.txt | 43 --
.../include/ConfiguredEndpoint.h | 52 ---
.../include/ConfiguredEndpointProperties.h | 99 -----
.../src/ConfiguredDiscoveryManager.cc | 91 -----
.../src/ConfiguredDiscoveryManagerActivator.cc | 39 --
.../discovery_configured/src/ConfiguredEndpoint.cc | 89 ----
.../async_remote_services/examples/CMakeLists.txt | 108 -----
.../examples/HardcodedExampleProvider.cc | 142 -------
.../examples/HardcodedExampleSerializer.cc | 239 -----------
.../examples/HardcodedExampleSerializer.h | 91 -----
.../examples/HardcodedExampleSubscriber.cc | 207 ----------
.../examples/IHardcodedService.h | 34 --
.../pubsub_properties/IHardcodedService.properties | 27 --
.../rsa_spi/include/celix/rsa/Constants.h | 31 --
.../rsa_spi/include/celix/rsa/Endpoint.h | 68 ----
.../CMakeLists.txt | 12 +-
.../admin/CMakeLists.txt | 36 +-
.../admin}/gtest/CMakeLists.txt | 16 +-
.../admin/gtest/src/RemoteServiceAdminTestSuite.cc | 316 +++++++++++++++
.../admin/include/RemoteServiceAdmin.h | 80 ++++
.../admin/src/RemoteServiceAdmin.cc | 258 ++++++++++++
.../discovery_configured/CMakeLists.txt | 49 +++
.../doc/configured_discovery.adoc | 0
.../discovery_configured/gtest/CMakeLists.txt | 32 ++
.../gtest/resources/endpoint_discovery.json} | 6 +-
.../gtest/src/RsaConfiguredDiscoveryTestSuite.cc | 93 +++++
.../celix/rsa/IConfiguredDiscoveryManager.h | 73 ++++
.../src/ConfiguredDiscoveryManager.cc | 161 ++++++++
.../src}/ConfiguredDiscoveryManager.h | 55 +--
.../src/ConfiguredDiscoveryManagerActivator.cc} | 28 +-
.../doc/async_remote_admin.adoc | 0
.../cxx_remote_services/integration/CMakeLists.txt | 97 +++++
.../integration/gtest/CMakeLists.txt | 67 +++
.../src/RemoteServicesIntegrationTestSuite.cc | 131 ++++++
.../integration/include/ICalculator.h} | 14 +-
.../resources/Calculator$add$Invoke.descriptor | 9 +
.../resources/Calculator$add$Return.descriptor | 9 +
.../integration/resources/endpoint_discovery.json | 15 +
.../integration/src/CalculatorConsumer.cc | 75 ++++
.../integration/src/CalculatorProvider.cc | 58 +++
.../src/TestExportImportRemoteServiceFactory.cc | 450 +++++++++++++++++++++
.../rsa_spi/CMakeLists.txt | 4 +-
.../include/celix/rsa/EndpointDescription.h | 186 +++++++++
.../rsa_spi/include/celix/rsa/IEndpointAnnouncer.h | 6 +-
.../include/celix/rsa/IExportServiceFactory.h | 26 +-
.../rsa_spi/include/celix/rsa/IExportedService.h | 4 +-
.../include/celix/rsa/IImportServiceFactory.h | 24 +-
.../rsa_spi/include/celix/rsa/RemoteConstants.h | 133 ++++++
.../include/celix/rsa/RemoteServicesException.h | 2 +-
.../topology_manager/CMakeLists.txt | 0
.../topology_manager/include/topology_manager.h | 0
.../topology_manager/src/topology_manager.cc | 0
bundles/logging/log_helper/CMakeLists.txt | 4 +-
.../log_helper/gtest/src/LogHelperTestSuite.cc | 44 +-
.../logging/log_helper/include/celix/LogHelper.h | 120 ++++++
.../logging/log_helper/include/celix_log_helper.h | 26 +-
.../{include_v2 => include_v1}/log_helper.h | 0
.../pubsub_admin_zmq/v1/src/pubsub_zmq_admin.c | 1 +
.../pubsub_admin_zmq/v2/src/pubsub_zmq_admin.c | 1 +
bundles/pubsub/pubsub_discovery/CMakeLists.txt | 7 +-
bundles/pubsub/pubsub_utils/src/pubsub_matching.c | 18 +-
.../src/pubsub_serialization_provider.c | 7 +-
cmake/cmake_celix/Generic.cmake | 25 ++
libs/framework/gtest/CMakeLists.txt | 1 +
.../gtest/src/CxxBundleContextTestSuite.cc | 1 -
libs/framework/gtest/src/CxxUtilsTestSuite.cc | 62 +++
libs/framework/include/celix/Bundle.h | 3 +-
libs/framework/include/celix/Constants.h | 8 +
libs/framework/include/celix/ServiceRegistration.h | 8 +-
libs/framework/include/celix/Utils.h | 20 +
.../include/celix/dm/DependencyManager_Impl.h | 2 +-
libs/promises/api/celix/impl/SharedPromiseState.h | 6 +-
85 files changed, 2717 insertions(+), 2166 deletions(-)
delete mode 100644 bundles/async_remote_services/admin/include/admin.h
delete mode 100644 bundles/async_remote_services/admin/src/admin.cc
delete mode 100644 bundles/async_remote_services/common/CMakeLists.txt
delete mode 100644
bundles/async_remote_services/common/include/ExportedServiceFactory.h
delete mode 100644
bundles/async_remote_services/common/include/ImportedServiceFactory.h
delete mode 100644 bundles/async_remote_services/common/src/common.cc
delete mode 100644
bundles/async_remote_services/discovery_configured/CMakeLists.txt
delete mode 100644
bundles/async_remote_services/discovery_configured/include/ConfiguredEndpoint.h
delete mode 100644
bundles/async_remote_services/discovery_configured/include/ConfiguredEndpointProperties.h
delete mode 100644
bundles/async_remote_services/discovery_configured/src/ConfiguredDiscoveryManager.cc
delete mode 100644
bundles/async_remote_services/discovery_configured/src/ConfiguredDiscoveryManagerActivator.cc
delete mode 100644
bundles/async_remote_services/discovery_configured/src/ConfiguredEndpoint.cc
delete mode 100644 bundles/async_remote_services/examples/CMakeLists.txt
delete mode 100644
bundles/async_remote_services/examples/HardcodedExampleProvider.cc
delete mode 100644
bundles/async_remote_services/examples/HardcodedExampleSerializer.cc
delete mode 100644
bundles/async_remote_services/examples/HardcodedExampleSerializer.h
delete mode 100644
bundles/async_remote_services/examples/HardcodedExampleSubscriber.cc
delete mode 100644 bundles/async_remote_services/examples/IHardcodedService.h
delete mode 100644
bundles/async_remote_services/examples/pubsub_properties/IHardcodedService.properties
delete mode 100644
bundles/async_remote_services/rsa_spi/include/celix/rsa/Constants.h
delete mode 100644
bundles/async_remote_services/rsa_spi/include/celix/rsa/Endpoint.h
rename bundles/{async_remote_services => cxx_remote_services}/CMakeLists.txt
(65%)
rename bundles/{async_remote_services =>
cxx_remote_services}/admin/CMakeLists.txt (60%)
copy bundles/{logging/log_helper =>
cxx_remote_services/admin}/gtest/CMakeLists.txt (52%)
create mode 100644
bundles/cxx_remote_services/admin/gtest/src/RemoteServiceAdminTestSuite.cc
create mode 100644
bundles/cxx_remote_services/admin/include/RemoteServiceAdmin.h
create mode 100644 bundles/cxx_remote_services/admin/src/RemoteServiceAdmin.cc
create mode 100644
bundles/cxx_remote_services/discovery_configured/CMakeLists.txt
rename bundles/{async_remote_services =>
cxx_remote_services}/discovery_configured/doc/configured_discovery.adoc (100%)
create mode 100644
bundles/cxx_remote_services/discovery_configured/gtest/CMakeLists.txt
rename bundles/{async_remote_services/examples/discovery/endpoint.json =>
cxx_remote_services/discovery_configured/gtest/resources/endpoint_discovery.json}
(80%)
create mode 100644
bundles/cxx_remote_services/discovery_configured/gtest/src/RsaConfiguredDiscoveryTestSuite.cc
create mode 100644
bundles/cxx_remote_services/discovery_configured/include/celix/rsa/IConfiguredDiscoveryManager.h
create mode 100644
bundles/cxx_remote_services/discovery_configured/src/ConfiguredDiscoveryManager.cc
rename bundles/{async_remote_services/discovery_configured/include =>
cxx_remote_services/discovery_configured/src}/ConfiguredDiscoveryManager.h (52%)
rename
bundles/{async_remote_services/discovery_configured/include/ConfiguredDiscoveryManagerActivator.h
=>
cxx_remote_services/discovery_configured/src/ConfiguredDiscoveryManagerActivator.cc}
(62%)
rename bundles/{async_remote_services =>
cxx_remote_services}/doc/async_remote_admin.adoc (100%)
create mode 100644 bundles/cxx_remote_services/integration/CMakeLists.txt
create mode 100644 bundles/cxx_remote_services/integration/gtest/CMakeLists.txt
create mode 100644
bundles/cxx_remote_services/integration/gtest/src/RemoteServicesIntegrationTestSuite.cc
rename bundles/{async_remote_services/common/include/IExportedService.h =>
cxx_remote_services/integration/include/ICalculator.h} (82%)
create mode 100644
bundles/cxx_remote_services/integration/resources/Calculator$add$Invoke.descriptor
create mode 100644
bundles/cxx_remote_services/integration/resources/Calculator$add$Return.descriptor
create mode 100644
bundles/cxx_remote_services/integration/resources/endpoint_discovery.json
create mode 100644
bundles/cxx_remote_services/integration/src/CalculatorConsumer.cc
create mode 100644
bundles/cxx_remote_services/integration/src/CalculatorProvider.cc
create mode 100644
bundles/cxx_remote_services/integration/src/TestExportImportRemoteServiceFactory.cc
rename bundles/{async_remote_services =>
cxx_remote_services}/rsa_spi/CMakeLists.txt (90%)
create mode 100644
bundles/cxx_remote_services/rsa_spi/include/celix/rsa/EndpointDescription.h
rename bundles/{async_remote_services =>
cxx_remote_services}/rsa_spi/include/celix/rsa/IEndpointAnnouncer.h (88%)
rename bundles/{async_remote_services =>
cxx_remote_services}/rsa_spi/include/celix/rsa/IExportServiceFactory.h (69%)
rename bundles/{async_remote_services =>
cxx_remote_services}/rsa_spi/include/celix/rsa/IExportedService.h (90%)
rename bundles/{async_remote_services =>
cxx_remote_services}/rsa_spi/include/celix/rsa/IImportServiceFactory.h (71%)
create mode 100644
bundles/cxx_remote_services/rsa_spi/include/celix/rsa/RemoteConstants.h
rename bundles/{async_remote_services =>
cxx_remote_services}/rsa_spi/include/celix/rsa/RemoteServicesException.h (80%)
rename bundles/{async_remote_services =>
cxx_remote_services}/topology_manager/CMakeLists.txt (100%)
rename bundles/{async_remote_services =>
cxx_remote_services}/topology_manager/include/topology_manager.h (100%)
rename bundles/{async_remote_services =>
cxx_remote_services}/topology_manager/src/topology_manager.cc (100%)
create mode 100644 bundles/logging/log_helper/include/celix/LogHelper.h
rename bundles/logging/log_helper/{include_v2 => include_v1}/log_helper.h
(100%)
create mode 100644 libs/framework/gtest/src/CxxUtilsTestSuite.cc