Service Operations Insight

  • 1.  CA SOI REST - CREATE IC in CA SOI

    Posted Mar 14, 2017 10:17 AM

    Its possible to create a IC using the rest API?

     

    I need create process in CA PAM that create a IC using tha REST methods (SOI API).

     

    Is its possible, anyone have a sample to make it?

     

    I trying using https://server:7403/rest/ci 

     

    But this error is showed:

     

    <html><head><title>Apache Tomcat/7.0.62 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - AccessLayer has not been set yet</h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u>AccessLayer has not been set yet</u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>com.ca.soi.accesslayer.SamUIUnavailableException: AccessLayer has not been set yet
    com.ca.soi.accesslayer.register.AccessLayerRegistrator.getUtilitiesInstance(AccessLayerRegistrator.java:167)
    com.ca.soi.accesslayer.register.UtilitiesAccessLayerProxy.getRealImplementation(UtilitiesAccessLayerProxy.java:16)
    com.ca.soi.accesslayer.register.UtilitiesAccessLayerProxy.authenticate(UtilitiesAccessLayerProxy.java:25)
    com.ca.soi.headless.filter.AuthenticateFilter.authenticate(AuthenticateFilter.java:162)
    com.ca.soi.headless.filter.AuthenticateFilter.doFilter(AuthenticateFilter.java:101)
    </pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/7.0.62 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.62</h3></body></html>

     

    Thanks



  • 2.  Re: CA SOI REST - CREATE IC in CA SOI

    Broadcom Employee
    Posted Mar 16, 2017 06:17 AM

    CIs cannot be created through Rest calls. For CIs we have the following calls:

     

    The CI REST web services let you perform the following operations:
    Get CI details
    Get hyperlink entries associated with a CI
    Get the status information for a CI
    Get the CI USM information
    Get a list of alerts impacting a specific CI
    Get a list of children for a specific CI
    Get a list of parents for a specific CI
    Get a list of services for a CI
    Update details of a CI, such as maintenance mode and user attributes

     

    CIs are created by their respective Connectors.

     

    Please mark this question as answered or let me know if you have any further questions.

     

    Thanks and kind regards,

    Britta Hoffner



  • 3.  Re: CA SOI REST - CREATE IC in CA SOI

    Posted Mar 21, 2017 08:42 AM

    Its possible make it using UNIVERSAL CONNECTOR?



  • 4.  Re: CA SOI REST - CREATE IC in CA SOI

    Posted Mar 21, 2017 10:12 AM

    Hi Everton,

    Yes, you can create(, update and delete) CIs (as well as Alerts and Service) via Universal Connector.

    Can you please explain the Use Case behind the entire question to better understand what you try to achieve by creating the CIs.

    Alerts always have to come via the same method, e.g. when you create a CI via the Universal Connector the Alerts for these CIs have also to come via the Universal Connector.

    In case you need further details, we can also continue the communication internally: Michael.Boehm@ca.com

     

    MichaelBoehm