AMF (Agile Messaing Framework)
  • Agile Messaging Framework
    • Get Started
      • Install
        • Pre-requisites
        • CockroachDB
        • NATS for Queuing
        • Hashicorp Vault
          • Configure Vault
        • Python 3.9
        • AMF Bundle
        • Installation of AMF
          • Configure and install
          • Post Install Steps
        • IBM SFG Integration
          • Configure and Install
            • Install jars in SFG
            • Add amf.properties
            • Add CRDB pool details
            • Import Sterling Artifacts
          • Post Install Steps
            • Create user with API permissions
            • Changes in BPs
    • Concepts
      • Providers
      • Users
      • Message Type
      • Message Mapping
      • Workflow
      • Communication profiles
        • SFTP Profiles
          • Customer Initiated
          • MFT Initiated
            • MFT Initiated Send
            • MFT Initiated Receive
        • Connect Direct
          • Customer Initiated
          • MFT Initiated
        • SharePoint
          • MFT Initiated
            • MFT Initiated Send
            • MFT Initiated Receive
        • S3
          • MFT Initiated
            • MFT Initiated Send
            • MFT Initiated Receive
        • Azure ADLS
          • MFT Initiated
            • MFT Initiated Send
        • HTTP with Token
          • MFT Initiated
            • MFT Initiated Send
        • UFA
          • Customer Initiated
            • Customer Initiated Send
            • Customer Initiated Receive
      • Communication Rules
        • Immediate
        • Scheduled
    • Management
      • AMF UI Operations
      • AMF Services Operations
    • User Manual
      • Signup and Login
      • Dashboard
      • Track N Trace
        • Message Activity
        • Failed Message Activity
        • Onboarding Activity
        • Session Activity
        • Service Availability
        • Scheduler Activity
        • Delivery Queue
        • Audit Log
      • Onboarding
        • Customers
        • Users
          • Communication Profiles
        • Message Types
        • Message Mapping
        • Workflow
          • Definitions
          • Actions
          • Rules
        • Communication Rules
    • Troubleshooting
    • Tutorials
      • UFA Installations
        • Linux Installation
        • Windows Installation
      • Schedules
        • Run based on timer
        • Run daily
        • Run based on day(s) of the week
        • Run based on day(s) of the month
      • UseCases
        • UC01
        • UC02
        • UC03
        • UC04
        • UC05
        • UC06
        • UC07
        • UC08
        • UC09
        • UC10
        • UC11
        • UC12
        • UC13
        • UC14
        • UC15
        • UC16
        • UC17
        • UC18
        • UC19
        • UC20
        • UC21
        • UC22
        • UC23
        • UC24
        • UC25
        • UC26
Powered by GitBook
On this page
  1. Agile Messaging Framework
  2. Tutorials
  3. UseCases

UC22

PreviousUC21NextUC23

Last updated 3 months ago

S3 --> SFG --> AMF --> SFG --> CD

Use Case: We run Schedule to get file from Partner43 (Sender) folder to SFG via S3 Protocol, we Unzip the file and Deliver those files to the Partner44 (Receiver) using CD Protocol via AMF.

Sequence Diagram:

Steps:

A. Onboard Partner43 and Partner44 in SFG using AMF.

B. Onboard Partner43 S3 Receive profile 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. Onboard Partner44 Connect Direct Node in SFG using AMF (Customer Initiated Communication Profile (Inbound)).

E. Create Message Type or use the existing one in AMF.

F. Create Message Mapping with Sender, Receiver and Message Type with a file pattern.

G. Create GUNZIP Action as Action Type.

H. Create EOL Conversion Action as Action Type.

I. Create Delivery Action or use the predefined one (Deliver as is).

J. Create Workflow Definitions and add Actions (Created in step G and step H and step I) as step1, step2 and step3 respectively.

K. Create Workflow Rule with Sender, Receiver, Message Type and Workflow Definition Name (Created in step J).

L. Onboard Partner44 Connect Direct Node Profile in SFG using AMF (MFT Initiated Communication Profile (Outbound))

M. Create Communication Rule with Sender, Receiver, Message Type and Comm. Profile Name.

N. Verify the Message Activity in AMF once the Partner43 uploads the file to SFG via S3 protocol. If everything was configured correctly, the file will be delivered to Partner44 via CD protocol.

Process:

A. Onboard Partner43 and Partner44 in SFG using AMF:

Login to AMF

Go to Onboarding -> Users

Click on + icon at the top right corner

Select Customer and give details of Partner43, select User Type, Authentication Type and click next.

  1. User Type: Which Zone does the partner belong to send or receive files? (DMZ or Trusted)

  2. Authentication Type: Where we store the partner credentials? (LDAP or local (SFG/AMF) or Both)

Select the provider the Partner belong to and click next

  1. AMF: AMF provider is used to onboard Partners which use UFA

  2. IBM: This will come from the providers config. We can choose several types based on the provider's config.

  3. 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 to Onboard Partner44.

