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

[RENAME] Refactored Src/core/server/http,http_resources,legacy #89

Merged
merged 6 commits into from
Mar 12, 2021
Merged

[RENAME] Refactored Src/core/server/http,http_resources,legacy #89

merged 6 commits into from
Mar 12, 2021

Conversation

mihirsoni
Copy link
Contributor

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.

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>
Copy link
Member

@kavilla kavilla left a 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;
Copy link
Member

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;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kibana

@@ -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 = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kibana

@@ -45,7 +45,7 @@ export {
ResponseErrorAttributes,
ResponseHeaders,
kibanaResponseFactory,
Copy link
Member

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/router/request.test.ts Outdated Show resolved Hide resolved
src/core/server/http/router/request.test.ts Outdated Show resolved Hide resolved
src/core/server/http/router/response_adapter.ts Outdated Show resolved Hide resolved
src/core/server/http/router/router.ts Outdated Show resolved Hide resolved
src/core/server/http/router/router.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@boktorbb boktorbb left a 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

src/core/server/http/auth_headers_storage.test.ts Outdated Show resolved Hide resolved
src/core/server/http/auth_headers_storage.test.ts Outdated Show resolved Hide resolved
src/core/server/http/auth_headers_storage.ts Outdated Show resolved Hide resolved
src/core/server/http/auth_headers_storage.ts Outdated Show resolved Hide resolved
src/core/server/http/auth_state_storage.ts Outdated Show resolved Hide resolved
src/core/server/http/auth_state_storage.ts Outdated Show resolved Hide resolved
src/core/server/http/base_path_proxy_server.ts Outdated Show resolved Hide resolved
src/core/server/http/base_path_proxy_server.ts Outdated Show resolved Hide resolved
src/core/server/http/base_path_service.test.ts Outdated Show resolved Hide resolved
src/core/server/http/base_path_service.test.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@boktorbb boktorbb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kavilla kavilla self-requested a review March 12, 2021 19:21
Copy link
Member

@kavilla kavilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks~

@kavilla kavilla merged commit 5956da0 into opensearch-project:dashboards Mar 12, 2021
kavilla referenced this pull request in kavilla/OpenSearch-Dashboards Mar 19, 2021
* [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
kavilla pushed a commit that referenced this pull request Mar 20, 2021
* [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
mihirsoni added a commit that referenced this pull request Mar 20, 2021
* [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
Hailong-am pushed a commit to Hailong-am/OpenSearch-Dashboards that referenced this pull request Aug 17, 2023
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>
SuZhou-Joe pushed a commit to SuZhou-Joe/OpenSearch-Dashboards that referenced this pull request Sep 14, 2023
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>
Hailong-am pushed a commit to Hailong-am/OpenSearch-Dashboards that referenced this pull request Sep 15, 2023
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants