Commit Graph

42 Commits

Author SHA1 Message Date
Paul Yuknewicz 67e4c292bb Working tests for Dapr Actors w/ lsof workaround and sleeps
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-05-22 23:27:04 -07:00
Paul Yuknewicz d9ebff1009 adding explicit lsof and kill commands as workaround to dotnet processs being left after dapr stop or CTL C
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-05-22 17:22:03 -07:00
Paul Yuknewicz 041b47c6cb Merge branch 'master' of github.com:paulyuk/quickstarts into actors-tests
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-05-22 16:54:26 -07:00
Paul Yuknewicz 0b0fc3730c initial checkin of test for Actors
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-05-22 16:49:26 -07:00
Paul Yuknewicz f798f88a1b
New Actors Quickstart (#804)
* Initial checkin of starter app

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* changing Record to Class given Actors cannot serialize records

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* Updating to use custom statestore and port 5001

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* Modernized to 100% minimal API code; no Startup.cs needed.

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* Mocked Controller actor and chose better names

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* Fixed ControllerActor activiation

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* Readme cleanup

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* removed dead legacy usings/code

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* multitarget inferfaces to .net 6;7

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* Style linting

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* readme improvement

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* new structure of README

* Rewrite first section to better align with existing quickstarts

* Add examples of using the client app.

* Align README with new structure

* Updated readme for format and simplicity. Todos are done.

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* tweak to readme to make more language independent

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* fixing up folder names in readme

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* Update folders and csproj to match other building blocks

* Fix capitalization in namespaces and remove unused reminders

* Simplifying SmartDeviceData

* Change to signal controller and sound the alarm

* Set Status to Alarm

* Change naming to SmokeDetectorActor

* Fix actor name and remove console logging in actors

* Fix type

* Upgrade to 1.10

* Remove battery and temp functionality

Signed-off-by: Marc Duiker <marcduiker@gmail.com>

* Use explicit device1 and 2 variables in the client to avoid confusion

Signed-off-by: Marc Duiker <marcduiker@gmail.com>

* Update README with new code

Signed-off-by: Marc Duiker <marcduiker@gmail.com>

* staging a reminders feature

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* Implemented reminders to clear alarm state after 15 seconds

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* Update actors/csharp/sdk/README.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* updated expected output in readme with reminder

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* Updating main quickstarts readme to include Actors

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* Removing In-development label from readme

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* updating MD per https://github.com/jgm/pandoc/issues/2117

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>

* Update actors/csharp/sdk/README.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* Update actors/csharp/sdk/service/SmokeDetectorActor.cs

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* Update actors/csharp/sdk/service/SmokeDetectorActor.cs

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* Update actors/csharp/sdk/README.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* Update actors/csharp/sdk/service/ControllerActor.cs

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* Update actors/csharp/sdk/service/SmokeDetectorActor.cs

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

---------

Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
Signed-off-by: Marc Duiker <marcduiker@gmail.com>
Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>
Co-authored-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
Co-authored-by: Marc Duiker <marcduiker@gmail.com>
Co-authored-by: Mark Fussell <markfussell@gmail.com>
2023-05-22 14:48:25 -07:00
Paul Yuknewicz bc3a76010b updating MD per https://github.com/jgm/pandoc/issues/2117
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-05-22 12:16:09 -07:00
Paul Yuknewicz 4a55409e00 Removing In-development label from readme
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-05-22 12:13:18 -07:00
Paul Yuknewicz ff144fe64c Merge branch 'feature/actors' of github.com:paulyuk/quickstarts into feature/actors 2023-05-22 11:58:17 -07:00
Paul Yuknewicz 8cfe12c370 updated expected output in readme with reminder
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-05-22 11:57:13 -07:00
Paul Yuknewicz ec65c5cdcc
Update actors/csharp/sdk/README.md
Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>
2023-05-22 11:48:51 -07:00
Paul Yuknewicz 702bbcdc81 Implemented reminders to clear alarm state after 15 seconds
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-05-22 10:53:12 -07:00
Paul Yuknewicz a3b93d848e staging a reminders feature
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-05-22 09:11:33 -07:00
Marc Duiker 4cdf38031a Update README with new code
Signed-off-by: Marc Duiker <marcduiker@gmail.com>
2023-03-10 16:29:58 +01:00
Marc Duiker 9e6e53b3f1 Use explicit device1 and 2 variables in the client to avoid confusion
Signed-off-by: Marc Duiker <marcduiker@gmail.com>
2023-03-10 16:09:01 +01:00
Marc Duiker 838fca3218 Remove battery and temp functionality
Signed-off-by: Marc Duiker <marcduiker@gmail.com>
2023-03-08 16:42:24 +01:00
Marc Duiker e24a945ba5 Upgrade to 1.10 2023-03-06 22:22:50 +01:00
Marc Duiker 48d8fb3e77 Fix type 2023-03-06 21:57:57 +01:00
Marc Duiker bc16b76594 Fix actor name and remove console logging in actors 2023-03-06 21:36:27 +01:00
Marc Duiker 849ea9ce8c Change naming to SmokeDetectorActor 2023-03-06 21:25:42 +01:00
Marc Duiker dadb2a821b Set Status to Alarm 2023-03-06 18:00:04 +01:00
Marc Duiker cdad270450 Change to signal controller and sound the alarm 2023-03-06 17:52:16 +01:00
Marc Duiker 5cd415dbab Simplifying SmartDeviceData 2023-03-06 15:16:01 +01:00
Marc Duiker 8db589881f Fix capitalization in namespaces and remove unused reminders 2023-03-06 15:07:39 +01:00
Marc Duiker 568f5d0df5 Update folders and csproj to match other building blocks 2023-03-06 14:29:07 +01:00
Paul Yuknewicz a9ae13f9ac fixing up folder names in readme
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-03-03 09:58:39 -08:00
Paul Yuknewicz 4587d896f9 tweak to readme to make more language independent
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-03-03 09:54:59 -08:00
Paul Yuknewicz 14f14c1ef8 Updated readme for format and simplicity. Todos are done.
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-03-03 09:50:48 -08:00
Marc Duiker 0e275e9a5c Align README with new structure 2023-02-15 16:36:54 +01:00
Marc Duiker d5ca2904ef Add examples of using the client app. 2023-02-06 11:52:45 +01:00
Marc Duiker ec26ee1785 Rewrite first section to better align with existing quickstarts 2023-02-06 11:37:53 +01:00
Marc Duiker 406a86769e new structure of README 2023-02-03 17:20:21 +01:00
Paul Yuknewicz 9f27d8262c readme improvement
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-02-02 08:41:53 -08:00
Paul Yuknewicz eec8993cba Style linting
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-02-02 00:03:28 -08:00
Paul Yuknewicz 5f929896fa multitarget inferfaces to .net 6;7
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-02-01 23:46:52 -08:00
Paul Yuknewicz 568d1aa1df removed dead legacy usings/code
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-02-01 23:32:39 -08:00
Paul Yuknewicz fb7852ac49 Readme cleanup
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-02-01 22:59:20 -08:00
Paul Yuknewicz 96d03bbf29 Fixed ControllerActor activiation
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-02-01 22:44:34 -08:00
Paul Yuknewicz 085d783e5a Mocked Controller actor and chose better names
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-02-01 13:22:16 -08:00
Paul Yuknewicz c8751f5d8a Modernized to 100% minimal API code; no Startup.cs needed.
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-02-01 10:14:56 -08:00
Paul Yuknewicz 8710e1869c Updating to use custom statestore and port 5001
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-02-01 09:01:49 -08:00
Paul Yuknewicz 0ebfd9ed16 changing Record to Class given Actors cannot serialize records
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-02-01 07:15:13 -08:00
Paul Yuknewicz 7eaaea2244 Initial checkin of starter app
Signed-off-by: Paul Yuknewicz <paulyuk@Pauls-MBP-2.lan>
2023-02-01 01:21:49 -08:00