Service Operations Insight

Expand all | Collapse all

CA SOI: Universal Connector Authentication

  • 1.  CA SOI: Universal Connector Authentication

    Posted 01-26-2018 01:04 AM

    I would like to know how I can configure authentication when using the Universal Connector Web service.
    What happens is that a client wants to send alerts from a cloud platform to CA SOI, this platform is Bluemix.



  • 2.  Re: CA SOI: Universal Connector Authentication

    Broadcom Employee
    Posted 01-26-2018 01:12 AM

    By default UC runs on SOI Manager on port 7090 which takes "samuser" or any other Administrator equivalent user authentication for UC operations

     

    Regards

    Brahma



  • 3.  Re: CA SOI: Universal Connector Authentication

    Posted 01-26-2018 07:39 AM

    Hi Brahma,

    When I use the following code in python, I can create an IC without needing to authenticate myself:

     

    from suds.client import Client

    soi_url='http://192.168.222.58:7090/axis2/services/GenericConnectorService?wsdl'
    client=Client(soi_url)
    h='MyMachine25'

    ci=client.factory.create('ns2:Item')
    ci['className']='ComputerSystem'
    ci['eventtype']='AddCIEvent'

    ciP=client.factory.create('ns2:CIProperty')
    ciP['name']='MdrElementID'
    ciP['value']=h
    ci.ciProperties.append(ciP)

    ciP=client.factory.create('ns2:CIProperty')
    ciP['name']='ComputerName'
    ciP['value']=h
    ci.ciProperties.append(ciP)

    ciP=client.factory.create('ns2:CIProperty')
    ciP['name']='PrimaryDnsName'
    ciP['value']=h
    ci.ciProperties.append(ciP)

    ciP=client.factory.create('ns2:CIProperty')
    ciP['name']='Label'
    ciP['value']=h
    ci.ciProperties.append(ciP)

    ciP=client.factory.create('ns2:CIProperty')
    ciP['name']='SysName'
    ciP['value']=h
    ci.ciProperties.append(ciP)

    print ci

    result=client.service.addCIs(ci)

    print result

     

    How can I activate authentication to use the universal connector web service?

     

    Regards

    Martin



  • 4.  Re: CA SOI: Universal Connector Authentication

    Posted 02-01-2018 11:58 AM

    Brahma follow up on this needed please. Thanks!