DevDrop 33: Uploading your Genesys Cloud Function

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ม.ค. 2025
  • This TH-cam video is the fourth in a series about Genesys Cloud Functions. This video focuses on uploading the Genesys Cloud Function zip file to Genesys Cloud using the Genesys Cloud CLI. The speaker in the video walks through the process using a simple customer example Node.js Genesys Cloud Function that was created in the previous video.
    This video will be helpful to viewers who have watched the first three videos in the series, particularly the third video which demonstrates creating the function.
    The speaker explains that the Genesys Cloud Function project is in beta, and there is not currently a UI for uploading the function zip file.
    The speaker will cover how to use the Genesys Cloud CLI to upload the zip file to Genesys Cloud in this video.
    The video will also show how to look up a data action that was set up in video two, update the function with its runtime configuration, get a signed URL, and upload the function to Genesys Cloud.
    The speaker will use curl to upload the Genesys Cloud function to Genesys Cloud.
    The speaker suggests using jq, a JSON parser to simplify some of the work.
    The speaker emphasizes that the curl command that is built from the signed URL returned from Genesys Cloud is very long. The speaker provides a Python script to help generate the curl command from the returned data.
    The speaker demonstrates copying and pasting the generated curl command as well as piping the Python script to a shell to automatically run the curl command.
    The speaker notes that curl must be installed on your machine.
    After successfully uploading the file, the speaker validates the action, noting the date and time the configuration and zip file were created.
    The speaker notes that the Genesys Cloud Functions team plans to release a CXS code component that will assist with the upload process and will be making modifications to the CLI to simplify the process.
    The next video in the series will focus on testing the uploaded function.
    The video highlights the process involved in uploading a Genesys Cloud Function zip file using the Genesys Cloud CLI and curl, explaining each step and pointing out potential difficulties and helpful hints. The speaker also looks ahead to planned future improvements that will simplify this process.
    The technology used in this video include:
    Genesys Cloud CLI (v116.0) - developer.gene...
    JQ (v1.6) - jqlang.github....
    Python (3.912)
    Curl (7.82.0) - curl.se/
    Helper Python CURL Script - github.com/MyP...
    Have something to say about this video? Come discuss with us at developer.mypu...

ความคิดเห็น •