-
Notifications
You must be signed in to change notification settings - Fork 149
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
[Enhancement] Enhance validation for create connector API #3579
base: main
Are you sure you want to change the base?
[Enhancement] Enhance validation for create connector API #3579
Conversation
common/src/main/java/org/opensearch/ml/common/connector/ConnectorAction.java
Outdated
Show resolved
Hide resolved
common/src/main/java/org/opensearch/ml/common/connector/ConnectorAction.java
Outdated
Show resolved
Hide resolved
common/src/main/java/org/opensearch/ml/common/connector/ConnectorAction.java
Show resolved
Hide resolved
common/src/main/java/org/opensearch/ml/common/connector/HttpConnector.java
Show resolved
Hide resolved
Can anyone trigger the failed test suite once more, failure doesn't have any relation with changes. |
@zane-neo Can you please look in o these two failures, my changes around prepostProcessFunctions:
I am not able to reproduce and debug these failures locally because of below dependencies: The AWS credentials are not set. Skipping test.COHERE_KEY is null, skipping the test! |
Please rebase the latest code on main branch, this has been fixed. |
linux (23) - Known flaky org.opensearch.ml.rest.RestMLRemoteInferenceIT.testPredictWithAutoDeployAndTTL_RemoteModel #3544 linux (21) - There are no real failures Windows (21) - org.opensearch.ml.rest.RestMLRAGSearchProcessorIT.testBM25WithBedrockConverse - not related the code changes |
Hi Maintainers, Please help to move forward this task. |
Hi @akolarkunnu, let me review this PR and test out some of the changes. In the meanwhile, the maintainers can help re-trigger the CI and we can check if it goes through? Thanks for the fix and sharing the test details! |
...ithms/src/test/java/org/opensearch/ml/engine/algorithms/remote/AwsConnectorExecutorTest.java
Show resolved
Hide resolved
common/src/main/java/org/opensearch/ml/common/connector/ConnectorAction.java
Outdated
Show resolved
Hide resolved
common/src/main/java/org/opensearch/ml/common/connector/ConnectorAction.java
Outdated
Show resolved
Hide resolved
common/src/main/java/org/opensearch/ml/common/connector/ConnectorAction.java
Outdated
Show resolved
Hide resolved
This change will address the second part of validation "pre and post processing function validation". Partially resolves opensearch-project#2993 Signed-off-by: Abdul Muneer Kolarkunnu <[email protected]>
Please approve for CI - "Waiting for review: ml-commons-cicd-env-require-approval needs approval to start deploying changes." |
Hi Maintainers, @pyek-bot Please approve to run CI. |
common/src/main/java/org/opensearch/ml/common/connector/ConnectorAction.java
Show resolved
Hide resolved
common/src/main/java/org/opensearch/ml/common/connector/ConnectorAction.java
Show resolved
Hide resolved
common/src/main/java/org/opensearch/ml/common/connector/ConnectorAction.java
Show resolved
Hide resolved
common/src/main/java/org/opensearch/ml/common/connector/ConnectorAction.java
Outdated
Show resolved
Hide resolved
common/src/test/java/org/opensearch/ml/common/connector/ConnectorActionTest.java
Outdated
Show resolved
Hide resolved
This change will address the second part of validation "pre and post processing function validation". Partially resolves opensearch-project#2993 Signed-off-by: Abdul Muneer Kolarkunnu <[email protected]>
Description
This change will address the second part of validation "pre and post processing function validation".
Moved the method getRemoteServerFromURL() from ConnectorUtils.java to ConnectorAction.java, to avoid the cyclic dependency
Related Issues
Partially resolves #2993
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.