Hi All,
In this blog, you would be able to have a detailed look on below points.
1. Azure storage creation on trial account & setup
2. Able to post a file to the azure storage created on step#1 using CPI IFLOW
Let's dive into the technical aspects:
Below are steps needed to setup at the azure end:
If you don't have an Azure subscription, go to https://azure.microsoft.com/free/ to create a free account before you begin.
Overview shown below:
2. Create a Resource group after creating the subscription.
3. Create a storage account once the resource group is created.
4. Create a container (Blob storage) under the storage account created in the above step.
5. Get the container properties to get the BLOB path as shown below.
Blob path -
https://rprohinistorage.blob.core.windows.net/rohinicontainer
6. Go to Azure Portal -> Security -> Access Keys
Get the shared access key from view & use it as secure Parameter on the azure Storage adapter.
We have completed the setup needed on Azure portal for our usecase.
Now, let's move ahead with the steps needed on CPI end.
1. Create an IFlow - HTTP to Azure Storage
2. Configure the details on HTTP sender channel
3. Configure the respective details on Azure receiver channel with the info we have from Azure portal account
TESTING:
Trigger the data to HTTPS endpoint from postman
Testing shows success logs & file created on the Azure blob container.
Let's confirm the file contents to validate if data matches from postman.
CPI logs:
Below are the details which I have created for my subscription to use: (This is currently deleted & i have just listed down details for reference purpose)
Azure BLOB Storage
Subscription - Free Trial
Subscription ID - c8342d9c-4731-49fd-8926-042db82541ff
Access key -
J5v3PdB6e5QsFKvaTtF0eWlKHSNIBgIBqUMtlOtlyuaZhWPTIqCGgTqD3LUtBEjhiZfzHDwmCwG8+AStm0TgsQ==
Resource - Rohiniresource
Storage - rprohinistorage
Container - rohinicontainer
Secure Parameter from monitoring – AccessKeyRP
----------------------------------------------------------------------------------
Cheers!
Rohini Potham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
2 | |
2 | |
2 |