{"info":{"_postman_id":"8786c1eb-c7d7-4d49-8d4d-c081b3524cd6","name":"TourGuide","description":"<html><head></head><body><h2 id=\"title-enhance-your-application-with-microservice-system-msa\">Title: Enhance your application with Microservice System (MSA)</h2>\n<p><strong>TourGuide</strong> is a High availability &amp; Performance responsive cemented Pack of a <em>Spring Boot application</em> developed by <strong>TripMaster</strong>. It is fundamendally developed based on the <em>MSA (MicroService Architecture)</em> in amalgamation with <em>Docker</em> containers Service systems &amp; appropriate <em>Concurrency Multithreading</em> technique.</p>\n<p>The application provides the experience to users with the possibility of precisely exploring the nearby attractions based on their current visited location(s) for the touristic users.</p>\n<p>Moreover, accounting a pivotal value to the personal preferences &amp; interests of the users it delivers them suggestions pertaining to travel offers &amp; various relavent discounts on hotel stays, reductions on ticket fare on their possible optional vists, travels, shows &amp; many more with an aim to make their touristic visit a near to paradise experience.</p>\n<p>The <em><strong>main application</strong></em> <strong>TourGuide</strong> is the global consumer of the APIs produced and made available from 3 different distributed <em><strong>Microservices</strong></em> (<em><strong>Gps, Rewards &amp; TripDeals</strong></em>).</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"16200863","collectionId":"8786c1eb-c7d7-4d49-8d4d-c081b3524cd6","publishedId":"UVR5sV8W","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-12-13T18:45:49.000Z"},"item":[{"name":"TourGuide","item":[{"name":"GET getLocation","id":"1d2c5902-5bff-49bf-ac65-1640de32b097","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:9090/getLocation?userName=internalUser1","description":"<p><em>Above URL request helps to retrieve the location of a specified user.</em></p>\n","urlObject":{"protocol":"http","port":"9090","path":["getLocation"],"host":["localhost"],"query":[{"key":"userName","value":"internalUser1"}],"variable":[]}},"response":[],"_postman_id":"1d2c5902-5bff-49bf-ac65-1640de32b097"},{"name":"GET AllCurrentLocations","id":"ef619d7c-2798-4761-a8d9-393ba31bc80a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:9090/getAllCurrentLocations","description":"<p><em>Above URL request helps to retrieve present current locations of all the users in real-time.</em></p>\n","urlObject":{"protocol":"http","port":"9090","path":["getAllCurrentLocations"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef619d7c-2798-4761-a8d9-393ba31bc80a"},{"name":"GET getNearbyAttractions","id":"07a80ded-3052-49fb-bb37-97e101994d5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:9090/getNearbyAttractions?userName=internalUser1","description":"<p><em>Above URL request helps to retrieve the five closest attractions based on the current location of a specified user. The information is delivered on consuming API responses of external Gps MicroService.</em></p>\n","urlObject":{"protocol":"http","port":"9090","path":["getNearbyAttractions"],"host":["localhost"],"query":[{"key":"userName","value":"internalUser1"}],"variable":[]}},"response":[],"_postman_id":"07a80ded-3052-49fb-bb37-97e101994d5d"},{"name":"GET getRewards","id":"159ba38a-b3d1-4513-a5e1-be07afe843f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:9090/getRewards?userName=internalUser1","description":"<p><em>Above URL request helps to retrieve the cumulative reward points of the list of rewards offered to a a specified user based on his current visisted location. The information is obtained on consuming API responses of external Rewards MicroService.</em></p>\n","urlObject":{"protocol":"http","port":"9090","path":["getRewards"],"host":["localhost"],"query":[{"key":"userName","value":"internalUser1"}],"variable":[]}},"response":[],"_postman_id":"159ba38a-b3d1-4513-a5e1-be07afe843f2"},{"name":"GET - getTripDeals","id":"a996c00a-0b5e-4621-8c5b-d8430c1b67de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:9090/getTripDeals?userName=internalUser1","description":"<p><em>Above URL request helps to retrieve the offers available for the specific user based on his current location &amp; preferences pertaining to his tripDeals. The information is obtained on consuming API responses of external TripDeals MicroService.</em></p>\n","urlObject":{"protocol":"http","port":"9090","path":["getTripDeals"],"host":["localhost"],"query":[{"key":"userName","value":"internalUser1"}],"variable":[]}},"response":[],"_postman_id":"a996c00a-0b5e-4621-8c5b-d8430c1b67de"},{"name":"GET - getUser","id":"89be426a-1760-4600-a0ea-a747e380e2ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"http://localhost:9090/getUser?userName=internalUser1","description":"<p><em>Above URL request helps to retrieve the user profile details of a specific user.</em></p>\n","urlObject":{"protocol":"http","port":"9090","path":["getUser"],"host":["localhost"],"query":[{"key":"userName","value":"internalUser1"}],"variable":[]}},"response":[],"_postman_id":"89be426a-1760-4600-a0ea-a747e380e2ab"},{"name":"PUT  updateUserPreferences Copy","id":"3d9266f5-e344-4129-9f06-1fffd1f57ac3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"newname\",\r\n    \"currency\": \"EUR\",\r\n    \"attractionProximity\": 9999,\r\n    \"lowerPricePoint\":9999,\r\n    \"highPricePoint\": 9999,\r\n    \"tripDuration\": 9999,\r\n    \"ticketQuantity\": 9999,\r\n    \"numberOfAdults\": 9999,\r\n    \"numberOfChildren\": 9999\r\n}"},"url":"http://localhost:9090/updateUserPreferences?userName=internalUser11","description":"<p><em>Above URL request helps to update the preferences of a specific user.</em></p>\n","urlObject":{"protocol":"http","port":"9090","path":["updateUserPreferences"],"host":["localhost"],"query":[{"key":"userName","value":"internalUser11"}],"variable":[]}},"response":[],"_postman_id":"3d9266f5-e344-4129-9f06-1fffd1f57ac3"}],"id":"b20cb13a-a0db-45ab-a7fa-0f6414f46382","_postman_id":"b20cb13a-a0db-45ab-a7fa-0f6414f46382","description":""},{"name":"GpsMicroService","item":[{"name":"la gps user location","id":"233ba6ef-db7a-448e-b08b-bc280a720e45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:9091/gps/userLocation/4b69b4d7-a783-49b3-9819-fee155c3e18c","description":"<p><em>Above URL request helps to retrieve the location of a specified user by the GpsMicroService and supply it through API endpoints which will be later consumed by main application TourGuide.</em></p>\n","urlObject":{"protocol":"http","port":"9091","path":["gps","userLocation","4b69b4d7-a783-49b3-9819-fee155c3e18c"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"233ba6ef-db7a-448e-b08b-bc280a720e45"},{"name":"la gps attractions","id":"e8ee80bd-0736-40ac-aeca-ef159a5913ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:9091/gps/attractions","description":"<p><em>Above URL request helps to retrieve the location of the attraction pertaining to the specified user by the GpsMicroService and supply it through API endpoints which will be later consumed by main application TourGuide.</em></p>\n","urlObject":{"protocol":"http","port":"9091","path":["gps","attractions"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"e8ee80bd-0736-40ac-aeca-ef159a5913ff"}],"id":"6f6d226f-bc83-4420-85ad-41d1e139846b","description":"<h1 id=\"gpsmicroservice\">GpsMicroservice</h1>\n<p>The <strong>GpsMicroservice</strong> <em>application</em> of <em><strong>TourGuide</strong></em> is the global consumer of thesupplier the information on the localization of the location &amp; the attraction of the users through <em>APIs</em> endpoints which are later consumed by the main application <em><strong>TourGuide</strong></em> subsequently.</p>\n","_postman_id":"6f6d226f-bc83-4420-85ad-41d1e139846b"},{"name":"RewardsMicroService","item":[{"name":"la rewards Points","id":"4f9a9f4e-4ac9-453c-a2a9-e508fae0b9bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:9092/rewards/points/39fcd2f0-bc11-4f2a-8b90-f9123f01ec74/4b69b4d7-a783-49b3-9819-fee155c3e18c","description":"<p><em>Above URL request helps to retrieve the reward points of a specified user and corresponding attraction by the GpsMicroService and supply it through API endpoints which will be later consumed by main application TourGuide.</em></p>\n","urlObject":{"protocol":"http","port":"9092","path":["rewards","points","39fcd2f0-bc11-4f2a-8b90-f9123f01ec74","4b69b4d7-a783-49b3-9819-fee155c3e18c"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f9a9f4e-4ac9-453c-a2a9-e508fae0b9bd"}],"id":"943f7a27-3ba3-42b8-a29d-86ed3fd917fb","description":"<p>RewardsMicroservice</p>\n<h1 id=\"rewardsmicroservice\">RewardsMicroService</h1>\n<p>The <strong>RewardsMicroservice</strong> <em>application</em> of <em><strong>TourGuide</strong></em><br />is the the supplier the information on the reward points of the<br />specific user and related attraction of the user. The returned<br />information from the <em>APIs</em> endpoints which are later consumed by the main application <em><strong>TourGuide</strong></em> subsequently.</p>\n","_postman_id":"943f7a27-3ba3-42b8-a29d-86ed3fd917fb"},{"name":"TripDealsMicroService","item":[{"name":"getProviders","id":"d093c364-6500-4d0a-94da-3b71718dc0b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:9093/tripDeals/providers/test-server-api-key/4b69b4d7-a783-49b3-9819-fee155c3e18c/1/1/2/1000","description":"<p><em>Above URL request helps to retrieve the providers information corresponding to a user and later supply it through API endpoints which will be later consumed by main application TourGuide.</em></p>\n","urlObject":{"protocol":"http","port":"9093","path":["tripDeals","providers","test-server-api-key","4b69b4d7-a783-49b3-9819-fee155c3e18c","1","1","2","1000"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d093c364-6500-4d0a-94da-3b71718dc0b1"}],"id":"ff9e13c4-7627-4943-9102-54283a1d11ef","description":"<h1 id=\"tripdeals-microservice\">TripDeals Microservice</h1>\n<p>The <strong>TripDealsMicroservice</strong> <em>application</em> of <em><strong>TourGuide</strong></em><br />is the the supplier the information on the trip deals offered to the<br />specific user based on the related providers available corresponding to<br />the current visited user location and his preferences. The returned<br />information from these<em>APIs</em> endpoints which are later consumed by the main application <em><strong>TourGuide</strong></em> subsequently.</p>\n","_postman_id":"ff9e13c4-7627-4943-9102-54283a1d11ef"}]}