Skip to content

Conversation

robbavey
Copy link
Contributor

@robbavey robbavey commented Dec 2, 2024

  • SSL settings that were marked deprecated in version 5.6.0 are now marked obsolete, and will prevent the plugin from starting.
  • These settings are:
    • cacert, which should be replaced by ssl_certificate_authorities
    • client_cert, which should be replaced by ssl_certificate
    • client_key, which should be replaced by ssl_key
    • keystore, which should be replaced by ssl_keystore_path
    • keystore_password, which should be replaced by ssl_keystore_password
    • keystore_type, which should be replaced by ssl_keystore_password
    • truststore, which should be replaced by ssl_truststore_path>
    • truststore_password, which should be replaced by ssl_truststore_password
    • truststore_type, which should be replaced by ssl_truststore_type

Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/

- SSL settings that were marked deprecated in version `5.6.0` are now marked obsolete, and will prevent the plugin from starting. - These settings are: - `cacert`, which should be replaced by `ssl_certificate_authorities` - `client_cert`, which should be replaced by `ssl_certificate` - `client_key`, which should be replaced by `ssl_key` - `keystore`, which should be replaced by `ssl_keystore_path` - `keystore_password`, which should be replaced by `ssl_keystore_password` - `keystore_type`, which should be replaced by `ssl_keystore_password` - `truststore`, which should be replaced by `ssl_truststore_path>` - `truststore_password`, which should be replaced by `ssl_truststore_password` - `truststore_type`, which should be replaced by `ssl_truststore_type`
before do
Timecop.travel(Time.new(2000,1,1,0,0,0,'+00:00'))
Timecop.scale (60 * 5) / 2
Timecop.scale (60)
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry if I missed it, but what are the adjustments to the schedule tests? Is t to reduce test time/resource utilization? A race condition?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've reworked this slightly to be less of a change, and will include the following comment in the squashed merge:

 This commit also fixes a failing test, where an aggressive Timecop configuration meant that the setup for the plugin was not complete by the time the expected scheduled job was to be run 
Copy link
Contributor

@donoghuc donoghuc left a comment

Choose a reason for hiding this comment

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

Looks right. One question on the changes to the schedule tests, but that is not a blocker.

This commit also fixes a failing test, where an aggressive Timecop configuration meant that the setup for the plugin was not complete by the time the expected scheduled job was to be run
Copy link
Contributor

@donoghuc donoghuc left a comment

Choose a reason for hiding this comment

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

Thanks for the updated commit with description! I did notice one other small thing https://github.com/logstash-plugins/logstash-input-http_poller/pull/149/files#r1876840774 Other than that this looks good.

Co-authored-by: Cas Donoghue <cas.donoghue@gmail.com>
@robbavey robbavey requested a review from karenzone December 10, 2024 21:23
@robbavey
Copy link
Contributor Author

Over to you for docs review @karenzone

Copy link
Contributor

@karenzone karenzone left a comment

Choose a reason for hiding this comment

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

LGTM

@robbavey robbavey merged commit 7dba5d1 into logstash-plugins:main Dec 16, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants