Philip Rauwolf [Thu, 28 Feb 2013 18:13:51 +0000 (19:13 +0100)]
Corrected tests with regards to deregistration of services
Philip Rauwolf [Thu, 28 Feb 2013 18:05:47 +0000 (19:05 +0100)]
Added a way to deinitialize running services
Philip Rauwolf [Thu, 28 Feb 2013 15:50:29 +0000 (16:50 +0100)]
Small adaptions in test-cases for new dependency-structure around
DBusConnection.
Philip Rauwolf [Thu, 28 Feb 2013 15:49:29 +0000 (16:49 +0100)]
Removed the tests referring to the no longer existing
ServiceStatusEvent, adapted remaining tests in ServiceRegistryTests
Philip Rauwolf [Thu, 28 Feb 2013 15:41:16 +0000 (16:41 +0100)]
Removed ServiceStatusEvent from DBusServiceRegistry. Also removed an
unused empty constructor.
Philip Rauwolf [Thu, 28 Feb 2013 15:39:13 +0000 (16:39 +0100)]
Solved circular dependencies between DBusConnection and
DBusServiceRegistry/DBusObjectManager, removed DBusDaemonProxy entirely
from DBusConnection
Philip Rauwolf [Thu, 28 Feb 2013 10:32:21 +0000 (11:32 +0100)]
Broke up circular dependency of DBusDaemonProxy and DBusConnection
Johannes Schanda [Thu, 28 Feb 2013 10:12:58 +0000 (11:12 +0100)]
Address Translator rewrite to more efficient implementation
Johannes Schanda [Thu, 28 Feb 2013 09:21:19 +0000 (10:21 +0100)]
tests: Various timing fixes
Johannes Schanda [Thu, 28 Feb 2013 08:41:30 +0000 (09:41 +0100)]
Correct order of include paths
Aleksandar Kanchev [Wed, 27 Feb 2013 18:12:44 +0000 (19:12 +0100)]
correct getAvailableServiceInstances() wait logic
Aleksandar Kanchev [Wed, 27 Feb 2013 16:03:42 +0000 (17:03 +0100)]
add subscribe/unsubscribe methods for DBusServiceRegistry
Aleksandar Kanchev [Wed, 27 Feb 2013 12:54:08 +0000 (13:54 +0100)]
tests: DBusProxyTest reuse registerTestStub() in ServiceStatus
Philip Rauwolf [Wed, 27 Feb 2013 12:52:18 +0000 (13:52 +0100)]
Fixed broken DBusServiceRegistryTest
Aleksandar Kanchev [Tue, 26 Feb 2013 16:23:16 +0000 (17:23 +0100)]
tests: fix blocking semantic in DBusProxyTest
Aleksandar Kanchev [Mon, 25 Feb 2013 17:27:27 +0000 (18:27 +0100)]
tests: correct bus name in DBusProxyTest
Aleksandar Kanchev [Tue, 26 Feb 2013 16:27:08 +0000 (17:27 +0100)]
register DBusProxy directly to DBusServiceRegistry
not through the event
Aleksandar Kanchev [Mon, 25 Feb 2013 11:33:23 +0000 (12:33 +0100)]
rework DBusServiceRegistry semantic
only ask for remote objects when needed to, i.e.
if someone is waiting for an instance to get alive.
Try to expand all connected bus services only on
getAvailableServiceInstances().
The IsReady* logic is removed.
Aleksandar Kanchev [Fri, 22 Feb 2013 12:42:43 +0000 (13:42 +0100)]
DBusConnectionStatusEvent: AVAILABLE on subscribe if isConnected
Same behaviour as ProxyStatusEvent
Philip Rauwolf [Wed, 27 Feb 2013 09:26:39 +0000 (10:26 +0100)]
Corrected length expectation for map-datatypes in OutputStreamTest
Philip Rauwolf [Tue, 26 Feb 2013 17:25:40 +0000 (18:25 +0100)]
Eliminated compile time errors in DBusAddressTranslatorTest.cpp
Philip Rauwolf [Tue, 26 Feb 2013 17:25:18 +0000 (18:25 +0100)]
Added Test for Proxies: Async Callbacks should be called even if the
proxy is marked as "NOT_AVAILABLE"
Johannes Schanda [Tue, 26 Feb 2013 16:48:27 +0000 (17:48 +0100)]
Add hash specialization for dbus service tuple
Johannes Schanda [Tue, 26 Feb 2013 16:05:12 +0000 (17:05 +0100)]
predefined service support in config file
Johannes Schanda [Mon, 25 Feb 2013 09:20:19 +0000 (10:20 +0100)]
Resolve unused variable warnings
Aleksandar Kanchev [Fri, 22 Feb 2013 19:00:42 +0000 (20:00 +0100)]
tests: extend DBusProxyTest
disconnect stub after proxy service tests
Aleksandar Kanchev [Fri, 22 Feb 2013 18:54:28 +0000 (19:54 +0100)]
fix connect() after disconnect() in DBusConnection
Philip Rauwolf [Fri, 22 Feb 2013 18:45:47 +0000 (19:45 +0100)]
Added Tests for DBusServiceRegistry, added corresponding binary to
gitignore
Philip Rauwolf [Fri, 22 Feb 2013 18:45:19 +0000 (19:45 +0100)]
Streamlined code
Philip Rauwolf [Fri, 22 Feb 2013 17:22:56 +0000 (18:22 +0100)]
Expanded DBusTestUtils.h
Philip Rauwolf [Fri, 22 Feb 2013 17:14:25 +0000 (18:14 +0100)]
Fixed alignment error when reading/writing sth AFTER a boolean value
Johannes Schanda [Fri, 22 Feb 2013 16:25:30 +0000 (17:25 +0100)]
Status event must register for all proxies
Philip Rauwolf [Fri, 22 Feb 2013 13:36:45 +0000 (14:36 +0100)]
Fixed a bug that occurred when reading/writing map elements
Philip Rauwolf [Thu, 21 Feb 2013 16:03:13 +0000 (17:03 +0100)]
On service not available, callbacks of method calls will be called
with the correct callStatus nevertheless.
Aleksandar Kanchev [Fri, 22 Feb 2013 10:09:04 +0000 (11:09 +0100)]
switch DBusProxy to DBusProxyBase
keep the old interface, won't break existing generated code. Simplifies
stuff a bit, since they're already implemented in DBusProxyBase. Adds
continuous tracking of service status for the life time of the proxy
instance.
Aleksandar Kanchev [Thu, 21 Feb 2013 18:07:45 +0000 (19:07 +0100)]
switch DBusDaemonProxy to DBusProxyBase
use the minimal CommonAPI::Proxy implementation as base class
Aleksandar Kanchev [Thu, 21 Feb 2013 18:05:30 +0000 (19:05 +0100)]
add DBusProxyBase
incomplete/minimal implementation of CommonAPI::Proxy, which could be
picked up for cases like DBusDaemonProxy, where methods could be
implemented in a static way.
Aleksandar Kanchev [Thu, 21 Feb 2013 15:37:18 +0000 (16:37 +0100)]
tests: two cases for service availability DBusProxyTest
1) service registers before the proxy instance
2) service registers after the proxy instance
Aleksandar Kanchev [Thu, 21 Feb 2013 14:06:10 +0000 (15:06 +0100)]
tests: add service availability DBusProxyTest
Register service, connect proxy, check if the service is there.
Aleksandar Kanchev [Thu, 21 Feb 2013 14:04:54 +0000 (15:04 +0100)]
DBusConnection: join dispatcher thread on disconnect
Fixes issues when you have to connect()/disconnect() the same
DBusConnection instance.
Johannes Schanda [Thu, 21 Feb 2013 14:39:55 +0000 (15:39 +0100)]
Overitable and removed unimplemented method
Philip Rauwolf [Thu, 21 Feb 2013 08:55:33 +0000 (09:55 +0100)]
Removed object search from standard availability determination
Philip Rauwolf [Wed, 20 Feb 2013 12:43:31 +0000 (13:43 +0100)]
Improved coding in DBusAddressTranslator, moved statics from DBusUtils
to DBusAddressTranslator (improved cohesion)
Aleksandar Kanchev [Wed, 20 Feb 2013 15:22:49 +0000 (16:22 +0100)]
properly override CommonAPI::Event events
Aleksandar Kanchev [Wed, 20 Feb 2013 14:33:51 +0000 (15:33 +0100)]
remove generated files
Philip Rauwolf [Wed, 20 Feb 2013 09:57:56 +0000 (10:57 +0100)]
Added precedence to config file types:
highest: <BinaryFQN>_dbus.conf
lower: /etc/CommonApiDBus/<BinaryName>_dbus.conf
lowest: /etc/CommonApiDBus/dbusAddresses.conf
Philip Rauwolf [Wed, 20 Feb 2013 09:44:49 +0000 (10:44 +0100)]
Changed global dbus address config file to fixed name
/etc/CommonApiDBus/dbusAddresses.conf
Philip Rauwolf [Tue, 19 Feb 2013 17:23:06 +0000 (18:23 +0100)]
updated TODO
Philip Rauwolf [Tue, 19 Feb 2013 17:22:14 +0000 (18:22 +0100)]
Optional global address config files in
/etc/CommonAPI/<BinaryName>_dbus.conf now supported
Philip Rauwolf [Mon, 18 Feb 2013 15:31:39 +0000 (16:31 +0100)]
Updated generated test files, simplified inclusion of generated files in
Makefile, updated TODO, fixed erroneous inputStreamTest, removed several
signed-unsigned comparisons
Johannes Schanda [Mon, 18 Feb 2013 09:21:57 +0000 (10:21 +0100)]
Service registry should use proxy connection
Philip Rauwolf [Fri, 15 Feb 2013 16:11:59 +0000 (17:11 +0100)]
Updated TODO, updated generated test files
Philip Rauwolf [Fri, 15 Feb 2013 09:01:12 +0000 (10:01 +0100)]
Updated TODO: Fixed namespace issue for types defined within interfaces.
Also updated generated test sources.
Johannes Schanda [Fri, 15 Feb 2013 13:12:35 +0000 (14:12 +0100)]
Fix build on old GCC
Philip Rauwolf [Thu, 14 Feb 2013 16:55:53 +0000 (17:55 +0100)]
Updated TODO, added test for OutputStream for maps with enumerations as
key types, updated commonapi::test::*
Johannes Schanda [Thu, 14 Feb 2013 14:21:25 +0000 (15:21 +0100)]
Updated TODO
Philip Rauwolf [Thu, 14 Feb 2013 14:07:12 +0000 (15:07 +0100)]
updated TODO
Johannes Schanda [Thu, 14 Feb 2013 09:50:43 +0000 (10:50 +0100)]
Fixed type in README
Aleksandar Kanchev [Wed, 13 Feb 2013 11:59:13 +0000 (12:59 +0100)]
add gitattributes and proper crlf handling
Philip Rauwolf [Tue, 5 Feb 2013 16:03:40 +0000 (17:03 +0100)]
Updated .gitignore
Johannes Schanda [Fri, 8 Feb 2013 15:21:25 +0000 (16:21 +0100)]
Add code formatter
Johannes Schanda [Wed, 6 Feb 2013 16:15:45 +0000 (17:15 +0100)]
On service alive ask only specific service
Philip Rauwolf [Tue, 5 Feb 2013 15:59:23 +0000 (16:59 +0100)]
updated TODO
Philip Rauwolf [Tue, 5 Feb 2013 15:54:37 +0000 (16:54 +0100)]
Quick Fix for correspondence with legacy services, updated test cases.
Philip Rauwolf [Mon, 4 Feb 2013 16:37:46 +0000 (17:37 +0100)]
Bugfixing, regenerated test files
lipci [Mon, 4 Feb 2013 14:48:33 +0000 (06:48 -0800)]
Adaptions for support of config-files
Philip Rauwolf [Fri, 1 Feb 2013 15:03:56 +0000 (16:03 +0100)]
Prepare for merging in config_ini_dev:
Extended test cases, verified functionality, updated TODO.
Philip Rauwolf [Fri, 1 Feb 2013 13:33:56 +0000 (14:33 +0100)]
Config file for tests now is generated on each test (prevents the
necessity to check in a file under .libs), added a test on communication
of client/service with non-standard CommonAPI address.
Philip Rauwolf [Fri, 1 Feb 2013 12:58:29 +0000 (13:58 +0100)]
Updated TODO according to previous commit
Philip Rauwolf [Fri, 1 Feb 2013 12:49:15 +0000 (13:49 +0100)]
Configuration for object paths and connection names incorporated.
Remaining issues:
- Search for an appropriate file in configuration directory
- Check whether DBus interface names given as CommonAPI service names at
runtime compromise communication, as there still are several places
where interfaces use their predefined names.
Philip Rauwolf [Thu, 31 Jan 2013 15:53:57 +0000 (16:53 +0100)]
Successful parsing of config file
Philip Rauwolf [Thu, 31 Jan 2013 14:59:04 +0000 (15:59 +0100)]
Successfully read in local .ini file w/o relying on commandline
parameters
Philip Rauwolf [Wed, 30 Jan 2013 14:58:06 +0000 (15:58 +0100)]
Created infrastructure for extended Naming-Service
Philip Rauwolf [Wed, 30 Jan 2013 13:44:23 +0000 (14:44 +0100)]
Updated TODO-list
Johannes Schanda [Tue, 29 Jan 2013 09:05:07 +0000 (10:05 +0100)]
Restore
Philip Rauwolf [Mon, 28 Jan 2013 14:36:23 +0000 (15:36 +0100)]
Redesigned TypeStreamTest to use contemporary generated enum types
instead of manually defined ones.
Philip Rauwolf [Mon, 28 Jan 2013 14:31:03 +0000 (15:31 +0100)]
Regenerated src/test/commonapi/**/*
Philip Rauwolf [Mon, 28 Jan 2013 14:22:20 +0000 (15:22 +0100)]
Integrated and tested the TypeOutputStream with enumerations
Philip Rauwolf [Mon, 28 Jan 2013 11:25:24 +0000 (12:25 +0100)]
Added prototype implementation for typestream with enums to
TypeStreamTests. Lowered the wait-time in ServiceRegistry for faster
testing.
Philip Rauwolf [Mon, 28 Jan 2013 11:18:50 +0000 (12:18 +0100)]
Added not yet working TypeStream-test for enums
Philip Rauwolf [Mon, 28 Jan 2013 11:10:44 +0000 (12:10 +0100)]
Fixed test setup for Ubuntu default configuration
Philip Rauwolf [Thu, 24 Jan 2013 10:27:40 +0000 (11:27 +0100)]
reworked factory test for better resemblance of real use cases
Johannes Schanda [Wed, 23 Jan 2013 09:24:34 +0000 (10:24 +0100)]
Merge branch 'master' into genivi_release
Aleksandar Kanchev [Tue, 22 Jan 2013 12:00:41 +0000 (13:00 +0100)]
add LICENSE to make dist target
Johannes Schanda [Mon, 21 Jan 2013 14:45:15 +0000 (15:45 +0100)]
Resolve merge conflicts
Johannes Schanda [Mon, 21 Jan 2013 14:13:41 +0000 (15:13 +0100)]
Remove internal files
Johannes Schanda [Mon, 21 Jan 2013 14:00:55 +0000 (15:00 +0100)]
Fix license and authors
Johannes Schanda [Mon, 21 Jan 2013 13:54:05 +0000 (14:54 +0100)]
Further readme update
Johannes Schanda [Mon, 21 Jan 2013 12:50:37 +0000 (13:50 +0100)]
Configure fix for old automake
Johannes Schanda [Mon, 21 Jan 2013 12:04:33 +0000 (13:04 +0100)]
Expanded readme
Johannes Schanda [Fri, 18 Jan 2013 15:25:48 +0000 (16:25 +0100)]
Corrected makefile for tests
Johannes Schanda [Fri, 18 Jan 2013 14:59:51 +0000 (15:59 +0100)]
Variant & Type Input stream tests
Johannes Schanda [Fri, 18 Jan 2013 10:18:52 +0000 (11:18 +0100)]
Bugfix in tests
Johannes Schanda [Fri, 18 Jan 2013 09:55:19 +0000 (10:55 +0100)]
Resolve merge conflict in tests
Philip Rauwolf [Thu, 17 Jan 2013 16:09:32 +0000 (17:09 +0100)]
Variants fully integrated with InputStream, bugfixing Variants and
datatype "ByteBuffer"
Philip Rauwolf [Thu, 17 Jan 2013 09:14:52 +0000 (10:14 +0100)]
Bugfixing vor variants containing arrays
Philip Rauwolf [Wed, 16 Jan 2013 17:23:50 +0000 (18:23 +0100)]
Tests for integration of variants to inputStream (basic types working
by now), added DBusTestUtils.h (for libdbusmessage byte parsing)
Philip Rauwolf [Wed, 16 Jan 2013 15:53:35 +0000 (16:53 +0100)]
Added tests for Variant input
Philip Rauwolf [Wed, 16 Jan 2013 14:22:43 +0000 (15:22 +0100)]
Added make directives for InputStreamTests
Johannes Schanda [Wed, 16 Jan 2013 14:16:24 +0000 (15:16 +0100)]
Compile tests for variant output stream