-
Notifications
You must be signed in to change notification settings - Fork 860
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
[RENAME] Refactored Src/core/server/http,http_resources,legacy #89
[RENAME] Refactored Src/core/server/http,http_resources,legacy #89
Conversation
Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>
Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>
Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some references of kibana still but that should be an easy fix and one mocked import that I think should be reverted.
@@ -46,8 +46,8 @@ interface RequestFixtureOptions<P = any, Q = any, B = any> { | |||
method?: RouteMethod; | |||
socket?: Socket; | |||
routeTags?: string[]; | |||
kibanaRouteOptions?: KibanaRouteOptions; | |||
kibanaRequestState?: KibanaRequestState; | |||
kibanaRouteOptions?: OpenSearchDashboardsRouteOptions; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kibana
kibanaRouteOptions?: KibanaRouteOptions; | ||
kibanaRequestState?: KibanaRequestState; | ||
kibanaRouteOptions?: OpenSearchDashboardsRouteOptions; | ||
kibanaRequestState?: OpenSearchDashboardsRequestState; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kibana
src/core/server/http/http_server.ts
Outdated
@@ -178,7 +178,7 @@ export class HttpServer { | |||
const { authRequired, tags, body = {}, timeout } = route.options; | |||
const { accepts: allow, maxBytes, output, parse } = body; | |||
|
|||
const kibanaRouteOptions: KibanaRouteOptions = { | |||
const kibanaRouteOptions: OpenSearchDashboardsRouteOptions = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kibana
src/core/server/http/index.ts
Outdated
@@ -45,7 +45,7 @@ export { | |||
ResponseErrorAttributes, | |||
ResponseHeaders, | |||
kibanaResponseFactory, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was this originally a typo from the author? can it be removed?
src/core/server/http/integration_tests/core_service.test.mocks.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to fix all headers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks~
* [Rename] Refactored src/plugins/http directory Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com> * [Rename] Refactored src/plugins/http_resources directory Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com> * [Rename] Refactored src/plugins/legacy directory Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com> * [Rename] addressed review feedbacks http directory * [Rename] addressed review feedbacks http_resoruce and legacy * [Rename] addressed review feedbacks
* [Rename] Refactored src/plugins/http directory Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com> * [Rename] Refactored src/plugins/http_resources directory Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com> * [Rename] Refactored src/plugins/legacy directory Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com> * [Rename] addressed review feedbacks http directory * [Rename] addressed review feedbacks http_resoruce and legacy * [Rename] addressed review feedbacks
* [Rename] Refactored src/plugins/http directory Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com> * [Rename] Refactored src/plugins/http_resources directory Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com> * [Rename] Refactored src/plugins/legacy directory Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com> * [Rename] addressed review feedbacks http directory * [Rename] addressed review feedbacks http_resoruce and legacy * [Rename] addressed review feedbacks
opensearch-project#89) * only navigate to home page when delete and exit workspace successfully Signed-off-by: yuye-aws <yuyezhu@amazon.com> * unsubscribe workspaceEnabled when workspace service stop Signed-off-by: yuye-aws <yuyezhu@amazon.com> * only hide delete modal when delete workspace successfully Signed-off-by: yuye-aws <yuyezhu@amazon.com> --------- Signed-off-by: yuye-aws <yuyezhu@amazon.com>
opensearch-project#89) * only navigate to home page when delete and exit workspace successfully Signed-off-by: yuye-aws <yuyezhu@amazon.com> * unsubscribe workspaceEnabled when workspace service stop Signed-off-by: yuye-aws <yuyezhu@amazon.com> * only hide delete modal when delete workspace successfully Signed-off-by: yuye-aws <yuyezhu@amazon.com> --------- Signed-off-by: yuye-aws <yuyezhu@amazon.com>
opensearch-project#89) * only navigate to home page when delete and exit workspace successfully Signed-off-by: yuye-aws <yuyezhu@amazon.com> * unsubscribe workspaceEnabled when workspace service stop Signed-off-by: yuye-aws <yuyezhu@amazon.com> * only hide delete modal when delete workspace successfully Signed-off-by: yuye-aws <yuyezhu@amazon.com> --------- Signed-off-by: yuye-aws <yuyezhu@amazon.com>
Issue #, if available:
Description of changes: Refactored Src/core/server/http,http_resources,legacy
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.