Skip to content

Feature/task03/completeUserId/tasks_function #107

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

Merged

Conversation

Kemet2016
Copy link
Contributor

@Kemet2016 Kemet2016 commented Feb 1, 2021

Resolves Task/BUG :#93

To Test API function users/{userId}/tasks

  • Test this function on Azure:

  • API call - users/2/tasks

  • This code completes the implementation of the Azure function for the previous PR Feature/task03/completeUserId/tasks_function #107 that is already merged into the dev branch
    - The following methods got implemented and Updated: GET/POST

  • Once this PR gets approved the function will be deployed automatically into the development branch

  • To test this feature locally make sure to have the following:

    • Azure function extension for VSCode
    • Pull the branch to your machine and make sure to be on the correct branch
    • Install the ODBC driver so you can connect to the database: For any issues with the ODBC driver checkout PR49 for additional documentation to fix ODBC driver
      -In local.settings.json at the root of the functions folder, enter in the values for the keys below in the following format: { "Values": { "KEY": "VALUE" } }
      ENV_DATABASE_NAME (name of the database)
      ENV_DATABASE_PASSWORD
      ENV_DATABASE_SERVER (this is the server location)
      ENV_DATABASE_USERNAME
  • You can click F5 or click run->Start Debugging in the functions folder to start it up

  • The GET request takes the userId and returns all a specific user by their Id.

  • The POST request is not allowed for this call.

  • Error handling and Debug handling included in this feature

time spent:

I spent 10 hours completing this task.

@Kemet2016 Kemet2016 self-assigned this Feb 1, 2021
@Kemet2016 Kemet2016 added bug Something isn't working task New task, feature or request team1 Issues for Practicum Team 1 labels Feb 1, 2021
@theKunte
Copy link
Contributor

theKunte commented Feb 1, 2021

Hi Ahmed, you need to add your documentation to complete this Sprint. Everything else looks good! Good job

@Kemet2016 Kemet2016 added this to the Sprint 02 milestone Feb 1, 2021
Copy link
Contributor

@jak-ashuraliev jak-ashuraliev left a comment

Choose a reason for hiding this comment

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

Good updates. Just don't forget to include your documentation.

@theKunte theKunte linked an issue Feb 1, 2021 that may be closed by this pull request
@Kemet2016 Kemet2016 changed the title Feature/task03/issue#93 Feature/task03/completeUserId/tasks_function Feb 1, 2021
Copy link
Contributor

@farhadbahrehmandhenry farhadbahrehmandhenry left a comment

Choose a reason for hiding this comment

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

Ahmed, you just need to add your documentation. thank you

@Kemet2016 Kemet2016 merged commit 0dcf985 into North-Seattle-College:development Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working task New task, feature or request team1 Issues for Practicum Team 1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task]Complete the rest of the functionality
5 participants