File tree Expand file tree Collapse file tree 10 files changed +91
-0
lines changed
repository-azure/src/yamlRestTest/resources/rest-api-spec/test/repository_azure
repository-hdfs/src/test/resources
org/opensearch/repositories/hdfs
server/src/test/resources/org/opensearch
java/org/opensearch/transport/nio Expand file tree Collapse file tree 10 files changed +91
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * SPDX-License-Identifier: Apache-2.0
3
+ *
4
+ * The OpenSearch Contributors require contributions made to
5
+ * this file be licensed under the Apache-2.0 license or a
6
+ * compatible open source license.
7
+ */
8
+
9
+ grant {
10
+ permission java.net.NetPermission "accessUnixDomainSocket";
11
+ permission java.net.SocketPermission "*", "connect,resolve";
12
+ };
Original file line number Diff line number Diff line change
1
+ /*
2
+ * SPDX-License-Identifier: Apache-2.0
3
+ *
4
+ * The OpenSearch Contributors require contributions made to
5
+ * this file be licensed under the Apache-2.0 license or a
6
+ * compatible open source license.
7
+ */
8
+
9
+ grant {
10
+ permission java.net.NetPermission "accessUnixDomainSocket";
11
+ permission java.net.SocketPermission "*", "connect,resolve";
12
+ };
Original file line number Diff line number Diff line change
1
+ /*
2
+ * SPDX-License-Identifier: Apache-2.0
3
+ *
4
+ * The OpenSearch Contributors require contributions made to
5
+ * this file be licensed under the Apache-2.0 license or a
6
+ * compatible open source license.
7
+ */
8
+
9
+ grant {
10
+ permission java.net.NetPermission "accessUnixDomainSocket";
11
+ permission java.net.SocketPermission "*", "connect,resolve";
12
+ };
Original file line number Diff line number Diff line change
1
+ /*
2
+ * SPDX-License-Identifier: Apache-2.0
3
+ *
4
+ * The OpenSearch Contributors require contributions made to
5
+ * this file be licensed under the Apache-2.0 license or a
6
+ * compatible open source license.
7
+ */
8
+
9
+ grant {
10
+ permission java.net.NetPermission "accessUnixDomainSocket";
11
+ permission java.net.SocketPermission "*", "connect,resolve";
12
+ };
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ grant {
11
11
permission java.util.PropertyPermission "*", "read,write";
12
12
permission java.security.SecurityPermission "createPolicy.JavaPolicy";
13
13
permission java.net.NetPermission "accessUnixDomainSocket";
14
+ permission java.net.SocketPermission "*", "accept,connect";
14
15
};
15
16
16
17
grant codeBase "${codebase.framework}" {
Original file line number Diff line number Diff line change
1
+ /*
2
+ * SPDX-License-Identifier: Apache-2.0
3
+ *
4
+ * The OpenSearch Contributors require contributions made to
5
+ * this file be licensed under the Apache-2.0 license or a
6
+ * compatible open source license.
7
+ */
8
+
9
+ grant {
10
+ // allow to test Security policy and codebases
11
+ permission java.util.PropertyPermission "*", "read,write";
12
+ permission java.security.SecurityPermission "createPolicy.JavaPolicy";
13
+ permission java.net.NetPermission "accessUnixDomainSocket";
14
+ permission java.net.SocketPermission "*", "accept,connect";
15
+ };
Original file line number Diff line number Diff line change
1
+ /*
2
+ * SPDX-License-Identifier: Apache-2.0
3
+ *
4
+ * The OpenSearch Contributors require contributions made to
5
+ * this file be licensed under the Apache-2.0 license or a
6
+ * compatible open source license.
7
+ */
8
+
9
+ grant {
10
+ // allow to test Security policy and codebases
11
+ permission java.net.NetPermission "accessUnixDomainSocket";
12
+ permission java.net.SocketPermission "*", "accept,connect";
13
+ };
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ protected int channelsPerNodeConnection() {
97
97
return 3 ;
98
98
}
99
99
100
+ @ AwaitsFix (bugUrl = "https://github.com/opensearch-project/OpenSearch/pull/16731" )
100
101
public void testConnectException () throws UnknownHostException {
101
102
try {
102
103
serviceA .connectToNode (
Original file line number Diff line number Diff line change 8
8
9
9
grant codeBase "${codebase.opensearch-nio}" {
10
10
permission java.net.NetPermission "accessUnixDomainSocket";
11
+ permission java.net.SocketPermission "*", "connect,resolve";
11
12
};
12
13
13
14
grant {
14
15
permission java.net.NetPermission "accessUnixDomainSocket";
16
+ permission java.net.SocketPermission "*", "connect,resolve";
15
17
};
Original file line number Diff line number Diff line change
1
+ /*
2
+ * SPDX-License-Identifier: Apache-2.0
3
+ *
4
+ * The OpenSearch Contributors require contributions made to
5
+ * this file be licensed under the Apache-2.0 license or a
6
+ * compatible open source license.
7
+ */
8
+ grant {
9
+ permission java.net.NetPermission "accessUnixDomainSocket";
10
+ permission java.net.SocketPermission "*", "connect,resolve";
11
+ };
You can’t perform that action at this time.
0 commit comments