-
Notifications
You must be signed in to change notification settings - Fork 0
Property Images
The Property Images microservice, implemented using Spring Boot, facilitates the management of property images stored in Amazon S3. It offers various endpoints for uploading images, fetching image URLs, and listing available S3 buckets.
-
Image Upload: Users can upload property images by sending a POST request to the
/uploadendpoint along with the image file, property ID, and primary flag. Upon successful upload, the service returns the URL of the uploaded image. -
Image Retrieval: Property images can be retrieved by sending a GET request to the
/getImageUrlsendpoint with the corresponding property ID. This endpoint returns a list of URLs for all images associated with the specified property. -
Primary Image URL: To retrieve the URL of the primary image for a property, users can send a GET request to the
/getPrimaryImageUrlendpoint, providing the property ID as a parameter. -
Listing Buckets: The service offers a GET endpoint
/listBucketsto list all available S3 buckets. This functionality allows users to view and manage the buckets associated with the service.
-
Containerization: The microservice is designed to be deployed in containerized environments, enabling seamless integration with container orchestration platforms like Kubernetes.
-
Scalability: Leveraging Amazon S3 for image storage ensures scalability, allowing the microservice to handle large volumes of property images efficiently.
Click here to view an overview of technologies used.