Commit Graph

78 Commits

Author SHA1 Message Date
e492886a85 Bug fixes in the TimerTasks function (#1961)
* Bug fixes in the TimerTasks function

* formatting
2022-05-19 18:26:08 +00:00
e0a9f07942 Test timer repro (#1934)
* TimerRepro tests

* fmt
2022-05-17 14:21:23 +00:00
4ee967ab4c scaleset vm instance scale-in protection (#1946)
* scaleset vm instance scale-in protection

* added tests and used to validate the behavior

Co-authored-by: stas <statis@microsoft.com>
2022-05-16 11:25:54 -07:00
a3e63df18d Upgrading dotnet version to 6.0.300 (#1947) 2022-05-16 16:25:02 +00:00
6d15a46897 proxy forward test hooks (#1924)
fixing some bugs

Co-authored-by: stas <statis@microsoft.com>
2022-05-11 13:05:29 -07:00
5f4a02503a Refactor agent commands (#1922)
* Checkpoint

* Disable the function for now

* snapshot

* Tested locally

* fmt
2022-05-11 14:06:09 +00:00
78c680e955 Update AgentCanSchedule.cs (#1912) 2022-05-10 12:07:24 +00:00
a4357c8fb9 Use the json serializer to convert enum to the DB (#1910)
* Use the json serializer to convert enum to the DB

* format
2022-05-07 20:44:47 +00:00
dcf84cfd4e Pool operations test hooks (#1909)
Co-authored-by: stas <statis@microsoft.com>
2022-05-07 13:02:43 -07:00
91922ce01a enable python functions (#1907)
- queue_node_heartbeat
- queue_task_heartbeat

disable dotnet functions
- QueueNodeHeartbeat
- QueueTaskHeartbeat
2022-05-06 17:50:33 -07:00
119a40bf0c Set the table value to null when a property is null (#1905)
* set the table value to null when a property is null

* unit test
2022-05-06 21:42:28 +00:00
ee3908f660 nsg operations test hooks and some bug fixes (#1904)
Co-authored-by: stas <statis@microsoft.com>
2022-05-06 13:43:25 -07:00
777a7c6e15 Fix new_files (#1903)
* Fix new_files

* fmt
2022-05-06 15:36:43 +00:00
5393dbab65 Replace queue_task_hearbeat (#1899)
* Replace queue_task_hearbeat

* dont rename statsFormat

* using hashsets for the helpers
2022-05-05 11:02:36 -07:00
28f0cfbf9f Notification operations test hooks (#1897)
Co-authored-by: stas <statis@microsoft.com>
2022-05-05 08:21:49 -07:00
3370c3df9a Replace queue_node_heatbeat (#1875)
* repalce queue_node_heatbeat

* Changing the name of the input queue

* [testing] hard code deployment of -net function

* explicitly disable other C# functions
2022-05-04 17:09:50 -07:00
c07a908cf4 Add the ability to serialize enums values (#1898)
* Add the ablility to serialize enums values

* unit test
2022-05-04 21:20:23 +00:00
0859b04746 Node Ops test hooks (#1895)
Co-authored-by: stas <statis@microsoft.com>
2022-05-04 12:33:46 -07:00
793ce85cdf updating deploy.py to push dotnet by default (#1888)
* updating deploy.py to push dotnet by default

* Updating requirements for Azure Function core tools CLI to 4

* updating docs for Azure Functions Core Tools v 4.x requirement

* Update src/utils/check-pr/README.md

Co-authored-by: Cheick Keita <chkeita@microsoft.com>
2022-05-04 18:44:27 +00:00
d0ce283b8b Log analytics test hooks (#1887)
Co-authored-by: stas <statis@microsoft.com>
2022-05-04 07:17:25 -07:00
eca88cb35f Introducing OnefuzzContext to prevent circular references (#1886) 2022-05-03 19:05:39 +00:00
767654917e job ops test hooks and a bug fix (#1885)
Co-authored-by: stas <statis@microsoft.com>
2022-05-03 11:22:39 -07:00
3f23bdf336 More testing (#1884)
* adding more tests

* more tests

Co-authored-by: stas <statis@microsoft.com>
2022-05-03 10:14:56 -07:00
7a69c3144d Refactor agent can schedule (#1870)
* Untested

* Progress

* ready to test

* Missed a file

* Fixes setting the serializer

* Fix bad query
2022-05-03 16:29:01 +00:00
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
1f276e13e5 test hooks and a bug fix (#1879)
Co-authored-by: stas <statis@microsoft.com>
2022-05-02 18:07:09 -07:00
5ccd519065 timer workers (part 2) (#1876)
* timer workers (part 2)

* addressing pr comment

Co-authored-by: stas <statis@microsoft.com>
2022-05-02 17:32:34 -07:00
3541b9a7ac Allow PartitonKey and RowKey on the the same property (#1878) 2022-05-02 23:14:29 +00:00
a0443fb7b8 Updating GitHub CI steps for dotnet deployments #1752 (#1874)
* updating deploy.py for dotnet packages

* dotnet deployment needs to be along side python if flagged

* indivdual deployment state for dotnet api since this will deploy alongside python api

* correcting state order for dotnet-api deployment step to follow python api deployment

* cleanup deploy.py formatting

* Adding dotnet's zip package arguments to deploy and fixing func command flags

* Updating ci.yml for dotnet artifacts and adding az-local.settings.json for functionapp deployment

* fixing directory path on ci.yml

* changed single quote to double to pass black check

* keeping changes to deploy.py staged in separate branch

* missing newline at EOF

Co-authored-by: AdamLeclerc-Microsoft <103067949+AdamLeclerc-Microsoft@users.noreply.github.com>
2022-05-02 13:47:18 -07:00
732400be1d Timer workers (part 1) (#1863)
Co-authored-by: stas <statis@microsoft.com>
2022-04-30 09:04:45 -07:00
fed6069f12 Migrate timer_task part 2 (#1855) 2022-04-28 12:45:00 -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
b28e1c78a6 fix event logging (#1860)
Co-authored-by: Noah McGregor Harper <74685766+nharper285@users.noreply.github.com>
2022-04-28 04:20:48 +00: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
8003b1d3e0 Migrate timer_task (#1846) 2022-04-26 09:30:14 -07:00
c71cdb6d72 timer_retention (#1845)
Co-authored-by: stas <statis@microsoft.com>
2022-04-26 08:36:06 -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
ddc415c91e more tests (#1832)
Co-authored-by: stas <statis@microsoft.com>
2022-04-22 13:00:57 -07:00
812a6d7517 [WIP] migrate timer_proxy (#1820) 2022-04-22 15:43:44 +00:00