rApp all package restructured
[nonrtric/plt/rappmanager.git] / sample-rapp-generator / rapp-all / Files / Sme / serviceapis / api-set-2.json
index 8b377fe..34b00d3 100755 (executable)
@@ -3,41 +3,28 @@
   "description": "Example B API of rApp",
   "aefProfiles": [
     {
-      "aefId": "rApp as AEF",
-      "description": "Example B rApp as AEF",
+      "aefId": "sklearn-iris as AEF",
+      "description": "sklearn-iris API",
       "versions": [
         {
           "apiVersion": "v1",
           "resources": [
             {
-              "resourceName": "exampleA",
+              "resourceName": "sklearn",
               "commType": "REQUEST_RESPONSE",
-              "uri": "/exampleA/subscription/subscription_id_1",
+              "uri": "/models/sklearn-iris:predict",
               "operations": [
-                "GET"
+                "POST"
               ]
             }
           ]
         }
       ],
       "protocol": "HTTP_1_1",
-      "securityMethods": [
-        "PSK"
-      ],
       "interfaceDescriptions": [
         {
-          "ipv4Addr": "string",
-          "port": 65535,
-          "securityMethods": [
-            "PKI"
-          ]
-        },
-        {
-          "ipv4Addr": "string",
-          "port": 65535,
-          "securityMethods": [
-            "PKI"
-          ]
+          "ipv4Addr": "sklearn-iris-predictor-default.kserve-test.svc.cluster.local",
+          "port": 80
         }
       ]
     }