Latest post Mon, Apr 4 2022 2:11 PM by Vadym. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • Mon, Feb 14 2022 1:53 PM

    • mts-dev
    • Not Ranked
    • Joined on Fri, Dec 10 2021
    • Posts 18
    • Points 215

    How does one setup a testing environment for a media central plug-in?

    Hi there,


    I'm working on a media central cloud ux plug-in and I'd like to setup a testing environment so other members of my dev team can see a testing version of the plug-in as it's developed. I would also like to setup CD/CI for this testing version. I came across this tutorial called "CI / CD - how to deployment from docker registry" on the AVID developer site but with my little knowledge of Docker and Kubernetes I can't make sense of it still. Has anyone attempted this before? How did you get this done?

    Link to tutorial: http://developer.avid.com/connector_api/CI_CD/index.html  

    -Kenneth

  • Mon, Feb 21 2022 4:07 PM In reply to

    Re: How does one setup a testing environment for a media central plug-in?

    Hi Kenneth,

    This intrigued me so I did a quick investigate and found that you can specify the proxy host rather than just defaulting to localhost. In your project.config.json add the parameter "proxyHost" after the "proxyPort" connection parameter. Set that to the IP address of the machine you use for testing, it should then be possible to see the proxy hosted plug-in from other machines.

    Good luck

    Michael

  • Mon, Feb 28 2022 6:44 PM In reply to

    • mts-dev
    • Not Ranked
    • Joined on Fri, Dec 10 2021
    • Posts 18
    • Points 215

    Re: How does one setup a testing environment for a media central plug-in?

    Hi Michael, 

    Tried this out and no matter the machine I use it says " Error: listen EADDRNOTAVAIL: address not available". Could you explain how the Cloudux-starter-kit tries to create the proxy on the proxyhost provided?

     

     

  • Thu, Mar 3 2022 10:50 AM In reply to

    Re: How does one setup a testing environment for a media central plug-in?

    Sorry, these are questions that Avid should be answering.

  • Thu, Mar 3 2022 11:06 AM In reply to

    • Tilman
    • Not Ranked
    • Joined on Wed, Oct 17 2012
    • Posts 9
    • Points 95

    Re: How does one setup a testing environment for a media central plug-in?

    I personally don't use the proxy, I had the impression it can get slow and I've been looking for solutions that don't depend on a complex Node stack. Here are some options, I use the last two (HTTPToolkit and mini linux server) for my personal development setup:

    • Use nginx as a reverse proxy to cloudux and modify the response for plugin list to contain your plugin, and serve the JS for your plugin from the local file system
    • Use a third party dev proxy (I use https://httptoolkit.tech/) and Mock/replace the plugin list and JS. With HTTP Toolkit the mocking is really fast. There's some info about how I set this up here: https://github.com/tilmans/cloudux-simple-app
    • Set up a mini CloudUX server. This is what you should do for multi-user test setups, CI/CD etc. I got myself a NUC with 64GB of RAM and a fast SSD for <1000€ which is now happily running 3 VMs with CloudUX, Production Management and some custom services on Linux. This is by far the simplest (VM snapshots are your friend) and fastest solution once you got the initial environment set up.
    Best Regards,
    Tilman
  • Thu, Mar 3 2022 12:42 PM In reply to

    • mts-dev
    • Not Ranked
    • Joined on Fri, Dec 10 2021
    • Posts 18
    • Points 215

    Re: How does one setup a testing environment for a media central plug-in?

    I see, thanks Tilman. For the 3rd option, did you purchase an extra cloudux instance like mentioned here?

  • Mon, Apr 4 2022 2:11 PM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 262
    • Points 3,110
    • ! Avid Employee
      Avid Developer Moderator

    Re: How does one setup a testing environment for a media central plug-in?

    Hi Kenneth,

    Please reach out to your Alliance Partner contact over emails to get environment setup for a plugin development. First you'd need to be able to develop a plugin in a normal way before proceeding to CI/CD.

    Thanks,
    Vadym

Page 1 of 1 (7 items)

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