Comments (8)
@biapar I've just published version 1.3.2 - please take a look at the wiki -> Reconfigure() or at this blog post. Let me know if that's working ok for you.
from warden.
Hi,
Currently it's not possible.
from warden.
So, if I've to add a new watcher; I've to recompile the solution?
from warden.
Yes, at first I've built this library in order to be able to create e.g. a console application that will be treated as monitor and I didn't think about dynamically updating the watchers, but for sure I'll take a look into that issue in the upcoming days, as it shouldn't be too difficult to implement.
I've just created a new issue #138 for this feature :).
from warden.
Like it...especially web layout that I see in the blog post. So, I've pass to Reconfigure a WardenConfiguration. Is't right?
from warden.
Thanks! You can just use lambda expression and it will update the already existing WardenConfiguration instance (no need to pass it as an argument).
from warden.
The Reconfigure is not working as expected;
It adds the watcher to the list but it doesn't do the checking process.
I use the very simple command below
warden.Reconfigure(x => x.AddProcessWatcher(name: "Test Excel",processName:"EXCEL",configurator: cfg => cfg.EnsureThat(p => p.Exists),machineName:"MyMachineName",hooks:cfg=>cfg.OnCompleted(result => MessageBox.Show(result.IsValid.ToString())) ));
I pause the program to see the warden._configuration.Watchers, and the Text Excel above is there, only not executing
from warden.
Hi, I created a service that dynamically add web monitors from a database and I want call the Reconfigure if there is a change in my data from the database. I'm not really sure where/when to issue the warden.Reconfigure(). I'm using the Async model, are there any full code examples of using the Reconfigure.
from warden.
Related Issues (20)
- Add contribution guide
- 401 response from PostIterationToWardenPanelAsync HOT 3
- Add watcher to current warden instance at runtime HOT 1
- MsSqlWatcher extension pass wrong arguments to factory method HOT 1
- Move to Reactive Extensions HOT 1
- [Question] Problem with WebWatcher and Timeouts HOT 3
- Allow for dynamically updating the WardenConfiguration.
- Support for RabbitMQ HOT 3
- MsSql watcher v1.3.2 - net461 lib not published in nuget HOT 2
- Cloud-hosted Web Panel is not reachable HOT 3
- Issues in Watchers.MsSql (.net 4.6.1), Watchers.Web (.net 4.6.1), Watchers.Performance (.Net Core 1.0) HOT 1
- SSL certificates have expired HOT 3
- Bug with Aggregate OnFailure Hooks HOT 2
- Logic Issue around Aggregate Hooks & completion of an ExecuteAsync Iteration HOT 1
- enhancement: AddDiskWatcher to monitor file date time HOT 3
- Migrate to .NET Standard 2.0
- WebWatcher behavior
- How to add a monitor to MQTT service?
- Warning: AppsCase Adware HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from warden.