Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
product-info-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Balasubrahmanyam Gudavalli
product-info-api
Commits
423649e6
Commit
423649e6
authored
Jun 16, 2023
by
Balasubrahmanyam Gudavalli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: Added postman script and input file
parent
ff36a44f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
96 additions
and
0 deletions
+96
-0
Product Info API.postman_collection.json
...esources/postman/Product Info API.postman_collection.json
+89
-0
products.csv
src/main/resources/postman/products.csv
+7
-0
No files found.
src/main/resources/postman/Product Info API.postman_collection.json
0 → 100644
View file @
423649e6
{
"info"
:
{
"_postman_id"
:
"b42414db-7bec-46fa-840f-6b3940a5391e"
,
"name"
:
"Product Info API"
,
"schema"
:
"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item"
:
[
{
"name"
:
"CreateProductData"
,
"request"
:
{
"method"
:
"POST"
,
"header"
:
[],
"body"
:
{
"mode"
:
"formdata"
,
"formdata"
:
[
{
"key"
:
"files"
,
"type"
:
"file"
,
"src"
:
"/D:/data/product.csv"
}
],
"options"
:
{
"raw"
:
{
"language"
:
"json"
}
}
},
"url"
:
{
"raw"
:
"http://localhost:8080/product/upload-data"
,
"protocol"
:
"http"
,
"host"
:
[
"localhost"
],
"port"
:
"8080"
,
"path"
:
[
"product"
,
"upload-data"
]
}
},
"response"
:
[]
},
{
"name"
:
"getProcessedProductData"
,
"protocolProfileBehavior"
:
{
"disableBodyPruning"
:
true
},
"request"
:
{
"method"
:
"GET"
,
"header"
:
[],
"body"
:
{
"mode"
:
"formdata"
,
"formdata"
:
[
{
"key"
:
"files"
,
"type"
:
"file"
,
"src"
:
"/D:/data/products.csv"
}
],
"options"
:
{
"raw"
:
{
"language"
:
"json"
}
}
},
"url"
:
{
"raw"
:
"http://localhost:8080/product/get/?batchId=145930354"
,
"protocol"
:
"http"
,
"host"
:
[
"localhost"
],
"port"
:
"8080"
,
"path"
:
[
"product"
,
"get"
,
""
],
"query"
:
[
{
"key"
:
"batchId"
,
"value"
:
"145930354"
}
]
}
},
"response"
:
[]
}
]
}
\ No newline at end of file
src/main/resources/postman/products.csv
0 → 100644
View file @
423649e6
id,name,description,price
01,Apple IPad, Apple Inc;Ipad category,40000.00
02,Apple Mac Book Pro,Apple Inc;Laptop Category,100000.00
03,Apple Smart watch,Apple Inc;Watch Category,20000.00
04,Samsung Galaxy M20,Samsung Inc;Mobiles Category,20000.00
05,Redme Pro Y54,Redme Inc;Mobiles Category,15000.00
06,Oppo S54,Oppo Corporation;Mobiles Category,20000.00
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment