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

fix(customer-upload.orchestrator.ts): change context.log to context.e… #90

Merged
merged 6 commits into from
Dec 8, 2023

Conversation

jamalsoueidan
Copy link
Owner

…rror for error logging

feat(customer-upload.orchestrator.ts): return error object when request body parsing fails
feat(customer-upload.orchestrator.ts): change context.log to context.error for data not available message
feat(order.models.ts): add OrderModel and OrdreMongooseSchema
feat(order.schema.ts): add schemas for Order, OrderDocument, and OrderModel

feat(webhook-order.function.ts): add webhookOrder function to handle POST requests to "webhooks/order" route
fix(webhook.function.ts): remove webhook function and related code

feat(webhook/order.ts): add webhookOrderProcess function to process webhook orders
feat(webhook/order.ts): add webhookOrder function to handle webhook requests
feat(application-insight/index.ts): add application insights setup and telemetry client
fix(handler/middleware.ts): fix logging and error handling in middleware function

…rror for error logging

feat(customer-upload.orchestrator.ts): return error object when request body parsing fails
feat(customer-upload.orchestrator.ts): change context.log to context.error for data not available message
feat(order.models.ts): add OrderModel and OrdreMongooseSchema
feat(order.schema.ts): add schemas for Order, OrderDocument, and OrderModel

feat(webhook-order.function.ts): add webhookOrder function to handle POST requests to "webhooks/order" route
fix(webhook.function.ts): remove webhook function and related code

feat(webhook/order.ts): add webhookOrderProcess function to process webhook orders
feat(webhook/order.ts): add webhookOrder function to handle webhook requests
feat(application-insight/index.ts): add application insights setup and telemetry client
fix(handler/middleware.ts): fix logging and error handling in middleware function
…se Azure Functions v4 syntax and add support for processing webhook orders

feat(webhook/order.spec.ts): Add unit tests for webhookOrderProcess function
fix(webhook/order.ts): Update webhookOrderProcess function to update existing orders or create new orders if they don't exist
@jamalsoueidan jamalsoueidan merged commit 0704d4f into main Dec 8, 2023
2 checks passed
@jamalsoueidan jamalsoueidan deleted the webhook-order branch December 8, 2023 18:29
@jamalsoueidan jamalsoueidan self-assigned this Mar 14, 2024
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.

1 participant