This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a change to branch feature/pubsub_inteceptors
in repository https://gitbox.apache.org/repos/asf/celix.git.
from defc3b3 Fixed review comments.
add 99c7487 Feature/tcp admin improvements (#154)
add 68654dd Add missing nothrow specifier to new operator as code suggests
add 7b0a461 Merge pull request #155 from Oipo/bugfix/missing_std_nothrow
add 3f72835 Refactors the RSA curl read callback function.
add cc390dc Disables remote service enum test
add 98d2c21 Removes unused include and refactors to use celix_difftime
instead of local diff function.
add 8b0db43 Merge pull request #159 from apache/feature/slow_rsa
add 8c956d8 Refactors curl read and add code for manual unrolling. (#160)
add 78ef99c Merge pull request #156 from
apache/feature/pubsubadmin_protocol
add 19e73d4 Fixed conditional define to include memstream
add f865fd2 Merge pull request #164 from
bakkerv/feature/fix-memstream-available
add bd08d2d #91 Refactors rsa tests from cpputest to googletest, split up
tests so that they can be run separately and fixes an issue with double frees
in libdfi.
add c84db1a Merge pull request #167 from
apache/feature/#91-rsa_double_free
add 9621e29 Changes auto start bundle handling to first installing and
then starting a bundle. In some cases this is preferred.
add 91537f5 Merge pull request #169 from
apache/feature/first_install_then_start_bundles
add aad0ecd Refactors some celix framework test from cpputest to gtest.
add f4671e0 Refactors the handling of service listeners. This is moved to
the service registry and the service listener is now retroactively creating
events.
add 3cf342d Removes commented out code.
add 0beb54a Merge pull request #165 from
apache/feature/framework_racecondition
add 5482121 Add new cmake command for explicitly installing docker
containers
add f33a4ef Rename function, output type not necessary in name
add 0cd2df7 Typo
add 751bc31 Merge pull request #170 from
Oipo/feature/separate_install_docker_command
add 4ed8ed2 Adds missing var initialization
add 515f926 Move destruction of serviceRegistry to before destruction of
bundles, preventing a use after free situation when dangling service
registrations exist
add 93d3daf Merge pull request #173 from Oipo/develop
add 19000a7 Fixed endianness of metadata size. (#175)
add e5a7dd8 Performance opts and memory leak fixes (#176)
add e0ca87a Memory leak fixes (#177)
add a77b9a2 Refactors dfi tests from cpputest to google test (#168)
add 61974f2 Updates the building info from ubuntu 14 to 18.04 (#178)
add f41437e Merge branch 'develop' into feature/pubsub_inteceptors
add ecbec80 Fixes two memory issues
No new revisions were added by this update.
Summary of changes:
.../example/refining_driver/CMakeLists.txt | 2 +
.../example/refining_driver/src/refining_driver.c | 4 +-
bundles/http_admin/http_admin/src/http_admin.c | 19 +-
.../src/pubsub_psa_tcp_constants.h | 13 +
.../pubsub_admin_tcp/src/pubsub_tcp_handler.c | 159 ++++++---
.../pubsub_admin_tcp/src/pubsub_tcp_handler.h | 4 +
.../src/pubsub_tcp_topic_receiver.c | 4 +
.../pubsub_admin_tcp/src/pubsub_tcp_topic_sender.c | 6 +-
.../src/pubsub_websocket_topic_receiver.c | 2 +-
.../src/pubsub_websocket_topic_sender.c | 10 +-
.../gtest/src/PS_WP_tests.cc | 33 +-
.../src/pubsub_wire_protocol_impl.c | 24 +-
.../src/pubsub_wire_protocol_impl.h | 2 +-
.../pubsub_spi/src/pubsub_interceptors_handler.c | 2 +-
bundles/pubsub/test/test/test_runner.cc | 18 +-
.../remote_service_admin_dfi/CMakeLists.txt | 2 +-
.../{test => gtest}/CMakeLists.txt | 10 +-
.../{test => gtest}/client.properties.in | 0
.../{test => gtest}/config.properties.in | 0
.../{test => gtest}/server.properties.in | 0
.../remote_service_admin_dfi}/gtest/src/main.cc | 0
.../gtest/src/rsa_client_server_tests.cc | 190 +++++++++++
.../src/rsa_tests.cpp => gtest/src/rsa_tests.cc} | 75 ++---
.../{test => gtest}/src/tst_activator.c | 34 +-
.../{test => gtest}/src/tst_service.h | 0
.../src/remote_service_admin_dfi.c | 118 +++++--
.../test/src/rsa_client_server_tests.cpp | 128 -------
.../test/src/run_tests.cpp | 26 --
.../topology_manager/CMakeLists.txt | 1 -
.../topology_manager/src/activator.c | 72 ++--
.../topology_manager/src/topology_manager.c | 168 ++++-----
.../topology_manager/src/topology_manager.h | 4 +-
cmake/celix_project/CelixProject.cmake | 7 +-
cmake/cmake_celix/ContainerPackaging.cmake | 4 +-
cmake/cmake_celix/DockerPackaging.cmake | 71 +++-
documents/building/README.md | 32 +-
examples/celix-examples/dm_example/CMakeLists.txt | 4 +
libs/dfi/CMakeLists.txt | 27 +-
libs/dfi/gtest/CMakeLists.txt | 42 +++
.../descriptors/example1.descriptor | 0
.../descriptors/example2.descriptor | 0
.../descriptors/example3.descriptor | 0
.../descriptors/example4.descriptor | 0
.../descriptors/invalids/invalid.descriptor | 0
.../invalids/invalidMetaType.descriptor | 0
.../descriptors/invalids/invalidMethod.descriptor | 0
.../invalids/invalidMethodReturnType.descriptor | 0
.../descriptors/invalids/invalidMsgHdr.descriptor | 0
.../invalids/invalidMsgInvalidName.descriptor | 0
.../invalids/invalidMsgInvalidSection.descriptor | 0
.../invalids/invalidMsgInvalidType.descriptor | 0
.../invalids/invalidMsgInvalidVersion.descriptor | 0
.../invalids/invalidMsgMissingVersion.descriptor | 0
.../descriptors/invalids/invalidSection.descriptor | 0
.../descriptors/invalids/invalidType.descriptor | 0
.../descriptors/invalids/invalidVersion.descriptor | 0
.../descriptors/invalids/noVersion.descriptor | 0
.../descriptors/msg_example1.descriptor | 0
.../descriptors/msg_example2.descriptor | 0
.../descriptors/msg_example3.descriptor | 0
.../descriptors/msg_example4.descriptor | 0
libs/dfi/{test => gtest}/schemas/complex.avdl | 0
libs/dfi/{test => gtest}/schemas/complex.avpr | 0
libs/dfi/{test => gtest}/schemas/invalid1.avpr | 0
libs/dfi/{test => gtest}/schemas/invalid2.avpr | 0
libs/dfi/{test => gtest}/schemas/simple.avdl | 0
libs/dfi/{test => gtest}/schemas/simple.avpr | 0
libs/dfi/{test => gtest}/schemas/simple_min.avpr | 0
.../src}/avro_descriptor_translator_tests.cpp | 20 +-
.../src}/avrobin_serialization_tests.cpp | 190 ++++++-----
.../src}/dyn_avpr_function_tests.cpp | 235 +++++++------
.../src}/dyn_avpr_interface_tests.cpp | 44 +--
libs/dfi/{test => gtest/src}/dyn_avpr_tests.cpp | 203 +++++------
libs/dfi/{test => gtest/src}/dyn_closure_tests.cpp | 45 +--
.../dfi/gtest/src/dyn_example_functions.c | 32 +-
.../src/dyn_example_functions.h} | 47 ++-
libs/dfi/gtest/src/dyn_function_tests.cpp | 287 ++++++++++++++++
.../{test => gtest/src}/dyn_interface_tests.cpp | 68 ++--
libs/dfi/{test => gtest/src}/dyn_message_tests.cpp | 111 +++---
libs/dfi/{test => gtest/src}/dyn_type_tests.cpp | 83 ++---
.../{test => gtest/src}/json_rpc_avpr_tests.cpp | 73 ++--
libs/dfi/{test => gtest/src}/json_rpc_tests.cpp | 107 +++---
.../{test => gtest/src}/json_serializer_tests.cpp | 375 +++++++++++----------
libs/dfi/include/avrobin_serializer.h | 11 +
libs/dfi/include/dfi_log_util.h | 22 +-
libs/dfi/include/dyn_common.h | 10 +-
libs/dfi/include/dyn_function.h | 8 +-
libs/dfi/include/dyn_function_common.h | 8 +
libs/dfi/include/dyn_interface.h | 8 +
libs/dfi/include/dyn_interface_common.h | 8 +
libs/dfi/include/dyn_message.h | 8 +
libs/dfi/include/dyn_type.h | 33 +-
libs/dfi/include/dyn_type_common.h | 8 +
libs/dfi/include/json_rpc.h | 8 +
libs/dfi/include/json_serializer.h | 8 +
libs/dfi/src/avrobin_serializer.c | 155 ++++-----
libs/dfi/src/dyn_function.c | 8 +-
libs/dfi/src/dyn_type.c | 55 ++-
libs/dfi/src/json_rpc.c | 8 +-
libs/dfi/test/dyn_function_tests.cpp | 308 -----------------
libs/dfi/test/run_tests.cpp | 25 --
libs/framework/CMakeLists.txt | 6 +-
libs/framework/{test => gtest}/CMakeLists.txt | 18 +-
.../framework/{test => gtest}/config.properties.in | 0
.../{test => gtest}/framework1.properties.in | 0
.../{test => gtest}/framework2.properties.in | 0
.../src}/bundle_context_bundles_tests.cpp | 224 ++++++------
.../src}/bundle_context_services_test.cpp | 353 +++++++++----------
libs/framework/{test => gtest/src}/dm_tests.cpp | 38 ++-
.../src}/multiple_frameworks_test.cpp | 25 +-
libs/framework/{test => gtest/src}/nop_activator.c | 0
.../framework/gtest/src/run_tests.cpp | 17 +-
.../{test => gtest/src}/single_framework_test.cpp | 41 +--
.../{test => gtest}/subdir/CMakeLists.txt | 0
libs/framework/{test => gtest}/subdir/src/foo.c | 0
libs/framework/include/bundle_context.h | 2 +-
libs/framework/include/celix_bundle_activator.h | 4 +-
libs/framework/include/celix_bundle_context.h | 6 +-
libs/framework/include/celix_constants.h | 1 +
libs/framework/include/service_reference.h | 3 +
libs/framework/include/service_registry.h | 15 +-
libs/framework/include/service_tracker.h | 5 +-
libs/framework/private/mock/bundle_context_mock.c | 11 +-
.../private/mock/service_reference_mock.c | 6 +
.../framework/private/mock/service_registry_mock.c | 22 +-
.../private/test/service_registration_test.cpp | 24 --
.../private/test/service_registry_test.cpp | 162 ++++-----
libs/framework/src/bundle.c | 8 +-
libs/framework/src/bundle_context.c | 13 +-
libs/framework/src/framework.c | 333 ++----------------
libs/framework/src/framework_private.h | 3 -
libs/framework/src/registry_callback_private.h | 1 -
libs/framework/src/service_reference.c | 12 +
libs/framework/src/service_registration.c | 9 -
libs/framework/src/service_registration_private.h | 8 +-
libs/framework/src/service_registry.c | 375 +++++++++++++++++----
libs/framework/src/service_registry_private.h | 38 ++-
libs/framework/src/service_tracker.c | 169 ++++------
libs/framework/test/run_tests.cpp | 26 --
libs/utils/include/celix_utils.h | 10 +
libs/utils/include/celix_utils_api.h | 2 +-
libs/utils/include/utils.h | 3 +-
libs/utils/private/test/version_range_test.cpp | 11 +-
libs/utils/src/utils.c | 13 +-
144 files changed, 3155 insertions(+), 2798 deletions(-)
rename bundles/remote_services/remote_service_admin_dfi/{test =>
gtest}/CMakeLists.txt (94%)
rename bundles/remote_services/remote_service_admin_dfi/{test =>
gtest}/client.properties.in (100%)
rename bundles/remote_services/remote_service_admin_dfi/{test =>
gtest}/config.properties.in (100%)
rename bundles/remote_services/remote_service_admin_dfi/{test =>
gtest}/server.properties.in (100%)
copy bundles/{pubsub/pubsub_protocol_wire_v1 =>
remote_services/remote_service_admin_dfi}/gtest/src/main.cc (100%)
create mode 100644
bundles/remote_services/remote_service_admin_dfi/gtest/src/rsa_client_server_tests.cc
rename
bundles/remote_services/remote_service_admin_dfi/{test/src/rsa_tests.cpp =>
gtest/src/rsa_tests.cc} (82%)
rename bundles/remote_services/remote_service_admin_dfi/{test =>
gtest}/src/tst_activator.c (86%)
rename bundles/remote_services/remote_service_admin_dfi/{test =>
gtest}/src/tst_service.h (100%)
delete mode 100644
bundles/remote_services/remote_service_admin_dfi/test/src/rsa_client_server_tests.cpp
delete mode 100644
bundles/remote_services/remote_service_admin_dfi/test/src/run_tests.cpp
create mode 100644 libs/dfi/gtest/CMakeLists.txt
rename libs/dfi/{test => gtest}/descriptors/example1.descriptor (100%)
rename libs/dfi/{test => gtest}/descriptors/example2.descriptor (100%)
rename libs/dfi/{test => gtest}/descriptors/example3.descriptor (100%)
rename libs/dfi/{test => gtest}/descriptors/example4.descriptor (100%)
rename libs/dfi/{test => gtest}/descriptors/invalids/invalid.descriptor (100%)
rename libs/dfi/{test =>
gtest}/descriptors/invalids/invalidMetaType.descriptor (100%)
rename libs/dfi/{test => gtest}/descriptors/invalids/invalidMethod.descriptor
(100%)
rename libs/dfi/{test =>
gtest}/descriptors/invalids/invalidMethodReturnType.descriptor (100%)
rename libs/dfi/{test => gtest}/descriptors/invalids/invalidMsgHdr.descriptor
(100%)
rename libs/dfi/{test =>
gtest}/descriptors/invalids/invalidMsgInvalidName.descriptor (100%)
rename libs/dfi/{test =>
gtest}/descriptors/invalids/invalidMsgInvalidSection.descriptor (100%)
rename libs/dfi/{test =>
gtest}/descriptors/invalids/invalidMsgInvalidType.descriptor (100%)
rename libs/dfi/{test =>
gtest}/descriptors/invalids/invalidMsgInvalidVersion.descriptor (100%)
rename libs/dfi/{test =>
gtest}/descriptors/invalids/invalidMsgMissingVersion.descriptor (100%)
rename libs/dfi/{test => gtest}/descriptors/invalids/invalidSection.descriptor
(100%)
rename libs/dfi/{test => gtest}/descriptors/invalids/invalidType.descriptor
(100%)
rename libs/dfi/{test => gtest}/descriptors/invalids/invalidVersion.descriptor
(100%)
rename libs/dfi/{test => gtest}/descriptors/invalids/noVersion.descriptor
(100%)
rename libs/dfi/{test => gtest}/descriptors/msg_example1.descriptor (100%)
rename libs/dfi/{test => gtest}/descriptors/msg_example2.descriptor (100%)
rename libs/dfi/{test => gtest}/descriptors/msg_example3.descriptor (100%)
rename libs/dfi/{test => gtest}/descriptors/msg_example4.descriptor (100%)
rename libs/dfi/{test => gtest}/schemas/complex.avdl (100%)
rename libs/dfi/{test => gtest}/schemas/complex.avpr (100%)
rename libs/dfi/{test => gtest}/schemas/invalid1.avpr (100%)
rename libs/dfi/{test => gtest}/schemas/invalid2.avpr (100%)
rename libs/dfi/{test => gtest}/schemas/simple.avdl (100%)
rename libs/dfi/{test => gtest}/schemas/simple.avpr (100%)
rename libs/dfi/{test => gtest}/schemas/simple_min.avpr (100%)
rename libs/dfi/{test => gtest/src}/avro_descriptor_translator_tests.cpp (91%)
rename libs/dfi/{test => gtest/src}/avrobin_serialization_tests.cpp (79%)
rename libs/dfi/{test => gtest/src}/dyn_avpr_function_tests.cpp (81%)
rename libs/dfi/{test => gtest/src}/dyn_avpr_interface_tests.cpp (86%)
rename libs/dfi/{test => gtest/src}/dyn_avpr_tests.cpp (82%)
rename libs/dfi/{test => gtest/src}/dyn_closure_tests.cpp (85%)
copy bundles/shell/shell/src/quit_command.c =>
libs/dfi/gtest/src/dyn_example_functions.c (53%)
copy libs/dfi/{include/avrobin_serializer.h =>
gtest/src/dyn_example_functions.h} (51%)
create mode 100644 libs/dfi/gtest/src/dyn_function_tests.cpp
rename libs/dfi/{test => gtest/src}/dyn_interface_tests.cpp (78%)
rename libs/dfi/{test => gtest/src}/dyn_message_tests.cpp (76%)
rename libs/dfi/{test => gtest/src}/dyn_type_tests.cpp (84%)
rename libs/dfi/{test => gtest/src}/json_rpc_avpr_tests.cpp (89%)
rename libs/dfi/{test => gtest/src}/json_rpc_tests.cpp (83%)
rename libs/dfi/{test => gtest/src}/json_serializer_tests.cpp (85%)
delete mode 100644 libs/dfi/test/dyn_function_tests.cpp
delete mode 100644 libs/dfi/test/run_tests.cpp
rename libs/framework/{test => gtest}/CMakeLists.txt (84%)
rename libs/framework/{test => gtest}/config.properties.in (100%)
rename libs/framework/{test => gtest}/framework1.properties.in (100%)
rename libs/framework/{test => gtest}/framework2.properties.in (100%)
rename libs/framework/{test => gtest/src}/bundle_context_bundles_tests.cpp
(67%)
rename libs/framework/{test => gtest/src}/bundle_context_services_test.cpp
(71%)
rename libs/framework/{test => gtest/src}/dm_tests.cpp (67%)
rename libs/framework/{test => gtest/src}/multiple_frameworks_test.cpp (84%)
rename libs/framework/{test => gtest/src}/nop_activator.c (100%)
copy bundles/pubsub/test/test/msg.h => libs/framework/gtest/src/run_tests.cpp
(84%)
rename libs/framework/{test => gtest/src}/single_framework_test.cpp (77%)
rename libs/framework/{test => gtest}/subdir/CMakeLists.txt (100%)
rename libs/framework/{test => gtest}/subdir/src/foo.c (100%)
delete mode 100644 libs/framework/test/run_tests.cpp