Commit Graph

30 Commits

Author SHA1 Message Date
8c73f84b87 Refactor timer repro part2 (#1852)
* Implement the rest of the function

* Initial implementation

* Pulling new formatting

* format

* Fixes after testing

* PR comments
2022-05-03 12:09:00 +00:00
e6a0906b6c Events todo (#1880)
* test hooks and a bug fix

* finish events to-do

Co-authored-by: stas <statis@microsoft.com>
2022-05-02 19:59:32 -07:00
732400be1d Timer workers (part 1) (#1863)
Co-authored-by: stas <statis@microsoft.com>
2022-04-30 09:04:45 -07:00
4aa8058b8b Fix Nullable Node Heartbeat Param. (#1854)
* Fix Nullable Node Heartbeat Param.

* Removing old file.

* Fixing param.

* Removing quotes.

* Running formatter.

* Fixing formatting.
2022-04-28 10:53:31 -07:00
26665f6f24 scaleset extensions (#1861)
Co-authored-by: stas <statis@microsoft.com>
2022-04-28 10:09:12 -07:00
016a525dfb Fixing ProxyForward Import. (#1853) 2022-04-27 17:25:05 -07:00
7403c276d3 log analytics (#1851)
Co-authored-by: stas <statis@microsoft.com>
2022-04-27 15:49:52 -07:00
0b1c7aea9c C# Refactor For Webhook Queue (#1818)
* Working on Webhook Queue Changes.

* Initial Push w/ Webhook Work.

* Initial Push. Working on Testing.

* Moving InstanceId

* Removing primitives.

* Formatting.

* Fixing formatting?

* Moving GetInstanceId to containers.

* Moving comments for formatting.

* Removing unused dependency.

* Comments.

* Add WebhookEventGrid test.

* Fixing how tests work.

* Working to resolve conflicts.

* Resolving conflicts.

* Fixing chagnes.

* Tested code.

* Formatting.

* MoreFormatting.

* More formatting.

* Fixing syntax.

* Fixing syntax.

* Removing test and webhookmessagelogoperation class.

* Using config.

* Fixing ProxyOperations.
2022-04-26 13:07:10 -07:00
af7d815e4f breaking the circular dependency between JobOperations and TaskOperations (#1848) 2022-04-26 19:07:57 +00:00
5f8e381fcb formatting (#1847) 2022-04-26 10:22:35 -07:00
2e0358d77a Refactor timer_repro (#1839)
* Checkpoint

* lint

* PR comments and warnings
2022-04-26 12:56:38 +00:00
c6992698e5 Job model (#1841)
Co-authored-by: stas <statis@microsoft.com>
2022-04-25 15:40:28 -07:00
2d15489196 Add keyvault operations and models (#1838)
Co-authored-by: stas <statis@microsoft.com>
2022-04-25 13:42:27 -07:00
3a93de4801 migrate timer_proxy part 2 (#1836) 2022-04-25 10:14:15 -07:00
e86854cf2a - Move some persistent resources into SingletonResources class (#1835)
- Rename ResultOk to ResultVoid

Move environment variables to singleton

Co-authored-by: stas <statis@microsoft.com>
2022-04-22 17:40:11 -07:00
d283e989f6 Add implementation to get allowed tenants (#1833)
Co-authored-by: stas <statis@microsoft.com>
2022-04-22 14:45:33 -07:00
16d7694852 Implement new_files (#1794)
* Checkpoint

* Checkpoint

* More merge resolving

* Code complete

* Tested that it works

* Keep the queue name different for now

* Query was wrong, should be and

* Style

* Fix compile issue

* Change report to use string instead of SHA, fixes tests as well

* PR comments

* Comments and formatting
2022-04-20 18:36:50 +00:00
057eb66ce1 Migrating timer_daily (#1803)
* Migrating timer_daily

* isabling the TimerDaily to prevent ollision with the existing

* adding missing keys

* Adding Report
2022-04-15 16:03:39 -07:00
98875f0531 Switch dependency injection to Scoped (#1801)
Co-authored-by: stas <statis@microsoft.com>
2022-04-15 09:33:59 -07:00
22faa1b5db instance config (#1791)
* instance config

* address PR comments

* make logs scoped

* make logs scoped

Co-authored-by: stas <statis@microsoft.com>
2022-04-14 14:20:28 -07:00
9d8d3327d2 Migrating QueueTaskHeartbeat (#1777)
* Migrating QueueTaskHeartbeat

* changing the name of the input queue

* rename type alias Tasks to Async

* Fix property casing

* fixing types

* Removing IStorageProvider

* fix function name

* address PR comments
2022-04-14 00:19:44 +00:00
75039a96eb [C# Port] Adding new Proxy Update Queue Function. (#1757)
* Adding QueueProxyUpdate.

* Setting to serializer.

* Updates.

* Updating with new ORM model and [model]Operation.

* Fixing return type.

* Working on changes.

* Tested and ready for review.

* Formatting.

* Removing test code.

* Update src/ApiService/Tests/OrmTest.cs

Co-authored-by: Cheick Keita <chkeita@microsoft.com>

* Fixing tests.

* Fixing tests again.

* Asserting null in tests.

* Adding null param.

* Removing whitespace.

* syntax error.

Co-authored-by: Cheick Keita <chkeita@microsoft.com>
2022-04-11 13:32:43 -07:00
5aceb25843 Finishing implementation of SendEvent (#1765) 2022-04-11 09:32:09 -07:00
d95d46a420 Add formatting step to the build And apply default formatting (#1762)
* Add formatting step to the build

* apply formatting

* Adding .editorconfigfile and option to remove "unused using directive errors"
2022-04-07 21:44:54 +00:00
627b401c87 Continue port of QueueNodeHearbeat (#1761)
[WIP ] continue port of  QueueNodeHearbeat
2022-04-07 11:55:12 -07:00
c5f60dcaec Refactor queue file changes (#1755)
* Untested refactor

* Untested refactor

* It works with some test messages

* Use custom deserializer

* Clean up warnings
2022-04-06 20:37:52 +00:00
78f8e3215f Starting migration of QueueNodeHearbeat (#1742)
* Add support for etag and timestamp
Introducing EntityBase
Starting migration of QueueNodeHearbeat

* rename namespaces

* upgrade Microsoft.Azure.Functions.Worker to 1.6.0
Added support when name contains underscore tot the case converter

* Support for not renaming enum fields

* bug fixes

* Arm client created in the contructor
added null check
2022-04-05 20:08:46 +00:00
fbff3fc4af Logging (#1737)
* Logging

* Doing dependency injection

* expose GetLoggers for better testing

Co-authored-by: stas <statis@microsoft.com>
2022-04-02 15:36:08 -07:00
f11e79de4b Starting work... - add http client - add package lock - set namespace to Microsoft.OneFuzz.Service - add static class to get environment variables (#1736)
Co-authored-by: stas <statis@microsoft.com>
2022-04-01 13:20:08 -07:00
e2d554da13 ApiService solution in C# (#1734) 2022-04-01 01:14:12 +00:00