Last updated
Last updated
S3 --> SFG --> AMF -->SFG --> SFTP
Use Case: We run Schedule to get file from PartnerA (Sender) folder to SFG via S3 Protocol we use Actions EOL Conversion, Gzip and Deliver those files to the PartnerB (Receiver) using SFTP Protocol from SFG via AMF.
Sequence Diagram:
Steps:
A. Onboard PartnerA and PartnerB in SFG using AMF.
B. Onboard PartnerA S3Profile in SFG using AMF (MFT Initiated Communication Profile (Inbound)).
C. Create Communication Rule with Sender, Receiver, Message Type and Comm. profile Name. Select Delivery Type as Schedule.
D. Create Message Types or use the existing one in AMF.
E. Create Message Mapping with Sender, Receiver and Message Type with a file pattern.
F. Create EOL Conversion Action as Action type.
G. Create Gzip Action as Action type.
H. Create Deliver Action or use the predefined one (Deliver As is)
I. Create Workflow Definition and add Actions (Created in step F, step G and step H) as step1, step2 and step3.
J. Create Workflow Rule with Sender, Receiver, Message Type and Workflow Definition Name (Created in step I).
K. Onboard PartnerB SFTP Profile in SFG Using AMF (MFT Initiated Communication Profile (outbound)).
L. Create Communication Rule with Sender, Receiver, Message Type and Comm. Profile Name.
M. Verify the Message Activity in AMF once the PartnerA uploads the file to SFG via S3. If everything was configured correctly, the file will be delivered to Partner B via SFTP protocol using AMF.
Process:
A. Onboard PartnerA and PartnerB in SFG using AMF.
Login to AMF
Go to Onboarding -> Users
Click on + icon at the top right corner
Note: For convenience we will use the below users instead of PartnerA and PartnerB
PartnerA = Partner47
PartnerB = Partner48
Select Customer and give details of Partner47 select User Type and Authentication Type and click next.
User Type: Which Zone does the Partner belong to send or receive files? (DMZ or Trusted)
Authentication Type: Where we store the Partner credentials? (LDAP or local (SFG/AMF) or Both)
Select the provider the Partner belongs to and click next
AMF: AMF provider is used to onboard Partners which use UFA
IBM: This will come from the providers’ config. We can choose several types based on the provider's config.
Open Ldap: We need to select this if we selected the Authentication Type as LDAP in the step -2.
Verify the Partner details and click Onboard User.
Repeat the above steps for Partner48.
B. Onboard Partner47 S3Profile in SFG using AMF(MFT Initiated Communication Profile (Inbound)).
Double click on the Partner47.
Click on + icon in the top right corner
Select the protocol as S3, operation as download, give the remaining details and click save.
Give details and click save:
S3 Bucket: S3 Bucket name
S3 Region: Region where S3 belongs
S3 Access Key ID: Access key ID of the S3 bucket
S3 Secret Key: Secret key of S3 bucket
Message To Process: Option to process the original or current message
Proxy Required: Option to open connections via proxy server
Proxy URL: Proxy server URL (If proxy was enabled)
Proxy Username: Proxy username (If proxy was enabled)
Proxy Password: Proxy password (If proxy was enabled)
Download Path: Path to get files
File Pattern: Pattern to filter the files
Options: Options to perform after file get
Once the onboarding was done, we can see the status.
C. Create Communication Rule with Sender, Receiver, Message Type and Comm profile Name and Select Delivery Type as Schedule.
Go to Rules under onboarding-> Communication
Click on + icon at top right corner.
Select Delivery Type as Scheduled Sender, Receiver, Message Type Comm. Profile Name and click on save
D. Create Message Type or use the existing one in AMF:
Go to Message Types under Onboarding
Click on + icon in the right corner to add a new Message Type
Note: In this scenario we will use the existing Message Type (GENERIC)
E. Create Message Mapping with Sender, Receiver and Message Type with a file pattern:
Go to Message Mapping under Onboarding
Click on +icon at the top right corner
Select Sender, Receiver and Message Type give pattern of the files that Partner47 will send and clicks save.
F. Create EOL Conversion Action as Action Type.
Go to Actions under Onboarding->Workflow
Click on + icon to create new action
Give Action Name, Action Type EOL Conversion and click save.
G. Create Gzip Action as Action Type.
Go to Actions under Onboarding->Workflow
Click on + icon to create new action.
Give Action Name, Action Type GZip and click save.
H. Create Deliver Action or use the predefined one (Deliver As is).
Go to Actions under Onboarding->Workflow
Click on + icon to create new action.
Create Deliver Action as Action Type and click save
I. Create Workflow Definition and add Actions (Created in step F, step G and Step H) as step1, step2 and step3.
Go to Definitions under on boarding->Workflow
Click on + icon at the top right corner
Give Workflow Name, Description and click save.
Double click on the Workflow Definition Name
Click on the + icon at the top right corner
Select the EOL Conversion Action that we created in step F as step1.
Select the Gzip Action that we created in step G as step2.
Select the Deliver Action or use the predefined one (Deliver As is) in step H as step3.
J. Create Workflow Rule with Sender, Receiver, Message Type and Workflow Definition Name (Created in step I)
Go to Rules under Onboarding -> Workflow
Click on + icon at the top right
Give Sender, Receiver, Message Type and Workflow (Created in step I) and click on save.
K. Onboard PartnerB SFTP profile in SFG Using (MFT Initiated Communication Profile (outbound)).
Double click on the Partner48 in Onboarding-> Users
Click on + icon in the top right corner
Select MFT initiated Outbound and give the details (SFTP Protocol)
Give the details and clicks save:
Remote Host: Remote Host/IP of the Partner48 SFTP server
Remote Port: Port of the Partner48 SFTP server
Remote User ID: Remote User ID of user in the Partner48 SFTP server
Auth Type: Auth type supported by Remote SFTP server (password or key)
Use Source File Name: Option to use source filename
Remote File Name: Remote file name if you disabled the Use Source File Name in the step v
Remote Path: Path for the file to be placed
Use Temp File Name in Copy: Option to use temp file name in copy
Remote KHK: Known host key of Remote SFTP server
Send Email Notifications: Option to send email notifications for successful delivery
Receivers Mail Ids: Recipients mail addresses if we enable Send Email Notifications.
Clean up on delivery: Option to clean the file in file system after the file was delivered (Once the file was cleaned, we cannot redeliver the file again).
Once the onboarding was done, we can see the status.
L. Create Communication Rule with Sender, Receiver, Message Type and Comm Profile Name.
Go to Rules under onboarding-> Communication
Click on + icon at top right corner
Select Sender, Receiver, Message Type and Comm. Profile Name and click on save.
M. Verify the Message Activity in AMF once the Partner47 uploads the file to SFG
ViaS3. If everything was configured correctly, the file will be delivered to Partner48 via SFTP Protocol using AMF.
Go to Message activity under Track N Trace
Here we can see the file Delivered to the Partner48.