From 32728e2cc7bd59f43392455b0ed12455647c0bd9 Mon Sep 17 00:00:00 2001 From: ajai-d <106365942+ajai-d@users.noreply.github.com> Date: Wed, 18 Oct 2023 21:30:53 -0500 Subject: [PATCH] postman collection for hydrating recommendation service vector db --- .../setup/hydrate.postman_collection.json | 77 +++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 services/recommendation-service/dotnet/setup/hydrate.postman_collection.json diff --git a/services/recommendation-service/dotnet/setup/hydrate.postman_collection.json b/services/recommendation-service/dotnet/setup/hydrate.postman_collection.json new file mode 100644 index 00000000..b59513b9 --- /dev/null +++ b/services/recommendation-service/dotnet/setup/hydrate.postman_collection.json @@ -0,0 +1,77 @@ +{ + "info": { + "_postman_id": "a6a96b6e-ecfa-4255-8fcc-320ec182c351", + "name": "hydrate", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "28637755" + }, + "item": [ + { + "name": "7288/datasets", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "accept", + "value": "*/*" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "https://localhost:7288/datasets", + "protocol": "https", + "host": [ + "localhost" + ], + "port": "7288", + "path": [ + "datasets" + ] + } + }, + "response": [] + }, + { + "name": "save 7288/datasets", + "request": { + "method": "POST", + "header": [ + { + "key": "accept", + "value": "*/*" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"metadata\": {\r\n \"userId\": \"50\",\r\n \"riskLevel\": \"aggressive\",\r\n \"favoriteSubReddit\": \"finance\",\r\n \"favoriteAdvisor\": \"Jim Cramer\"\r\n },\r\n \"dataSetName\": \"intelligent-investor\"\r\n\r\n}" + }, + "url": { + "raw": "https://localhost:7288/datasets", + "protocol": "https", + "host": [ + "localhost" + ], + "port": "7288", + "path": [ + "datasets" + ] + } + }, + "response": [] + } + ] +} \ No newline at end of file