Last active
August 31, 2020 18:01
-
-
Save itsgokhanyilmaz/6bb4c1789717a9c1cb000d485ff5b357 to your computer and use it in GitHub Desktop.
MockBlobStorageService
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Service | |
@ConditionalOnProperty(value = "mock.azure.blobstorage.service.enabled", havingValue = "true") | |
public class MockBlobStorageService implements BlobStorageService{ | |
@Override | |
public URI uploadPicture(MultipartFile multipartFile) { | |
return URI.create("https://mahallemstorage.blob.core.windows.net/testmahallem/mordor_ale.png"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment