| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This missing break previously caused the method
node_startup_controller_application_get_property() to return the
Legacy App Handler when asked to get the Node Startup Controller.
Signed-off-by: Jonathan Maw <jonathan.maw@codethink.co.uk>
Reviewed-by: Jannis Pohlmann <jannis.pohlmann@codethink.co.uk>
|
|
|
|
|
|
|
|
|
|
|
| |
This commit simplifies the build process by adding an autogen script
to handle the creation of an m4 directory and execution of gtkdocize
and autoreconf.
Documentation on building has been updated accordingly.
Signed-off-by: Jonathan Maw <jonathan.maw@codethink.co.uk>
Signed-off-by: Jannis Pohlmann <jannis.pohlmann@codethink.co.uk>
|
|
|
|
|
|
|
|
|
|
| |
If we don't do this, the callback provided by the application will
not always be called and thus, sd_notify() will only be called if
reading the LUC is attempted. That breaks starting the NSC service
through systemd.
Signed-off-by: Jannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Reviewed-by: Jonathan Maw <jonathan.maw@codethink.co.uk>
|
| |
|
| |
|
|
|
|
|
| |
The type of the systemd service is now "notify", because systemd ignores
the "READY=1" notification for all other service types.
|
| |
|
|
|
|
| |
Adds some information about the data it contains.
|
|
|
|
|
|
|
| |
In test-legacy-app-handling.xml, the timeout was wrong.
In test-target-startup-monitoring, the phrase "Applied the node state N"
had been changed to "Node state N applied" in everywhere but one place.
|
| |
|
|
|
|
|
|
| |
Expands the description to explain what it does when it receives the
"handle-begin-lucregistration", "handle-register-with-luc" and
"handle-finish-lucregistration" signals.
|
|
|
|
|
| |
Includes a step-by-step description of what happens when it receives a
method call.
|
| |
|
|
|
|
|
| |
Includes a step-by-step description of how to start the Last User
Context.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the list of units which is not longer used.
When the TargetStarterMonitor receives a "job-removed" signal it
creates a D-Bus proxy to monitor the unit and check if the state
changes to "active". If it does the TargetStartupMonitor sets the node
state.
The TargetStarterMonitor is only interested in monitoring
"focussed.target", "unfocussed.target" and "lazy.target" units. To
avoid creating the D-Bus proxy for unneeded units, it should check in
target_startup_monitor_job_removed if the unit is a unit which has to be
monitored.
|
|
|
|
| |
Callbacks added to both the Node Startup Controller and the NSM Dummy
|
|
|
|
|
| |
Replace the old DLT messages in the TargetStartupMonitor test case
documetnation with the ones we currently use.
|
|
|
|
|
| |
Rewrites the description of the NodeStartupControllerApplication to
be more explicit in what it contains and what it does.
|
|
|
|
|
|
|
|
| |
The SIGINT handler did not cancel the LUCStarter, it does now.
The SIGINT handler made the application quit, but the asynchronous
call to deregister its shutdown consumer from the Node State Manager
does that when it is finished.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix a segmentation fault in target_startup_monitor_finalize caused by
freeing the data of a list item instead of the actual unit list we want
to free.
Fix another possible segmentation fault in
la_handler_service_handle_consumer_lifecycle_request_finish caused by
logging a message using the wrong GError.
Remove an unused variable in la_handler_service_handle_register.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Previous documentation of the LAHandlerService omitted explaining
the @service arguments.
A function prototype existed in the header for the LAHandlerService and
was included in the documentation, but was never used or defined.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Add a dedicated COPYING.docs file for this. The license is also
mentioned again in the reference manual itself.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
g_variant_string_array_has_string was partly aligned using tabs, which
only looks good when tab width is set to two spaces. Tabs have now been
replaced with spaces.
|
|
|
|
|
| |
An implementation custom-tailored towards "{ias}" dictionaries is
sufficient for us.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removed the requirement to restart the system for each test, instead
just restart the node startup controller for each test. The downside of
this is that the dlt.log file is not reset so may become very large.
Reduced the number of DLT log messages to compare against the output.
Instead, only the most relevant lines are included for each test.
Added separate test that the Node Startup Controller registers itself.
Rewrote the descriptions for each test case to be more readable.
Numbered each test case.
Spelling and grammar fixes.
|
|
|
|
| |
The bus_name_id member is not longer used in this class.
|
| |
|
|
|
|
|
| |
Send NSM_ERROR_STATUS_ERROR rather than -1 back to the caller when an
unregister request could not be handled successfully.
|
| |
|