App Connect

App Connect

Join this online user group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#Applicationintegration
#App Connect
#AppConnect
#Integration
#Automation
 View Only
  • 1.  Upload files to bucket using Google Cloud Storage Request Node

    Posted 10/28/24 02:04 PM

    Hi,

    I have been trying to write a file to a bucket using the google cloud storage request node. I have configured the folder path location(for example /dev/drop/) as Object. And I have the default schema which is generated if we configure the update/create objects. While configuring the path location in the property node as $Root/JSON/Data/body/File it throws error as below. 

    ParserException
                        File:CHARACTER:C:\ci\product-build\WMB\src\DataFlowEngine\nodejs\NodejsManager\ImbNodejsTreeConversions.cpp
                        Line:INTEGER:767
                        Function:CHARACTER:ImbNodejsTreeConversions::fromJSONTreeInternal
                        Type:CHARACTER:
                        Name:CHARACTER:
                        Label:CHARACTER:
                        Catalog:CHARACTER:BIPmsgs
                        Severity:INTEGER:3
                        Number:INTEGER:5708
                        Text:CHARACTER:'Data' element must be of type JSON.Array or JSON.Object

    I can understand that it's not matching the schema but not sure how I can create the JSON structure and also I am not finding an example for uploading files using google cloud storage request node. Can someone help me on this please?

    Regards

    Naveena



    ------------------------------
    Naveena Velusamy
    ------------------------------


  • 2.  RE: Upload files to bucket using Google Cloud Storage Request Node

    Posted 10/29/24 05:48 AM

    Hi All,

    I am not finding an option to add the source application in connect discovery. Below is the screen shot of it. And also I am not sure if we can add proxy to this node. Can someone advice please?



    ------------------------------
    Naveena Velusamy
    ------------------------------



  • 3.  RE: Upload files to bucket using Google Cloud Storage Request Node

    Posted 11/04/24 05:38 AM
    Edited by AJAY PONNAPPAN 11/04/24 05:38 AM

    I dont think we can directly upload a file by giving its location. We could  probably add FileInput node to read the file contents and pass the read data as the body to create the object 



    ------------------------------
    AJAY PONNAPPAN
    ------------------------------