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

Rest endpoint for Remote Server Logging #485

Merged
merged 3 commits into from
Sep 7, 2023

Conversation

Thumimku
Copy link
Contributor

@Thumimku Thumimku commented Sep 5, 2023

Purpose

Fixes wso2/product-is#16588

Prerequestie

@CLAassistant
Copy link

CLAassistant commented Sep 5, 2023

CLA assistant check
All committers have signed the CLA.

*/
public RemoteLoggingConfigService getRemoteLoggingConfigService() {

return ConfigsServiceHolder.getInstance().remoteLoggingConfigService;

Choose a reason for hiding this comment

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

shouldn't this be this.remoteLoggingConfigService ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think both are fine, but the suggestion is more appropriate.

*/
public void setRemoteLoggingConfigService(RemoteLoggingConfigService remoteLoggingConfigService) {

ConfigsServiceHolder.getInstance().remoteLoggingConfigService = remoteLoggingConfigService;

Choose a reason for hiding this comment

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

Suggested change
ConfigsServiceHolder.getInstance().remoteLoggingConfigService = remoteLoggingConfigService;
this.remoteLoggingConfigService = remoteLoggingConfigService;

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6095550388

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6095550388
Status: failure

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6098038878

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6098038878
Status: cancelled

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6104800783

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6104800783
Status: success

Copy link

@jenkins-is-staging jenkins-is-staging left a comment

Choose a reason for hiding this comment

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

Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/6104800783

@Thumimku Thumimku merged commit 7692ed2 into wso2:master Sep 7, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improvement] Adding REST API for Remote Logging
4 participants