B. Onboard Partner43 S3 receive profile in SFG using AMF (MFT Initiated Communication Profile (Inbound)).

Double click on the Partner43

Click on + icon in the top right corner

Give details of the S3 MFT Initiated download Profile details and click save

Give details and click save

  1. S3 bucket: S3 Bucket name

  2. S3 Region: Region where S3 belongs

  3. S3 Access Key ID: Access key ID of the S3 bucket

  4. S3 Secret Key: Secret key of S3 bucket

  5. Message to Process: Option to process the original or current message

  6. Proxy Required: Option to open connections via proxy server

  7. Proxy URL: Proxy server URL (If proxy was enabled)

  8. Proxy User Name: Proxy user name (If proxy was enabled)

  9. Proxy Password: Proxy password (If proxy was enabled)

  10. Download Path: Path to get files

  11. File Pattern: Pattern to filter the files

  12. 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. Select Delivery Type as Schedule.

Go to Comm Rules under Onboarding

Click on + icon in the top right corner

Select Delivery Type as Schedule

D. Onboard Partner44 connect direct node in SFG using AMF (Customer Initiated Communication Profile (Inbound)).

Double click on the Partner44

Click on + icon in the top right corner

  1. Operating System: Operating system of the Partner44

  2. SPOE: Option to enable/disable secure point of entry

  3. Node Name: Node name of Partner44CD Node

  4. Host Name/IP: Host/IP of the Partner44CD Node

  5. Port: Port of the Partner44CD Node

  6. Alternate IPs: we can give there is any alternate IPs for this CD node

  7. Secure+: Option to enable/disable Secure+ for SSL (If secure+ was enabled)

  8. Cert File: Public cert of the Partner44 CD Node (in txt format with no Partner44 headers)

  9. Common Name: Common Name of the CD (If secure+ was enabled)

  10. TLS Version: TLS version to be used in the Communication

  11. Ciphers: Ciphers to be used in the Communication (If secure+ was enabled)

E. Create Message Types 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 Types (GENERIC)

F. 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

H. Create Gunzip Action or use the predefined one(Gunzip)

Go to Actions under Onboarding->Workflow

Click on + icon to create new action

Give Action Name, Action Type Guzip and save

I. Create Deliver Action or use the predefined one(Gunzip)

Go to Actions under Onboarding->Workflow

Click on + icon to create New Action

Give Action Name, Action Type Deliver and save

J. Create Workflow Definition and add Actions (Created in step F and step G) as step1 and step2.

Go to Definitions under Onboarding->Workflow

Click on + icon at the top right corner

Give Workflow Name, Description and click save

K. Create Workflow Rule with Sender, Receiver, Message Type and Workflow Definition Name (Created in step J).

Go to Rules under Onboarding -> Workflow

Click on + icon at the top right

Give Sender, Receiver, Message Type and Workflow (Created in step J) and click on save

L. Onboard Partner44 Connect Direct Node Profile in SFG using AMF (MFT Initiated Communication Profile (Outbound))

Double click on the Partner44

Click on + icon in the top right corner

Give details of the Node and click save

Give the details and clicks save

  1. SPOE: Option to know if user will use SPOE or not (If SPOE was not used then we need to give Remote user ID and Remote Password)

  2. Submitter User ID: Option to pass submitter user ID

  3. Remote User ID: Remote User ID in the user node

  4. Use Source File Name: Option to use source filename.

  5. Remote File Name: Remote file name if you disabled the Use Source File Name in the 3-iv.

  6. Remote Path: Path for the file to be placed.

  7. Disposition: Dropdown to select disposition of the file

  8. Binary mode: Option to enable or disable binary mode for file transfer

  9. Copy Statement Sys opts: Option to execute copy step Sys opts. If we enable that we need to give the Sys opts to run

  10. Run Task: Option to execute run task Sys opts. If we enable that we need to give the Sys opts to run

  11. Run Job: Option to execute run job Sys opts. If we enable that we need to give the Sys opts to run

  12. Send Email Notifications: Option to send email notifications for successful delivery

  13. Receivers Mail Ids: Recipients mail addresses if we enable Send Email Notifications.

  14. Clean-up on Delivery: Option to clean the file in file system after the file was delivered (Once the file is cleaned, we cannot redeliver the file again)

Once the onboarding was done, we can see the status.

M. 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 save

N. Verify the Message Activity in AMF once the Partner43 uploads the file to SFG via S3 Protocol. If everything was configured correctly, the file will be delivered to Partner44 via CD Protocol.

Go to Message Activity under Track N Trace

To see more details of the Delivery double click on the record

Here we can see the Process Name, Process Number, Message ID, DDSN etc. for the file delivered to the Partner44

Graphical user interface, table Description automatically generated
Graphical user interface, application, Teams Description automatically generated
Graphical user interface Description automatically generated
Graphical user interface, application Description automatically generated
A screenshot of a computer Description automatically generated with medium confidence