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

Adds security IT for new upload and load APIs #529

Merged
merged 1 commit into from
Nov 4, 2022

Conversation

Zhangxunmt
Copy link
Collaborator

Signed-off-by: Xun Zhang xunzh@amazon.com

Description

Adds more security IT test for upload and load APIs.

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --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.

@Zhangxunmt Zhangxunmt requested a review from a team November 4, 2022 02:06
Signed-off-by: Xun Zhang <xunzh@amazon.com>
loadModel(mlFullAccessNoIndexAccessClient, mlUploadInput, null);
}

public void testLoadModelWithFullAccess() throws IOException {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Also add test cases for new unload and profile APIs?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, let's add them in the next PR

@Zhangxunmt Zhangxunmt merged commit f0cf53f into opensearch-project:2.x Nov 4, 2022
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 4, 2022
Signed-off-by: Xun Zhang <xunzh@amazon.com>
(cherry picked from commit f0cf53f)
ylwu-amzn pushed a commit that referenced this pull request Nov 4, 2022
Signed-off-by: Xun Zhang <xunzh@amazon.com>
(cherry picked from commit f0cf53f)

Co-authored-by: Xun Zhang <xunzh@amazon.com>
@ylwu-amzn ylwu-amzn added the test label Nov 4, 2022
b4sjoo pushed a commit to b4sjoo/ml-commons that referenced this pull request Dec 2, 2022
Signed-off-by: Xun Zhang <xunzh@amazon.com>
Signed-off-by: Sicheng Song <sicheng.song@outlook.com>
b4sjoo added a commit that referenced this pull request Dec 2, 2022
Signed-off-by: Xun Zhang <xunzh@amazon.com>
Signed-off-by: Sicheng Song <sicheng.song@outlook.com>

Signed-off-by: Xun Zhang <xunzh@amazon.com>
Signed-off-by: Sicheng Song <sicheng.song@outlook.com>
Co-authored-by: Xun Zhang <xunzh@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants