Remove old object query class and add methods to extension which can take yaml objects as aruments.
Add unit test for runawayprocesskiller for yaml support
* Add ServiceDesciptorYaml.cs
* Add YamlConfigurations.cs
YmlDotNet library added
* Update YamlConfigurations.cs
* Add download configuration to YamlConfiguration
* Revert "Add download configuration to YamlConfiguration"
This reverts commit f150de13b0.
* Add ServiceDescriptrYaml unit test
Update YamlConfigurations.
* Confid files seperated
Download class refactored
Unit test updated
* Change nullable attributes.
* Refactor IWinSWConfiguration and Logging settings propagation
* Update YamlConfigurations.cs
* Update configuration FailureActions
* Update Yaml Confifurations
* Update YAML Configuration
* Update yaml configurations
* Update Yaml Configurations
* Yaml Configuration refactored
* Refactored YamlConfigurations
* Update serviceaccount and log configs
* YAML_SC_ACTION method name channged
* Refacored Download class. Field names changed to PascalCase readonly
* Add seperate download class to YamlConfigurations and create and return List<Download>
* Created DefaultWinSWSettings singleton
* Refactor variable name
* Update StopExecutable
* Nullable references updated
* Null references updated
* Add sanity checks for yaml deserializing.
* Implement Log Defaults
* Call logdefaults in YAMLConfigurations
* Update defaults value of ServiceAccout
If serviceaccoutn is not specified default ServiceAccount object will be provided from the Defautls.
* Merge build.yml with master
* Update YamlSeriviceDescriptor
Remove invalid Name field from ServiceAccout
Add BaseName logics to defults
merge build.yml with master
* Update IWinSWConfiguration Support
Now can use any IWinSWConfiguration type instead of ServiceDescriptor. We can use both ServiceDescriptor or ServiceDescriptorYaml.
* Update LogMode unit test
* ServiceAccount configurations refactored
Get all ServiceAccount configuration into a single ServiceAccout class.
* Update default BasePath
* Resolve Merge conflicts
* Resolve Merge Conflicts
* Update YamlDownload configs
* Fix null reference issue in arguments
* Update ServiceAccount configs in XML ServiceDescriptor
* remove BOM header
* Update environment variable configurations
Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
* Introduced the following new elements.
1. logname - you can override the name of the log file rather than using the EXE name, this means you don't have to call your EXE a different name, just name the winsw exe different. Default's the name to the EXE as before.
2. outfiledisabled - you can disable writing to the out file. Defaults to false.
3. errfiledisabled - you can disable writing to the error file. Defaults to false.
4. outfilepattern - you can choose the pattern of the out file. Defaults to .out.log.
5. errfilepattern - you can choos the pattern of the error file. Defaults to .err.log.
* Downgraded from C#7.0 syntax.
* Applied reviewers comment
* not required
* removed the key
* Added unit test for new fields logname, outfiledisabled, errfiledisabled and errfilepattern.
Created a new appender called roll-by-size-time see class RollingSizeTimeLogAppender, this appender supports rolling by time and size and rolling at a specific time each day.
Added unit test for the new appender.
Added a new option testwait which is similar to test but waits for the user to press any key before calling the stop method.
* Update loggingAndErrorReporting.md
* Cannot use $ string.format syntax, downgraded code to string.format.
* Another syntax found of $
* Fixed a unit tests
* Added support to zip files.
* Added error handling
* Removed the zip call at startup.
* Fix issue with UTC
* Update loggingAndErrorReporting.md
Documented the new fields zipolderthannumdays and zipdateformat
* Update loggingAndErrorReporting.md
* Applied Code review
* Fixed a BST bug
* Added zip lib
* Introduced the following new elements.
1. logname - you can override the name of the log file rather than using the EXE name, this means you don't have to call your EXE a different name, just name the winsw exe different. Default's the name to the EXE as before.
2. outfiledisabled - you can disable writing to the out file. Defaults to false.
3. errfiledisabled - you can disable writing to the error file. Defaults to false.
4. outfilepattern - you can choose the pattern of the out file. Defaults to .out.log.
5. errfilepattern - you can choos the pattern of the error file. Defaults to .err.log.
* Downgraded from C#7.0 syntax.
* Applied reviewers comment
* not required
* removed the key
* Added unit test for new fields logname, outfiledisabled, errfiledisabled and errfilepattern.
Created a new appender called roll-by-size-time see class RollingSizeTimeLogAppender, this appender supports rolling by time and size and rolling at a specific time each day.
Added unit test for the new appender.
Added a new option testwait which is similar to test but waits for the user to press any key before calling the stop method.
* Update loggingAndErrorReporting.md
* Cannot use $ string.format syntax, downgraded code to string.format.
* Another syntax found of $
* Fixed a unit tests
* #183 - Add core logic for the DelayedStart option support
* #183 - Add unit tests
* #183 - Update documentation and the configuration sample
* #183 - Use API calls to set the DelayedAutoStart flag as @jtnord proposed
* #183 - Refactor the project to use `delayedAutoStart`
* Refactor parameter parsing in Download.cs, add more checks
* Handle Download#unsecureAuth as boolean
* Parse Enums in a case-insensitive mode, propagate error correctly
* Add tests for the newly introduced functionality
* Update the configuration sample to reflect the recent changes
* Update the sample text according to the proposal from @nightman68
* Decouple Core components into WinSWCore projects.
* Use ILMerge to merge everything (inc. Plugins) into a single executable
TODO: API Should be refactored before the publishing
TODO: check signing procedure
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Conflicts:
src/Core/ServiceWrapper/winsw.csproj
Conflicts:
src/Core/ServiceWrapper/Main.cs
src/winsw.sln