mvn spring-boot:run \
-Dspring-boot.run.jvmArguments="-Xmx50M" \
-Dspring-boot.run.arguments=" \
--OS_ACCESS_KEY=<?> \
--OS_SECRET_KEY=<?> \
--OS_ENDPOINT=<?> \
--OS_REGION=sa-saopaulo-1"
# List Objects
curl --location 'http://localhost:8080/list/bucket/bucket-oci-dev-private'
curl --location 'http://localhost:8080/list/bucket/bucket-oci-dev-private?prefix=bcp'
# Upload Object
curl --location 'http://localhost:8080/upload/bucket/bucket-oci-dev-private' \
--form 'objectName="bcp/emp-data.txt"' \
--form 'file=@"/C:/Users/bruno.proenca/Downloads/EMP-DATA.txt"'
# Download Object
curl --location 'http://localhost:8080/download/bucket/bucket-oci-dev-private?objectName=bcp%2Femp-data.txt'
# Delete Object
curl --location --request DELETE 'http://localhost:8080/delete/bucket/bucket-oci-dev-private?objectName=bcp%2Femp-data.txt'
# Presigned GET Objects
curl --location $(curl --location 'http://localhost:8080/presignedurl/get/bucket/bucket-oci-dev-private' --form 'objectName="bcp/emp-data.txt"')
# Presigned PUT Objects
curl --location 'http://localhost:8080/presignedurl/put' --form 'fileName="bcp/new-emp-data.txt"'
curl --location --request PUT '<url>' --header 'Content-Type: text/plain' --data '<content>'