Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return hostName in the esearch response #15574

Closed
wezell opened this issue Nov 20, 2018 · 3 comments

Comments

Projects
5 participants
@wezell
Copy link
Contributor

commented Nov 20, 2018

We need to include the hostName in the esSearch Response. Right now, we are only sending the hostId:
It is this endpoint:

http://localhost:8080/api/es/search

 {
         "template":"fdb3f906-e9c4-46c4-b7e4-148201271d04",
         "modDate":"2015-02-02 14:05:55.195",
         "cachettl":"15",
         "title":"Our Team",
         "httpsreq":"",
         "showOnMenu":"",
         "inode":"3a48a833-975a-4f0f-bc8c-1a22d8fd5cdc",
         "path":"\/about-us\/our-team\/index",
         "seokeywords":"",
         "host":"48190c8c-42c4-46af-8d1a-0cd5db894797",
         "lastReview":"2015-02-02 14:05:55.187",
         "stInode":"c541abb1-69b3-4bc5-8430-5e09e5239cc8",
         "owner":"dotcms.org.1",
         "identifier":"f9fc55e7-557a-4047-a8be-15e5ca69fa62",
         "nullProperties":"[]",
         "friendlyname":"Our Team",
         "redirecturl":"",
         "pagemetadata":"",
         "languageId":1,
         "url":"index",
         "seodescription":"",
         "folder":"ce49e1e7-4d0f-4af2-a87c-5e9c5562278c",
         "sortOrder":0,
         "modUser":"dotcms.org.1"
      },

@dsilvam dsilvam added this to the Rex Current milestone Nov 20, 2018

@dsilvam dsilvam modified the milestones: 11272018_REX, Rex Current Nov 27, 2018

wezell added a commit that referenced this issue Nov 28, 2018

wezell added a commit that referenced this issue Nov 28, 2018

wezell added a commit that referenced this issue Nov 28, 2018

jgambarios added a commit that referenced this issue Nov 28, 2018

adds hostname to contentletmap #15574 (#15611)
* adds hostname to contentletmap #15574

* added a normal content query to examples #15574
@jgambarios

This comment has been minimized.

Copy link
Contributor

commented Nov 28, 2018

PR: #15611

@dsilvam

This comment has been minimized.

Copy link
Contributor

commented Nov 30, 2018

Passed Internal QA: hostName is being returned in the resulting JSON

@bryanboza bryanboza added this to REX in QA Dec 11, 2018

@bryanboza

This comment has been minimized.

Copy link
Contributor

commented Dec 12, 2018

Fixed, now we have the hostName in the result

@bryanboza bryanboza moved this from REX to Done in QA Dec 12, 2018

@wezell wezell closed this Dec 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.