Cloud Pak for Data

 View Only
Expand all | Collapse all

expose a query as a web service within ICP4Data and/or via API Connect

  • 1.  expose a query as a web service within ICP4Data and/or via API Connect

    Posted Mon January 21, 2019 04:06 PM
    Hello, would like to be able to expose data access as a service within ICP4Data, or via something like API Connect.  So let's say I have a customer table that I have defined via Data Virtualization.  I would like to expose data access via a service.  So in this example, call the service "GetCustomer", and as input give the Customer ID, and in return get customer name, customer address, customer phone, etc.....   Could I expose such an API from within ICP4Data and or integrate with something like IBM API Connect.  Your thoughts/suggestions/comments are appreciated.

    ------------------------------
    Bradley Greeley
    ------------------------------

    #CloudPakforDataGroup


  • 2.  RE: expose a query as a web service within ICP4Data and/or via API Connect

    Posted Tue January 22, 2019 02:05 PM
    Hi Bradley, 

    How are you doing !

    Yes, you can expose data access as a service within ICP for Data using IBM API Connect (already supported as part of ICP). The only thing you will have to decide is if you want to expose these APIs (GetCustomer etc....) to other services in the ICP for Data cluster or if you want to expose it to users/applications outside the ICP for Data cluster. If you need access to these APIs outside of ICP for Data with the API connect running inside of ICP for Data, you will need to add a NodePort for the API connect API service.

    Thank you,
    Regards,
    Deepak




    ------------------------------
    Deepak Rangarao
    ------------------------------



  • 3.  RE: expose a query as a web service within ICP4Data and/or via API Connect

    Posted Tue January 22, 2019 02:06 PM
    Hi Bradley,

    How are you doing !

    Yes, you can expose data access as a service within ICP for Data using IBM API Connect (already supported as part of ICP). The only thing you will have to decide is if you want to expose these APIs (GetCustomer etc....) to other services in the ICP for Data cluster or if you want to expose it to users/applications outside the ICP for Data cluster. If you need access to these APIs outside of ICP for Data with the API connect running inside of ICP for Data, you will need to add a NodePort for the API connect API service.

    Thank you,
    Regards,
    Deepak

    ------------------------------
    Deepak Rangarao
    ------------------------------