Image proxy server based on Spring Cloud gateway filters

Solutions

  • Keep backward compatibility logic to proxied services
  • Be capable to turn off or customize image modification functionality easily
  • Automatically be fetched to discovery services and easily configurable with other cloud services

Proxy Filter

Spring cloud gateway proxy forward filter

Standalone gateway service

Image processing

Processing filters

curl --location --request GET 'http://github.githubassets.com/images/modules/open_graph/github-octocat.png
curl --location --request GET 'http://github.githubassets.com/images/modules/open_graph/github-octocat.png?width=100&height=300
Example of enabling http proxy server at the postman with crop image filter

Conclusion

<dependency>
<groupId>io.github.artemptushkin.proxy.image</groupId>
<artifactId>proxy-image-server</artifactId>
<version>1.0.4</version>
</dependency>

--

--

--

Software engineer, clean code enthusiast, and contract testing expert

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Instantiating (such a big word for spawning) and destroying objects. How do I do it? Part 1.

SQL or No-SQL? How should I store my data? Why does it even matter?

Python and linear algebra to help a hypothetical farmer

What is a message broker? And how could it be leveraged more in Healthcare

findViewById() vs Android Kotlin Extensions

XACML Authorization in WSO2 EI

Common Mistakes I found in the intern developers: Part 3: Constructors

11 Expert Tips For Successful Enterprise Cloud Migration

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Artem Ptushkin

Artem Ptushkin

Software engineer, clean code enthusiast, and contract testing expert

More from Medium

Add Auth0 authentication to a Java application using Datawiza in 5 mins

Enable authentication and configure ActiveMQ in Java application

Playing made easy with Spring Boot + MySQL + Kubernetes

Read, Write and Delete Operations for S3 Bucket using Spring boot