Latest post Fri, Apr 26 2019 7:11 PM by Vadym. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • Tue, Apr 16 2019 2:55 PM

    • matev
    • Not Ranked
    • Joined on Tue, Aug 2 2016
    • Posts 8
    • Points 90

    Query cloudux bus services like avid.pam.sequence and avid.pam.stp from bus service

    Hello All,

    we are developing our cloudux bus service using nodejs proxy-bal@3.10.8 and we want to invoke methods of avid.pam.sequence, avid.pam.stp, avid.pam.mediainfo, etc. running on Cloud UX 2019.2 with MC | PAM 2018.11

    We are able to connect to the bus, our service is listed in the acs monitor but when we query the mentioned services then the request fails with error 

     

    "avid.pam.stp/GENERIC_FAILURE" “java.net.SocketTimeoutException”.

    Exception while obtaining token and userIdentity
    java.lang.ArrayIndexOutOfBoundsException: 1
           at com.avid.pam.base.BaseServiceUtils.getAccessTokenFromContext(BaseServiceUtils.java:517)
           at com.avid.pam.base.BaseServiceUtils.proceed(BaseServiceUtils.java:107)
           at com.avid.pam.service.impl.StpBusServiceImpl.submitSTPJob(StpBusServiceImpl.java:410)
    Exception while receiving auth url
    java.net.SocketTimeoutException
           at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:118)
           at net.nxn.io.http.HttpsClient.createSocket(HttpsClient.java:80)
           at net.nxn.io.http.HttpClient.open(HttpClient.java:131)
           at net.nxn.io.http.HttpsClient.New(HttpsClient.java:55)

     

    When we transform our request to a regular ajax request and send it from a cloudux UI application (and not from our bus service) then we receive a valid response from all of the services mentioned.

    From our bus service we can use the avid.acs.attributes but it seems thats the only one service which is responding for our service.

    Do you know where can be the problem? Why the UI app can query those services while a bus service cant?

     

    Thanks and best regards

    Mate

  • Thu, Apr 18 2019 7:01 PM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 224
    • Points 2,715
    • Avid Developer Moderator
      Avid Employee

    Re: Query cloudux bus services like avid.pam.sequence and avid.pam.stp from bus service

    Hi Mate,

     

    The issue you're having have been reviewed and the services you are attempting to use do not expose public APIs currently. You should not try to call them through bus/rest until they are made public at developer.avid.com.

     

    Thanks

  • Tue, Apr 23 2019 8:28 AM In reply to

    • matev
    • Not Ranked
    • Joined on Tue, Aug 2 2016
    • Posts 8
    • Points 90

    Re: Query cloudux bus services like avid.pam.sequence and avid.pam.stp from bus service

    Hi Vadym,

     

    Thank You for your answer. I have not found a list of services which expose public apis. Is that list really available at developer.avid.com?

    Do you plan to make those apis public in the near future? Because via pam web services its possible to trigger the same actions but it would be much more cleaner and modern to use only the services which are running on the platform.

     

    Regards

  • Fri, Apr 26 2019 7:11 PM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 224
    • Points 2,715
    • Avid Developer Moderator
      Avid Employee

    Re: Query cloudux bus services like avid.pam.sequence and avid.pam.stp from bus service

    We are planning to make all APIs public over time as part of the release roadmap.
    Specifically Production Management, Asset Management and Newsroom APIs will be moving over to be available as CTMS-style platform APIs.

    We can’t give a timeframe for when which API will be made available.

Page 1 of 1 (4 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller