Commit Graph

54849 Commits

Author SHA1 Message Date
Nick Knize 7788250e9e [Rename] ElasticsearchTimeoutException class in server module (#173)
This commit refactors the ElasticsearchTimeoutException class in the server
module to OpenSearchTimeoutException. References and usages throught the rest of
the codebase are fully refactored.

Signed-off-by: Nicholas Knize <nknize@amazon.com>
2021-03-21 20:56:34 -05:00
Nick Knize 64d7e7e9ca [Rename] ElasticsearchStatusException in server module (#172)
This commit refactors the ElasticsearchStatusException in the server module to
OpenSearchStatusException. References and usages throughout the rest of the
codebase are fully refactored.

Signed-off-by: Nicholas Knize <nknize@amazon.com>
2021-03-21 20:56:34 -05:00
Nick Knize 1015c8e609 [Rename] ElasticsearchSecurityException class in server module (#170)
This commit refactors ElasticsearchSecurityException class in the server module
to OpenSearchSecurityException. References and usages throughout the rest of the
codebase are fully refactored.

Signed-off-by: Nicholas Knize <nknize@amazon.com>
2021-03-21 20:56:34 -05:00
Nick Knize ff9fd6c91f [Rename] ElasticsearchGenerationException class in server module (#168)
This commit refactors ElasticsearchGenerationException class in the server
module to OpenSearchGenerationException. References and usages throughout the
rest of the codebase are fully refactored.

Signed-off-by: Nicholas Knize <nknize@amazon.com>
2021-03-21 20:56:34 -05:00
Abbas Hussain 89e67c1646 [Rename] server/src/test/java/org/apache (#187)
This commit refactors all instances of elasticsearch in server/src/test/java/org/apache to opensearch.

Signed-off-by: Abbas Hussain <abbas_10690@yahoo.com>
2021-03-21 20:56:34 -05:00
Nick Knize 27bd8cf5cc [Rename] ElasticsearchCorruptionException class in server module (#167)
This commit refactors the ElasticsearchCorruptionException in the server module
to OpenSearchCorruptionException. References and usages throughtout the rest of
the codebase are fully refactored.

Signed-off-by: Nicholas Knize <nknize@amazon.com>
2021-03-21 20:56:34 -05:00
Nick Knize e8b5a411a5 [Rename] ElasticsearchClient class in server module (#166)
This commit refactors the ElasticsearchClient class located in the server module to
OpenSearchClient. References and usages throughout the rest of the codebase are
fully refactored.

Signed-off-by: Nicholas Knize <nknize@amazon.com>
2021-03-21 20:56:34 -05:00
Nick Knize ccceb381db [Rename] ElasticsearchException class in server module (#165)
This commit refactors the ElasticsearchException class located in the server module
to OpenSearchException. References and usages throughout the rest of the
codebase are fully refactored.

Signed-off-by: Nicholas Knize <nknize@amazon.com>
2021-03-21 20:56:34 -05:00
Nick Knize 5427b38af3 [Rename] server/src/main/java/org/apache (#164)
This commit refactors all instances of elasticsearch in
server/src/main/java/org/apache to opensearch.

Signed-off-by: Nicholas Knize <nknize@amazon.com>
2021-03-21 20:56:34 -05:00
Rabi Panda 3717907cd6 [Rename] benchmarks (#163)
Rename Elasticsearch to OpenSearch in the benchmarks module.

Signed-off-by: Rabi Panda <adnapibar@gmail.com>
2021-03-21 20:56:34 -05:00
Rabi Panda e64a83869d Rename .idea (#161)
* Rename Elasticsearch to OpenSearch in the .idea directory.

Signed-off-by: Rabi Panda <adnapibar@gmail.com>

* Fix newline at the EOF.

Signed-off-by: Rabi Panda <adnapibar@gmail.com>
2021-03-21 20:56:34 -05:00
Himanshu Setia 672ee443ec
Adding missing link to forum in README (#426)
Signed-off-by: Himanshu Setia <setiah@amazon.com>
2021-03-19 18:48:45 -07:00
Himanshu Setia 64caa368d6
Fixes process bootstrap failure in IntegTests (#425)
Signed-off-by: Himanshu Setia <setiah@amazon.com>
2021-03-19 18:25:10 -07:00
Tianli Feng 672d975f43
Remove tagline from sever and RHLC (#427)
Signed-off-by: Tianli Feng <ftianli@amazon.com>
2021-03-19 18:17:10 -07:00
Kyle J. Davis a7776b7546
TESTING.asciidoc udpate (#390)
* updated TESTING to reflect new project

Signed-off-by: Kyle Davis <kyledvs@amazon.com>

* fixing unresolved issue based on feedback

Signed-off-by: Kyle Davis <kyledvs@amazon.com>

* fixed remaining  ES and default- references

Signed-off-by: Kyle Davis <kyledvs@amazon.com>

* made references to clients less specific

Signed-off-by: Kyle Davis <kyledvs@amazon.com>
2021-03-19 16:47:35 -07:00
CEHENKLE f1f6e7109f
adding two files back in that were lost in the shuffle (#415)
Signed-off-by: CEHENKLE <henkle@amazon.com>
2021-03-19 09:22:10 -05:00
CEHENKLE 9c99e05e73 fixing encoding on pull_request_template.md
Signed-off-by: CEHENKLE <henkle@amazon.com>
2021-03-17 22:04:17 -07:00
CEHENKLE 8924c06f8d fixing encoding on feature_request.md
Signed-off-by: CEHENKLE <henkle@amazon.com>
2021-03-17 22:00:55 -07:00
CEHENKLE 511480e980 fixing encoding
Signed-off-by: CEHENKLE <henkle@amazon.com>
2021-03-17 21:56:43 -07:00
CEHENKLE 1fbb77529b fixing format
Signed-off-by: CEHENKLE <henkle@amazon.com>
2021-03-17 21:48:19 -07:00
CEHENKLE bacc7899a2
Document updates (#323)
author Charlotte Henkle <henkle@amazon.com> 1615871106 -0700
committer CEHENKLE <henkle@amazon.com> 1615953574 -0700
gpgsig -----BEGIN PGP SIGNATURE-----

 iQGzBAABCAAdFiEEX/CuQ5xIOk0pNjkiruIgsODnx1gFAmBRfqYACgkQruIgsODn
 x1hV6gv/aXar3NmXw4X3uks7eWWobgtuH9vUAIDjurGcBl3PfSQus9hwmnsmfMcc
 LiJY2cU1D1vbqrNnHKqC2aRlA1SXj3xEMPdeMyhPX0Dl01urijvXAW5mAte7Tn+F
 /kK4kcSan552EqPoKnzBUfE3Zia7rriOGF60qGMlZbq2bbQQ2/SfT5WsQrJI2D5k
 IXm062UR6q5pvZfHy1HB/sIFAETv1/knJHyMWv/vH5wmwQvRvue5d30aNK/K60Kz
 G4ALXlehj/Nfv5t16SAB+x65Y9lJ1cBJT98PbT8SCa1ZILjbWFJDwKvFqFQ4kkCD
 QbfzHp3ez4vUrEt9L+p6RmYxxn96VQj1n+2tRlC64sVBvS3qhize85NCBoCSUtRC
 dGyW/fxeILJtgXNfi49WA4UPQ6LaRSnlvAFXogaFeBLYqReLVL6R/HTNvtqDZ4S8
 ZSMs18cFpNq0Lgv2By5Ub0/FBKWQDqe4ydHNK9cdjAEE1wVTTQ2H3X87XPiILrAP
 l4B1Swwr
 =a0jN
 -----END PGP SIGNATURE-----

Adding new templates for bugs, issues and PRs.  Adding new README.  Adding CONTRIBUTING.md and DEVELOPER_GUIDE.md

Signed-off-by: CEHENKLE <henkle@amazon.com>
2021-03-16 23:12:19 -07:00
Kyle J. Davis b0f137e954
fixed reference to old repo (#333)
This commit fixes the url reference to bwc disabled message.

Signed-off-by: Kyle Davis <kyledvs@amazon.com>
2021-03-16 16:10:40 -05:00
Nick Knize 807d0e3ba0 Update NOTICE.TXT with OpenSearch copyright (#232)
This commit updates the NOTICE.txt file to include the OpenSearch copyright
notice.

Signed-off-by: Nicholas Knize <nknize@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:16 -06:00
CEHENKLE fb1fa31b65 Update LICENSE.txt (#227)
updating to Apache 2.0 License from https://www.apache.org/licenses/LICENSE-2.0.txt

Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:16 -06:00
Sarat Vemulapalli eff46fb930 Fixing transport deserialization with oss distribution (#218)
Signed-off-by: Sarat Vemulapalli <vemsarat@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:16 -06:00
Peter Zhu 7f983a95a6 Update .gitignore
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:16 -06:00
Barani bdd5f2a5e5 Dummy commit to test the CI/CD workflow
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:16 -06:00
CEHENKLE adccfa8d63 Update CODE_OF_CONDUCT.md
replaced renameme

Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:16 -06:00
Nicholas Knize abf5850485 Revert "[Rename] server/src/main/java/org/apache (#162)"
This reverts commit c50e8c83a2476ca4ca2f1dd05fa5a608bc0e9ef6
which went should have merged to the rename branch instead of
the main branch.

Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:15 -06:00
Nick Knize 4c709c21f4 [Rename] server/src/main/java/org/apache (#162)
This commit refactors all instances of elasticsearch in
server/src/main/java/org/apache to opensearch.

Signed-off-by: Nicholas Knize <nknize@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:15 -06:00
Peter Nied 9070dded11 Add script to perform signoff check between commits (#152)
* Add script to perform signoff check between commits

Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:15 -06:00
CEHENKLE 07153da534 Create CODE_OF_CONDUCT.md (#124)
Explicitly adding code of conduct from https://opendistro.github.io/for-elasticsearch/codeofconduct.html

Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:15 -06:00
Rabi Panda a76aaeec93 Disable BWC checks. (#130)
As part of this PR, we are disabling the BWC checks. Once we have finalized the versions for the fork, we can re-enable it with right configurations.

Relates #105

Signed-off-by: Rabi Panda <pandarab@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:15 -06:00
Peter Nied a54348b678 Update CI workflow to work on new infra (#123)
* Update CI workflow to work on new infra

- Backward compatability tests are disabled during CI by default #113
- Added property to allow for disabling bwc tests
- Added agent label to use specific hardware https://www.jenkins.io/doc/book/pipeline/syntax/#agent

Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:15 -06:00
Harold Wang 4ff54fdac8 Update signoff message (#121)
Signed-off-by: Harold Wang <harowang@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:15 -06:00
Harold Wang 62c14bbde0 Remove x-pact from RESI API username and password (#117)
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:15 -06:00
Nick Knize 83e87f7e54 Remove any non oss from build, package, and distribution (#102)
This commit changes the building, packaging, and testing framework to only support OSS on different distributions.

Next steps:

completely remove -oss flag dependencies in package and build tests
move 6.x bwc testing to be an explicit option
remove any references to elastic.co download site (or replace with downloads from the OSS website)

Co-authored-by: Himanshu Setia <setiah@amazon.com>
Co-authored-by: Rabi Panda <pandarab@amazon.com>
Co-authored-by: Himanshu Setia <58999915+setiah@users.noreply.github.com>
Co-authored-by: Sarat Vemulapalli <vemsarat@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:14 -06:00
Peter Nied 5544bc6caa Support for continious integration with Jenkins (#96)
Adding jenkinsfile to describe the build / test / deployment process for this repository

Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:14 -06:00
Rabi Panda afd91d76f9 Disable plugincli feature (#101)
Plugins CLI - disable installing official plugins by name.

Currently the plugin cli allows installation of a plugin by name in which case it downloads the plugin artifacts from the official elastic artifacts repository.

We will enable it once we have the new official artifacts download URL (Tracking Issue: #100)

Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:14 -06:00
Rabi Panda a048a9d48a Temporary fix for license check path for debian packaging. (#97)
This currently unblocks the gradle check and subsequently will be removed by the meta issue https://github.com/opendistro-for-elasticsearch/search/issues/50

Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:14 -06:00
Sarat Vemulapalli 97ed035c1c Fixing Bwc checks for 7.10.3 (#93)
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:14 -06:00
Rabi Panda 55c50a6bb3 Only run pre-commit checks in GitHub actions. (#94)
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:14 -06:00
Abbas Hussain 5f1c8c87b1 Removing FreezeIndex related code since its x-pack counterpart is removed (#85)
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:14 -06:00
Rabi Panda 3b1f107d62 Run precommit and unit tests as part of github actions. (#84)
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:14 -06:00
Nick Knize b360d4fb61 [TEST] Fix Feature Flags in Test Framework and SortTemplates yaml failure (#82)
This commit adds parse logic to correctly parse feature flags in the test framework. It also fixes a test failure in cat.templates/Sort Templates yaml test.

Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:13 -06:00
Tianli Feng fc3922aee4 Remove unused imports after x-pack feature flag removed from yaml test (#81)
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:13 -06:00
Rabi Panda bb7dc316e4 Bring back the REST specs for data streams. (#78)
Add back the REST specs for data streams which were moved to x-pack as part of the commit fe12217c

Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:13 -06:00
Harold Wang c628fff76d Remove UnusedImports (#76)
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:13 -06:00
Harold Wang 9b3ce0cd45 Remove testcase testSearchWithBasicLicensedQuery since basic license is no longer applicable (#74)
Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:13 -06:00
Nick Knize 755367f1c9 [PURIFY] Remove x-pack feature flag from yaml test (#68)
This commit removes the xpack no_xpack feature flag from the yaml test suite.

Signed-off-by: Peter Nied <petern@amazon.com>
2021-03-13 10:36:13 -06:00