Connecting to External Storage Services using Cloud Streams - e.g., Azure Blob Storage.
Below are the steps to follow the process to connect azure storage from IS
for this we have to flow the steps
1). We need to download the webMethods Designer that includes the connector to builder. For more information, please visit this link to download the designer
webMethods.io Integration | Getting Started (softwareag.com) To create cloud stream providers, we need to use the built-in packages WmCloudStreams and WmCloudStreamsAnalytics.
2). For step 2, we need to configure the WmMicrosoftAzureStorageProvider built-in package in Designer. To do this, we need to download the packages from TechCommunity. here
i). first we need to search by Cloud Streams Connectors.
ii). Search for "Microsoft Azure Storage" in the connectors page and download any version. Once downloaded, extract the files and configure the connector in the designer.
Go to Integration Server → Solutions → Cloud Streams → Providers → Microsoft. Click on the “Microsoft” folder and select the any one version of the connector. Then, configure the connector in the designer.
3). how to create the connector after config the inbuilt packages in this step we can see
steps to create the connection
i). To configure the Microsoft Azure Storage connector, you will need to provide the following information:
DefaultEndpointsProtocol: The protocol to use for connecting to the
Azure Storage service. This can be either “https” or “http”.
AccountName: The name of your Azure Storage account.
AccountKey: The access key for your Azure Storage account.
EndpointSuffix: The endpoint suffix for your Azure Storage account. This depends on the type of Azure Storage service that you are using. For example, for Blob Storage, the endpoint suffix is “core.windows.net”.
Once you have provided this information, you will need to specify the Server URL in the connection. The URL format is https://myaccountName//.blob.core.windows.net. and You will also need to provide the Account Key for your Azure Storage account. The Account Key is a secret key that is used to authenticate your requests to the Azure Storage service. You can find your Account Key in the Azure Portal, under the Access keys tab for your Azure Storage account.
The above requirements, such as the Account Name and Account Key, are created in your Microsoft Azure account by creating a resource. You can follow the steps in this tutorial: How to Create Azure Free Account - Steps Explained: How to Create Azure Free Account - Steps Explained How to Create Azure Free Account - Steps Explained How to Create Azure Free Account - Steps Explained (k21academy.com) to create an Azure free account and resource.
Once you have created an Azure free account, you can create a resource by going to the Azure Portal and clicking on the Create a resource button. In the search bar, type “Storage account” and press Enter. The Storage account blade will be displayed.
In the Storage account blade, enter the following information:
l Resource group: The resource group that you want to create the storage account in.
l Region: The region where you want to create the storage account.
l Account name: The name of the storage account.
l Account type: The type of storage account that you want to create.
l Access tier: The access tier for the storage account.
Once you have entered this information, click on the Create button. The storage account will be created and you will be able to view the Account Name and Account Key in the Access keys tab.
4). After you have created the connection, you can download and login to the Microsoft Azure Storage Explorer app. To do this, go to the following link: Azure Storage Explorer – cloud storage management | Microsoft Azure
On the website, click on the Operating systems tab and select Windows. The Download for Windows button will be displayed. Click on the button to download the app.
Once the app has been downloaded, open it and sign in with your Microsoft account. You will then be able to view and manage your Azure Storage accounts.
You can also choose to download the Microsoft Azure Storage Explorer app for other operating systems, such as macOS, Linux, and Android.
To add a resource in the Azure app, follow these steps:
A. In the Azure Storage Explorer app, click on the Attach a resource button.
B. In the Resource type dropdown, select Storage Account or Service.
C. In the Account name and key section, enter the following information:
i) Account name: The name of your Azure Storage account.
ii) Account key: The access key for your Azure Storage account.
D. In the Storage domain dropdown, select the region where your Azure Storage account is located.
E. Click on the Next button.
F. Review the information and click on the Connect now button.
The resource will be added and you will be able to view it in the Explorer pane.
5). To create cloud streams in Designer, you will need to:
i. Open Designer and create a new package.
ii. In the package, create a cloud connector service.
iii. Select the appropriate cloud connector service for your needs.
Here are the steps in more detail:
l Open Designer and click on the “File” menu. Then, select “New” and “Package”.
l In the “Package” dialog box, enter a name for your package and click on the “Create” button.
l In the package explorer, right-click on the package and select “New” and “Cloud Connector Service”.
l In the “Cloud Connector Service” dialog box, select the appropriate cloud connector service for your needs.
l Click on the “Finish” button to create the cloud connector service.
Once you have created the cloud connector service, you can use it to create cloud streams. To do this, drag and drop the cloud connector service onto the design canvas. Then, connect the cloud connector service to other components in your pipeline, such as a filter or a sink.
ii). we need to select Cloud Connector service → give name and click Next → select the connector and click Next → select the connection poll and click Next → select the service (here we have 4 services which service we want select that) and click Finish
iii). in Cloud Connector service select the Resource Name → select the resource Template → click Finish when u click finish input and output is created.
here is the images how the service is
iv) After created the cloud connector service and now we have to create the wrapper service. in this wrapper service take the in/out puts from that connector service.
v). Now create the main service connect the input to stream.
here we will see how the input is pass
in the above image we show like this we have to store the file in azure like blob objects.
6). After file is created or stored in azure storage go to Azure App → open the connected resource → select the Blob Container → open the container which you created in that blob container → now refresh and check the file is added are not
like this we have store the data in Azure blob Storage.