Skip to content
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

Add graph & api call to worker2 #901

Merged
merged 10 commits into from
Jan 25, 2021
Merged

Add graph & api call to worker2 #901

merged 10 commits into from
Jan 25, 2021

Conversation

jennyf19
Copy link
Collaborator

@jennyf19 jennyf19 commented Jan 22, 2021

#900

Still need to test and build the template from the branch.

@jennyf19 jennyf19 changed the title add graph & api call to worker2 [WIP] add graph & api call to worker2 Jan 22, 2021
@jennyf19 jennyf19 marked this pull request as ready for review January 22, 2021 21:05
@jennyf19 jennyf19 changed the title [WIP] add graph & api call to worker2 Add graph & api call to worker2 Jan 22, 2021
Copy link
Collaborator

@jmprieur jmprieur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an awesome start @jennyf19 !
I realize the amount of work you must have put to get to this outcome, considering how complex the templates are, and how hard and iterative it is to test them

There is little typo in the processor directive in GreeterService.cs
This means the template for this file is not correctly expanded when running the following command:

dotnet new worker2 --auth SingleOrg --called-api-url "https://graph.microsoft.com/beta/me" --called-api-scopes "user.read"

ProjectTemplates/templates/Worker-CSharp/GreeterService.cs Outdated Show resolved Hide resolved
Copy link
Collaborator

@jmprieur jmprieur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks @jennyf19

I tests all the cases, and it expands and builds all. Awesome!

@sonarcloud
Copy link

sonarcloud bot commented Jan 25, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@jennyf19 jennyf19 merged commit 00086af into master Jan 25, 2021
@jennyf19 jennyf19 deleted the jennyf/worker2 branch January 25, 2021 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants