-
Notifications
You must be signed in to change notification settings - Fork 31
Adaption for functions v3 usage #108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ere id is e.g. a guid
|
But now getting this error while adding the Rule
Embedded Resource 'function.json' not found.
…On Mon, Feb 3, 2020 at 4:50 AM BobSilent ***@***.***> wrote:
Collection of fixes needed for usage of azure functions v3 and dotnet core
3.1
based on PR #94 <#94>
- #93 <#93>
change azure function runtime version to v3
- #104 <#104>,
#105 <#105>
update signature of run.csx
- added an update instance command in order to do the migration from
v2 to v3
------------------------------
You can view, comment on, or merge this pull request online at:
#108
Commit Summary
- Set ResourceVersion 1.0 when creating a service hook
- fix for #99, quickly set LinkedId to null for non work item links,
where id is e.g. a guid
- updated initial findings for Function V3 from #93
- change function run.csx signature from
HttpResponseMessage,HttpRequestMessage to IActionResult, HttpRequest solves
#104, #105 within Function V3
- Initial update.instance command
File Changes
- *M* README.md
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-0>
(4)
- *A* src/aggregator-cli/Extensions.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-1>
(59)
- *M* src/aggregator-cli/Instances/AggregatorInstances.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-2>
(50)
- *M* src/aggregator-cli/Instances/FunctionRuntimePackage.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-3>
(22)
- *A* src/aggregator-cli/Instances/UpdateInstance.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-4>
(38)
- *M* src/aggregator-cli/Instances/instance-template.json
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-5>
(2)
- *M* src/aggregator-cli/Mappings/AggregatorMappings.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-6>
(2)
- *M* src/aggregator-cli/Program.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-7>
(8)
- *M* src/aggregator-cli/Rules/AggregatorRules.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-8>
(112)
- *M* src/aggregator-cli/Rules/RuleOutputData.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-9>
(22)
- *M* src/aggregator-cli/Rules/UpdateRuleCommand.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-10>
(1)
- *D* src/aggregator-cli/Rules/run.csx
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-11>
(13)
- *M* src/aggregator-cli/aggregator-cli.csproj
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-12>
(7)
- *M* src/aggregator-function/AzureFunctionHandler.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-13>
(238)
- *M* src/aggregator-function/AzureFunctionHandlerExtension.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-14>
(10)
- *R* src/aggregator-function/FunctionTemplate/function.json
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-15>
(0)
- *A* src/aggregator-function/FunctionTemplate/run.csx
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-16>
(17)
- *M* src/aggregator-function/aggregator-function.csproj
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-17>
(8)
- *M* src/aggregator-ruleng/AssemblyInfo.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-18>
(3)
- *M* src/aggregator-ruleng/WorkItemRelationWrapper.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-19>
(5)
- *M* src/unittests-function/AzureFunctionHandlerTests.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-20>
(95)
- *M* src/unittests-function/TestData/ExampleTestData.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-21>
(5)
- *A* src/unittests-function/TestData/ResourceVersion-1.0.json
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-22>
(143)
- *A*
src/unittests-function/TestData/ResourceVersion-3.1-preview.3.json
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-23>
(134)
- *A*
src/unittests-function/TestData/ResourceVersion-5.1-preview.3.json
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-24>
(164)
- *M* src/unittests-function/unittests-function.csproj
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-25>
(9)
- *M* src/unittests-ruleng/TestData/ExampleTestData.cs
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-26>
(5)
- *A*
src/unittests-ruleng/TestData/WorkItem.30.ResourceVersion-1.0.json
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-27>
(60)
- *A*
src/unittests-ruleng/TestData/WorkItem.30.ResourceVersion-3.1-preview.3.json
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-28>
(58)
- *A*
src/unittests-ruleng/TestData/WorkItem.30.ResourceVersion-5.1-preview.3.json
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-29>
(82)
- *M* src/unittests-ruleng/unittests-ruleng.csproj
<https://github.com/tfsaggregator/aggregator-cli/pull/108/files#diff-30>
(8)
Patch Links:
- https://github.com/tfsaggregator/aggregator-cli/pull/108.patch
- https://github.com/tfsaggregator/aggregator-cli/pull/108.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#108?email_source=notifications&email_token=AK2HROXQB7U2FRP66TBGUDTRA5IMFA5CNFSM4KO4Y3A2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKOHNJA>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK2HROQELHP3PPYLU2X6RV3RA5IMFANCNFSM4KO4Y3AQ>
.
--
Thanks,
Prashanth
Hand Phone-9844730107
E-Mail-prashanthshiva12@gmail.com
|
|
I know, as you see this PR is in draft. Also this includes an instance update step and a breaking change, I am not ready that's why this is still work in progress But it is available for a discussion. I can also provide some details later in PR description |
|
So all our rules that are implemented are not working now. So it will
continue to not work till the fix right?
Or is there any work around ?
…On Mon, Feb 3, 2020 at 4:00 PM BobSilent ***@***.***> wrote:
I know, as you see this PR is in draft.
Some updates will follow and description needs to be updated as well.
Also this includes an instance update step and a breaking change, I am not
ready that's why this is still work in progress
But it is available for a discussion. I can also provide some details
later in PR description
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#108?email_source=notifications&email_token=AK2HROQKA6XXKWKVFLOGSO3RA7W3XA5CNFSM4KO4Y3A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKTJWTA#issuecomment-581344076>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK2HROUDQJTD2EHHMCBMJFTRA7W3XANCNFSM4KO4Y3AQ>
.
--
Thanks,
Prashanth
Hand Phone-9844730107
E-Mail-prashanthshiva12@gmail.com
|
|
you can simply use the previous binaries, as due to the mentioned error the binaries were not able to change anything on server side. Did you already replace the binaries on Server Side? |
|
My service hook was giving 500 error.
So i took the latest version from githib built it on local and run the
aggregator.cli on Azure Portal. (Logged in,added new rule replacing the
exiting one since the previous one was giving error). The new service hook
is also giving same 500 error and when i check the Logs i got the error I
have posted.
…On Tue, Feb 4, 2020 at 11:53 AM BobSilent ***@***.***> wrote:
you can simply use the previous binaries, as due to the mentioned error
the binaries were not able to change anything on server side.
Did you already replace the binaries on Server Side?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#108?email_source=notifications&email_token=AK2HROSDPXDZQCX2P25ZJVLRBECXZA5CNFSM4KO4Y3A2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKWPT5I#issuecomment-581761525>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK2HROTANHRHR3ZD7CATGYTRBECXZANCNFSM4KO4Y3AQ>
.
--
Thanks,
Prashanth
Hand Phone-9844730107
E-Mail-prashanthshiva12@gmail.com
|
Collection of fixes needed for usage of azure functions v3 and dotnet core 3.1.
this PR is based on (includes) PR #94
added an
update.instancecommand in order to do the migration from v2 to v3 incl. all necessary changes.New Command update instance
update.instanceis a new command which will support the instance update process in an automated way, by doing all necessary changes to install a latest runtime version:update.rulecommand. But this update only updated the runtime binaries, the azure function configuration remains untouched.run.csxfile for each configured rule.The
update.instancecommand now supports this migration, it will update the runtime binaries and configure azure functions to use V3, also it will update the exsting configured rules to use the changedrun.csxfile.currently work in progress