-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Storageblob sample #167
Update Storageblob sample #167
Conversation
|
||
/** | ||
* @author Warren Zhu | ||
*/ | ||
@SpringBootApplication | ||
public class StorageApplication { | ||
public class StorageApplication implements CommandLineRunner { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why CommandLineRunner
and web application at the same time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to use this CommandLineRunner to initialize the application, create some data in the blob containers so that users don't need to create some data in order to test AzureStorageBlobProtocolResolver.
Resource[] resources = azureStorageBlobProtocolResolver.getResources("azure-blob://" + containerName + "/*.txt");
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Please make sure this is ported to beta.4 as well.
Add usage for ResourceLoader and AzureStorageBlobProtocolResolver