Difference between revisions of "ESProxy"
(→Test) |
(→List of Services) |
||
Line 82: | Line 82: | ||
|- | |- | ||
| Delete Hourly Job Details|| Delete Details of a hourly job|| http://192.168.180.93:9090/deleteHourlyJob | | Delete Hourly Job Details|| Delete Details of a hourly job|| http://192.168.180.93:9090/deleteHourlyJob | ||
+ | |} | ||
+ | |||
+ | |||
+ | '''Directory Services''' | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Service Name !! Description !! Service URL | ||
+ | |- | ||
+ | | Add Provider|| Add Provider Details|| http://192.168.180.93:9090/addProvider | ||
+ | |- | ||
+ | | Add Service|| Add Service Details|| http://192.168.180.93:9090/addService | ||
+ | |- | ||
+ | | Update Provider|| Update Provider details|| http://192.168.180.93:9090/updateProvider | ||
+ | |- | ||
+ | | Update service|| Update Service details|| http://192.168.180.93:9090/updateService | ||
+ | |- | ||
+ | | Get Provider Details|| Get Provider details|| http://192.168.180.93:9090/getProviderDetail | ||
+ | |- | ||
+ | | Get Service Details|| Get Service details|| http://192.168.180.93:9090/getServiceDetail | ||
+ | |- | ||
+ | | Delete Provider|| Delete a Provider|| http://192.168.180.93:9090/deleteProvider | ||
+ | |- | ||
+ | | Delete Service|| Delete a service|| http://192.168.180.93:9090/deleteService | ||
|} | |} |
Revision as of 13:14, 31 July 2015
Overview
This document provides details on Elastic search proxy services deployed on small data cluster. These services are used by PHPFox job board to provide jobs/resume matching for job seekers/employers
Test
ESProxy service test can be done by clicking on Greeting Test link. Greeting Test
We can use Google tool 'Advanced REST client' for all kind of ESPRoxy services test by adding as a Chrome extension into chrome browser.
Service Guidelines
- Make sure JSON pay load is valid. You can use external tools such as http://jsonformatter.curiousconcept.com/
- Make sure to send data as per the field. For example, don’t send strings in number fields such as salary or experience.
- Follow mm/dd/yyyy format for all dates
- If you don’t have value for a field, no need to include in JSON. Payload will be smaller
- When you construct JSON, make sure to use filed name as is. Its case sensitive. If you don’t use these names, we’ll create a new field assuming it’s a new attribute. So you must follow field names properly when constructing JSON
List of Services
ESProxy services are divided into following multiple categories.
- Data Services
- Freelancer Servcies
- Directory Servcies
- Search Services
- Recommendation Services
- Suggestion Services
Data Services
Service Name | Description | Service URL |
---|---|---|
Add Job | Add a job to elastic search index | http://192.168.180.93:9090/addJob |
Update Job | Update an existing job | http://192.168.180.93:9090/updateJob/uorrF_M-RxeByQBGsATx7Q |
Get Job Details | Get details on a specific job posting | http://192.168.180.93:9090/getJobDetail/lWDaBYCVQZid2DvCUuEkvQ |
Add Rating | Add ratings for a specific job posting. Used for collaborative filtering | http://192.168.180.93:9090/addRating |
Update Rating | Update an existing rating | http://192.168.180.93:9090/updateRating/gLl_eYo1Q6yT-I8odDliZg |
Get Rating Detail | Get details on a specific rating | http://192.168.180.93:9090/getRatingDetail/gLl_eYo1Q6yT-I8odDliZg |
Add Resume | Add Resume | http://192.168.180.93:9090/addResume |
Update Resume | Update existing resume | http://192.168.180.93:9090/updateResume/22VN4p3zSDyUEtcqfQpkQA |
Delete Job | Delete a job | http://192.168.180.93:9090/deleteJob |
Delete Resume | Delete Resume | http://192.168.180.93:9090/deleteResume |
Freelancer Services
Service Name | Description | Service URL |
---|---|---|
Add Profile | Add a freelancer/buyer profile | http://192.168.180.93:9090/addProfile |
Add Hourly | Add a hourly | http://192.168.180.93:9090/addHourly |
Add Hourly Job | Add a hourly job | http://192.168.180.93:9090/addHourlyJob |
Update Profile | Update Profile | http://192.168.180.93:9090/updateProfile |
Update Hourly | Update Hourly | http://192.168.180.93:9090/updateHourly |
Get Profile Details | Get details of a profile | http://192.168.180.93:9090/getProfileDetail |
Get Hourly Details | Get Details of a hourly | http://192.168.180.93:9090/getHourlyDetail |
Get Hourly Job Details | Get Details of a hourly job | http://192.168.180.93:9090/getHourlyJobDetail |
Delete Profile Details | Delete details of a profile | http://192.168.180.93:9090/deleteProfile |
Delete Hourly Details | Delete Details of a hourly | http://192.168.180.93:9090/deleteHourly |
Delete Hourly Job Details | Delete Details of a hourly job | http://192.168.180.93:9090/deleteHourlyJob |
Directory Services
Service Name | Description | Service URL |
---|---|---|
Add Provider | Add Provider Details | http://192.168.180.93:9090/addProvider |
Add Service | Add Service Details | http://192.168.180.93:9090/addService |
Update Provider | Update Provider details | http://192.168.180.93:9090/updateProvider |
Update service | Update Service details | http://192.168.180.93:9090/updateService |
Get Provider Details | Get Provider details | http://192.168.180.93:9090/getProviderDetail |
Get Service Details | Get Service details | http://192.168.180.93:9090/getServiceDetail |
Delete Provider | Delete a Provider | http://192.168.180.93:9090/deleteProvider |
Delete Service | Delete a service | http://192.168.180.93:9090/deleteService |