MOC config - FNNDSC/pfcon GitHub Wiki

Overview

This page documents the pfurl internal setting for accessing the MOC

Service access

Set the access IP to fnndsc.childrens.harvard.edu

export HOST_IP=134.174.13.44

Call

pfurl --verb POST --raw \
      --http ${HOST_IP}:5005/api/v1/cmd \
      --httpResponseBodyParse \
      --jsonwrapper 'payload' \
      --msg \
'{  "action": "internalctl",
    "meta": {
                "var":     "/service/moc",
                "set":     {
                    "compute": {
                        "addr": "pman-radiology.k-apps.osh.massopen.cloud",
                        "baseURLpath": "api/v1/cmd/",
                        "status": "undefined",
                        "authToken": "{Bu7H)FyWp{,e<"
                    },
                    "data": {
                        "addr": "pfioh-radiology.k-apps.osh.massopen.cloud",
                        "baseURLpath": "api/v1/cmd/",
                        "status": "undefined",
                        "authToken": "{Bu7H)FyWp{,e<",
                        "serviceMan": "openshift"
                    }
                }
            }
}'

-30-