Skip to content

Commit cb34f28

Browse files
authored
Modify namespace from opendistro to opensearch (#12)
* Modify namespace from opendistro to opensearch Signed-off-by: Sruti Parthiban <[email protected]> * Update opendistro links to opensearch links Signed-off-by: Sruti Parthiban <[email protected]>
1 parent 8e4fc48 commit cb34f28

File tree

108 files changed

+711
-691
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+711
-691
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
/.idea/
33
/build/
44
*.iml
5-
licenses/performanceanalyzer-rca-1.3.jar.sha1s
5+
licenses/performanceanalyzer-rca-*
66
licenses/*.sha1

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ This code of conduct applies to all spaces provided by the OpenSource project in
2424

2525
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported. [Contact us](mailto:[email protected]). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances.
2626

27-
In the event of conflict, this **Code of Conduct** supercedes the original [Code of Conduct](https://opendistro.github.io/for-elasticsearch/codeofconduct.html) that this project had adopted.
27+
In the event of conflict, this **Code of Conduct** supercedes the original [Code of Conduct](https://opensearch.org/codeofconduct.html) that this project had adopted.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Looking at the existing issues is a great way to find something to contribute on
8888

8989
## Code of Conduct
9090

91-
This project has adopted an [Open Source Code of Conduct](https://opendistro.github.io/for-elasticsearch/codeofconduct.html).
91+
This project has adopted an [Open Source Code of Conduct](https://opensearch.org/codeofconduct.html).
9292

9393

9494
## Security issue notifications

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![Java CI](https://github.com/opensearch-project/performance-analyzer/workflows/Java%20CI/badge.svg)](https://github.com/opensearch-project/performance-analyzer/actions?query=workflow%3A%22Java+CI%22)
22
[![CD](https://github.com/opensearch-project/performance-analyzer/workflows/CD/badge.svg)](https://github.com/opensearch-project/performance-analyzer/actions?query=workflow%3ACD)
33
[![codecov](https://codecov.io/gh/opensearch-project/performance-analyzer/branch/master/graph/badge.svg)](https://codecov.io/gh/opensearch-project/performance-analyzer)
4-
[![Documentation](https://img.shields.io/badge/api-reference-blue.svg)](https://opendistro.github.io/for-elasticsearch-docs/docs/pa/)
4+
[![Documentation](https://img.shields.io/badge/api-reference-blue.svg)](https://docs-beta.opensearch.org/docs/pa/)
55
[![Chat](https://img.shields.io/badge/chat-on%20forums-blue)](https://discuss.opendistrocommunity.dev/c/performance-analyzer/)
66
![PRs welcome!](https://img.shields.io/badge/PRs-welcome!-success)
77

@@ -82,11 +82,11 @@ See the [design doc](https://github.com/opensearch-project/performance-analyzer-
8282

8383
## Documentation
8484

85-
Please refer to the [technical documentation](https://opendistro.github.io/for-elasticsearch-docs/) for detailed information on installing and configuring Performance Analyzer.
85+
Please refer to the [technical documentation](https://docs-beta.opensearch.org/) for detailed information on installing and configuring Performance Analyzer.
8686

8787
## Code of Conduct
8888

89-
This project has adopted an [Open Source Code of Conduct](https://opendistro.github.io/for-elasticsearch/codeofconduct.html).
89+
This project has adopted an [Open Source Code of Conduct](https://opensearch.org/codeofconduct.html).
9090

9191

9292
## Security issue notifications

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ loggerUsageCheck.enabled = false
117117
opensearchplugin {
118118
name 'opensearch-performance-analyzer'
119119
description 'OpenSearch Performance Analyzer Plugin'
120-
classname 'com.amazon.opendistro.opensearch.performanceanalyzer.PerformanceAnalyzerPlugin'
120+
classname 'org.opensearch.performanceanalyzer.PerformanceAnalyzerPlugin'
121121
}
122122

123123
sourceCompatibility = 1.8
@@ -178,7 +178,7 @@ jacocoTestReport {
178178
classDirectories.from = files(classDirectories.files.collect {
179179
fileTree(dir: it,
180180
include: [
181-
'**/com/amazon/opendistro/opensearch/performanceanalyzer/**',
181+
'**/org/opensearch/performanceanalyzer/**',
182182
],
183183
exclude: [
184184
'**/FaultDetectionMetricsCollector.class',
@@ -195,7 +195,7 @@ jacocoTestCoverageVerification {
195195
classDirectories.from = files(classDirectories.files.collect {
196196
fileTree(dir: it,
197197
include: [
198-
'**/com/amazon/opendistro/opensearch/performanceanalyzer/**',
198+
'**/org/opensearch/performanceanalyzer/**',
199199
],
200200
exclude: [
201201
])
@@ -485,7 +485,7 @@ afterEvaluate {
485485
url 'https://opendistro.github.io/for-elasticsearch/downloads.html'
486486
summary '''
487487
Performance Analyzer plugin for OpenSearch.
488-
Reference documentation can be found at https://opendistro.github.io/for-elasticsearch-docs/.
488+
Reference documentation can be found at https://docs-beta.opensearch.org/.
489489
'''.stripIndent().replace('\n', ' ').trim()
490490
}
491491

checkstyle/findbugs-exclude.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Bug pattern="DM_DEFAULT_ENCODING" />
44
</Match>
55
<Match>
6-
<Class name="com.amazon.opendistro.opensearch.performanceanalyzer.collectors.ThreadPoolMetricsCollector"/>
6+
<Class name="org.opensearch.performanceanalyzer.collectors.ThreadPoolMetricsCollector"/>
77
<Bug pattern="REC_CATCH_EXCEPTION"/>
88
</Match>
99
</FindBugsFilter>

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ systemProp.tests.pa.port=9600
2323
# Whether or not to use https for REST and transport clients
2424
systemProp.tests.https=false
2525

26-
# The username of the admin user (or any user able to auth requests against opendistro-security)
26+
# The username of the admin user (or any user able to auth requests against opensearch-security)
2727
# NOTE: this only does something if tests.https is set to true
2828
systemProp.tests.user=admin
2929
# The password of the user specified above

pa_bin/performance-analyzer-agent

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fi
2626
# Instead of the supervisor executing performance-analyzer-agent from the plugin location,
2727
# we should move this to the reader. The entry-point script should be executing
2828
# performance-analyzer-agent from the reader location.
29-
# We need to change this file: https://github.com/opendistro-for-elasticsearch/opendistro-build/blob/main/opensearch/docker/config/docker-entrypoint.sh
29+
# We need to change this file: https://github.com/opensearch-project/opensearch-build/blob/main/release/docker/config/opensearch/opensearch-docker-entrypoint.sh
3030

3131
if ! echo $* | grep -E '(^-d |-d$| -d |--daemonize$|--daemonize )' >/dev/null; then
3232
export JAVA_OPTS=-Des.path.home=$OPENSEARCH_HOME\ -Dlog4j.configurationFile=$OPENSEARCH_HOME/performance-analyzer-rca-1.3.0-SNAPSHOT/pa_config/log4j2.xml

packaging/performance-analyzer-agent-cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PA_AGENT_JAVA_OPTS="-Dlog4j.configurationFile=$OPENSEARCH_HOME/plugins/opensearc
44
-Xms64M -Xmx64M -XX:+UseSerialGC -XX:CICompilerCount=1 -XX:-TieredCompilation -XX:InitialCodeCacheSize=4096 \
55
-XX:InitialBootClassLoaderMetaspaceSize=30720 -XX:MaxRAM=400m"
66

7-
OPENSEARCH_MAIN_CLASS="com.amazon.opendistro.opensearch.performanceanalyzer.PerformanceAnalyzerApp" \
7+
OPENSEARCH_MAIN_CLASS="org.opensearch.performanceanalyzer.PerformanceAnalyzerApp" \
88
OPENSEARCH_ADDITIONAL_CLASSPATH_DIRECTORIES=performance-analyzer-rca/lib \
99
OPENSEARCH_JAVA_OPTS=$PA_AGENT_JAVA_OPTS \
1010
$OPENSEARCH_HOME/bin/opensearch-cli \

src/main/java/com/amazon/opendistro/opensearch/performanceanalyzer/OpenSearchResources.java renamed to src/main/java/org/opensearch/performanceanalyzer/OpenSearchResources.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* permissions and limitations under the License.
2525
*/
2626

27-
package com.amazon.opendistro.opensearch.performanceanalyzer;
27+
package org.opensearch.performanceanalyzer;
2828

2929

3030
import org.opensearch.client.Client;

0 commit comments

Comments
 (0)