Skip to content

alexander-smolyakov/image-processing-solution-powered-by-azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image processing solution (Powered by Azure)

This is the implementation of a test task, the main idea of which is to get acquainted and get an experience with the following Azure resources:

Solution

Task Manager Service

Key moments:

  • Frontend powered by SwaggerUI;
  • Two endpoints: Image and Tasks;
  • Deployed as container and running as container app;

Service API:

  • Image endpoint:
    • Upload the image to Blob Store;
    • Generate and upload task info to Cosmos DB;
  • Tasks endpoint:
    • Provide information about all tasks that are stored in Cosmos DB;
    • Provide information about the task by specifying task identification.

Image Processing Service

Key moments:

  • Frontend powered by SwaggerUI;
  • One endpoint: Tasks;
  • Deployed as container and running as container app;

Service API:

  • Tasks endpoint:
    • Process the specified task (Rotate an uploaded image 180 degrees).

Logic app workflow

flowchart TD
    A(Start) -->|Parameters| B[MaxSize - Max image size]
    B --> C{Processing image size < MaxSize }
    C -->|True| D[Call Image Processing Service to process image]
    C -->|False| E[Set task stats to Error in Azure Cosmos DB]
Loading

Point of improvements

Implementation:

  • Move from using Cosmos DB client directly to Repository pattern;
  • Implement server-side caching;
  • Move business logic from controllers to models;
  • Improve logging;

Authentication:

  • Support different auth methods provided by Azure;

Additional documentations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published