Skip to content

Conversation

@VijayanB
Copy link
Member

Description

Remove multiple versions
Remove groovy scripts
Remove license checker
clean up data stream
Delete xpack files
Update ADMINS
Remove iml files
Set github workflow
Use opensearch basic template
Clean up build and test files

Issues Resolved

#10
#3

Check List

  • 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.

Keep relevant files to test logstash. Use opendistro
instead of Elasticsearch.

Signed-off-by: Vijayan Balasubramanian <[email protected]>
@VijayanB
Copy link
Member Author

VijayanB commented Jun 17, 2021

@VijayanB VijayanB self-assigned this Jun 17, 2021
VijayanB added 9 commits June 17, 2021 16:01
Include files like github templates, code of conduct, maintainers,
admins, etc.

Signed-off-by: Vijayan Balasubramanian <[email protected]>
Enable unit test and integration test on push any branch
and any pull request.

Signed-off-by: Vijayan Balasubramanian <[email protected]>
Signed-off-by: Vijayan Balasubramanian <[email protected]>
Signed-off-by: Vijayan Balasubramanian <[email protected]>
Remove xpack test and features since this will not be
available in OpenSearch.

Signed-off-by: Vijayan Balasubramanian <[email protected]>
OpenSearch and opensource should not have license checker.

Signed-off-by: Vijayan Balasubramanian <[email protected]>
Groovy is supported upto 6.0 versions. Since we only support
opensource 7.X and OpenSearch. We don't need to test
groovy scripts.

Signed-off-by: Vijayan Balasubramanian <[email protected]>
Since we will be supporting only 7.x and OpenSearch >= 1.x
remove tests that are not relevant.
Also remove auth support for cloud id.

Signed-off-by: Vijayan Balasubramanian <[email protected]>
@@ -1,116 +1,7 @@
module LogStash; module Outputs; class ElasticSearch
module Ilm

Copy link
Member

Choose a reason for hiding this comment

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

Cant this file be removed? I thought ilm is xpack

Copy link
Member Author

Choose a reason for hiding this comment

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

Ack

"master"
],
"attributes" : {
"ml.machine_memory" : "17179869184",
Copy link
Member

Choose a reason for hiding this comment

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

Cant we remove all ml related code as its xpack?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ack


subject.register
subject.multi_receive(event_count.times.map { LogStash::Event.new("link_to" => parent_id, "message" => "Hello World!", join_field => child_relation) })
if ESHelper.es_version_satisfies?('<6')
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need this?

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed

Signed-off-by: Vijayan Balasubramanian <[email protected]>
@jmazanec15
Copy link
Member

Can we remove?

  1. logstash-output-opensearch/lib/logstash/outputs/elasticsearch/ilm.rb
  2. logstash-output-opensearch/lib/logstash/outputs/elasticsearch/templates/ecs-disabled/

@jmazanec15
Copy link
Member

Signed-off-by: Vijayan Balasubramanian <[email protected]>
@VijayanB
Copy link
Member Author

Can we remove?

  1. logstash-output-opensearch/lib/logstash/outputs/elasticsearch/ilm.rb - done
  2. logstash-output-opensearch/lib/logstash/outputs/elasticsearch/templates/ecs-disabled/ -> This is open source. I had kept it for now.

@VijayanB VijayanB requested a review from jmazanec15 June 18, 2021 00:06
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

Don't squash these changes!

@VijayanB VijayanB merged commit 1b9b358 into opensearch-project:develop Jun 21, 2021
@VijayanB VijayanB mentioned this pull request Jun 21, 2021
1 task
@VijayanB VijayanB deleted the refactor-code branch June 26, 2021 02:32
@VijayanB VijayanB added the Refactoring Improve the design, structure, and implementation while preserving its functionality label Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactoring Improve the design, structure, and implementation while preserving its functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants