summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Add documentation for the WatchdogClient classJonathan Maw2012-08-072-0/+24
|
* Improve class documentation a bitJannis Pohlmann2012-08-073-8/+9
|
* Add documentation to the TargetStartupMonitor classJonathan Maw2012-08-072-0/+36
|
* Fix name of the LAHandlerService class in the docs and in NEWSJannis Pohlmann2012-08-072-2/+2
|
* Add docuumentation to the la-handler-service classJonathan Maw2012-08-072-1/+57
|
* Add an explanation of the JobManagerCallbackJonathan Maw2012-08-071-0/+12
|
* Update NEWS regarding the JobManager documentationJonathan Maw2012-08-071-0/+1
|
* Add documentation for JobManager's constructorJonathan Maw2012-08-071-1/+10
|
* Document purpose and start/stop methods of job managerJonathan Maw2012-08-071-0/+29
|
* Fix minor alignment issue in glib-extensions.cJonathan Maw2012-08-071-1/+1
| | | | | | 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.
* Simplify g_variant_lookup_value_with_int_keyFrancisco Redondo Marchena2012-08-072-38/+17
| | | | | An implementation custom-tailored towards "{ias}" dictionaries is sufficient for us.
* Update the NEWS fileJannis Pohlmann2012-08-061-0/+1
|
* Rewrite documentation for legacy app handler testJonathan Maw2012-08-061-106/+102
| | | | | | | | | | | | | | | | | 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.
* Remove the bus_name_id member from LAHandlerServiceFrancisco Redondo Marchena2012-08-061-4/+0
| | | | The bus_name_id member is not longer used in this class.
* Update NEWSJannis Pohlmann2012-08-061-0/+4
|
* Use a proper error code when unable to handle an unregister requestFrancisco Redondo Marchena2012-08-061-1/+2
| | | | | Send NSM_ERROR_STATUS_ERROR rather than -1 back to the caller when an unregister request could not be handled successfully.
* Release 0.9.1 - the first release candidate for 1.0.0node-startup-controller-0.9.1Jannis Pohlmann2012-08-061-2/+2
|
* Update NEWS for the 0.9.1 releaseJannis Pohlmann2012-08-061-0/+16
|
* Apply minor fixes for building the reference manualJannis Pohlmann2012-08-062-3/+5
|
* Make sure to set GTKDOC_CFLAGS/GTKDOC_LIBS properlyJannis Pohlmann2012-08-061-2/+18
|
* Unregister all shutdown consumers when receiving SIGTERMJannis Pohlmann2012-08-061-37/+88
| | | | | | | | | | systemd uses SIGTERM to stop its units. We want to cleanly shut down the NSC when receiving this signal. Part of that is to unregister all shutdown consumers. If we don't do this, the NSM will later during its shutdown phase call all shutdown consumers registered by the NSC. And if the NSC was no longer running, this would cause the NSM to wait for a timeout for every single one of these shutdown consumers. Obviously, that is not desirable.
* Add a type check to avoid a proxy to skeleton cast to failFrancisco Redondo Marchena2012-08-061-2/+3
| | | | | | | | We use the "consumer" property of the ShutdownClient class to store a proxy in the NSC code and a skeleton in the NSM dummy code. When releasing the consumer in shutdown_client_finalize(), we may therefor not cast to a ShutdownConsumerSkeleton unconditionally; otherwise the NSM dummy will segfault when releasing ShutdownClient objects.
* Fix Test legacy app handling purpose, error in logs and commandsFrancisco Redondo Marchena2012-08-032-17/+17
| | | | | | Fix in Test legacy app handling documentation the purpose, some error logs and some commands. Fix duplicate will in about.xml
* Fix a markup error in building.xmlJannis Pohlmann2012-08-031-0/+1
|
* Document the --enable-gtk-doc configure option in the manualJannis Pohlmann2012-08-031-0/+8
|
* Use passive language in test-test-environment-setup.xmlJonathan Maw2012-08-031-6/+6
| | | | | | Changes the single instance of "we" in this file. Minor grammatical fixes.
* Grammatical fix to test-nsm-dummy.xmlJonathan Maw2012-08-031-12/+12
| | | | | | It now uses passive language throughout. Other minor grammatical fixes
* Make the description of the NSM dummy more clear to unfamiliar readersJannis Pohlmann2012-08-031-2/+9
|
* Fix the link to test-luc-finish-onlyFrancisco Redondo Marchena2012-08-031-1/+1
|
* Revert "Depend on systemd 37 to be able to build on Fedora 16"Jannis Pohlmann2012-08-031-1/+1
| | | | This reverts commit 5dfb47b1b80d3aa91b8493491050b9d70c31c57b.
* Finish documentation of build commandsJannis Pohlmann2012-08-032-75/+94
|
* Fix conflicting part/refentry IDs to make the building page show upJannis Pohlmann2012-08-031-1/+1
|
* Add required command line utilities to build dependency docsJannis Pohlmann2012-08-031-0/+12
|
* Add library dependencies for building to the docsJannis Pohlmann2012-08-031-0/+25
|
* Depend on systemd 37 to be able to build on Fedora 16Jannis Pohlmann2012-08-031-1/+1
|
* Add parentheses in the shutdown mode rejection conditionalsJannis Pohlmann2012-08-032-2/+2
|
* Make shutdown mode registration similar in NSC and helper binaryJonathan Maw2012-08-032-4/+5
| | | | | | | | The shutdown mode checker in the Node Startup Controller now uses the same logging message as the legacy app handler helper binary. The shutdown mode checker in the helper binary now uses the condition statement from the Node Startup Controller
* Make legacy app handler refuse invalid shutdown modesJonathan Maw2012-08-031-0/+11
| | | | | | Added code to the register signal handler to refuse any register signal which is not a combination of NSM_SHUTDOWN_TYPE_NORMAL and NSM_SHUTDOWN_TYPE_FAST and log an error.
* Fix the title of the Test legacy application handler.Francisco Redondo Marchena2012-08-031-3/+3
| | | | | Replace the previous title by "Tests for legazy application handling". Fix some paragraphs.
* Better test case titles and always set the node state in TSM testsJonathan Maw2012-08-032-51/+61
| | | | | | | | | | | | | Test titles are made more descriptive by including the name of the node state which is being set. A link is included to the enum which defines the NSMNodeState. Tests are changed to always set the node state. This is done by starting the unit twice in most cases. In addition, the less-important lines in the DLT log output are no longer specified. Capitalization in titles has been cleaned up somewhat.
* Add the documentation for legacy app handling testsFrancisco Redondo Marchena2012-08-031-0/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the documentation for legacy app handling tests. The following tests are provided: 1. Register a normal and a fast shutdown consumer. - Check that node-startup-controller.service registers itself as a shutdown consumer. - Check that the registration for the shutdown consumer are ok. - Check that in the process of shutting down the fast consumers shutting down first and the normal consumers second. - Check that the shutdown consumers are unregister as a shutdown consumers when they have been shutting down. - Check that node-startup-controller.service unregisters itself as a shutdown consumer when it has been shutting down. 2. Register two normal shutdown consumers - Check that in the process of shutting down the consumers are shutting down in reverse order of registration. 3. Register a shutdown consumer twice within different modes and timeouts - Check that the re-registration modify the final mode to a combination of both modes (normal and fast) and the timeout has been set to the last registration value of timeout. - Check that in the process of shutting down the consumer is shutting down for the both modes. 4. Register a shutdown consumer with invalid arguments - Check that register a consumer without unit name fails. - Check that register a consumer within mode 0 fails - Check that register a consumer with a negative timeout fails.
* Document that timeout is non-mandatory parameter and its default valueFrancisco Redondo Marchena2012-08-031-2/+2
| | | | | | Modify in the documentation for legacy app handler that timeout is a non-mandatory legacy app handler argument and its default value is 1000 milliseconds.
* Add NSM dummy documentation pageJannis Pohlmann2012-08-031-0/+56
|
* Restructure and number the Target Startup Monitoring testsJonathan Maw2012-08-031-121/+171
| | | | Tests are restructured in the same way as the previous commit
* Number and restructure luc management test casesJonathan Maw2012-08-031-135/+199
| | | | | | | Test cases are restructured into: * Description * Test Commands * Desired behaviour and Output
* Add missing XML files to the reference manual Makefile.amJannis Pohlmann2012-08-033-0/+21
|
* Work on documentation of functional scope and interfacesJannis Pohlmann2012-08-033-6/+127
| | | | Also fix a mistyped systemd command.
* Rework reference manual a bit, start reworking test case layoutJannis Pohlmann2012-08-0211-408/+509
|
* Split test scenarios into separate pages, add legacy app skeletonJonathan Maw2012-08-025-299/+286
| | | | | | | | | | | | | | Each test scenario (i.e. luc, legacy app, tsm) has been split into a separate file. Setup steps which have to be performed for every scenario are moved into test-general-setup.xml Cross-references are used so that the test overview links to each test case, and the "Testing" page links to the general setup and also each test. test-example has been removed because it is no longer necessary.
* Add test scenarios for the Last User Context handlingJonathan Maw2012-08-022-0/+278
| | | | | | | | | | The following test scenarios are added to the documentation: * Registration of a simple dictionary * Registration does not happen on an isolated RegisterWithLUC() call * An isolated FinishLUCRegistration() call will not change the LUC * Registration of a complex dictionary * Registration can happen with a series of RegisterWithLUC() calls * Repeated registration of an app changes the order in the LUC