Open pingleig opened 1 year ago
I think we really need something like https://github.com/opensearch-project/opensearch-js/blob/main/USER_GUIDE.md in this repo. Do you think you could start that with the above? It will reduce the amount of things that need to go into documentation-website, especially that the versions of the client don't match the versions of the server and thus evolve separately.
Sorry for the late reply, I saw there is already https://github.com/opensearch-project/opensearch-java/blob/main/USER_GUIDE.md I suppose I can add the skip cert check snippet to that file?
How about we add it wherever people might look, and when there's redundant information, let's also consider removing one and linking to the other?
When it comes to client usage, there's no hard and fast rule yet on what kind of documentation goes where, so I think the determination can be made on a case by case basis.
On Sat, Dec 3, 2022, 2:09 AM Pinglei Guo @.***> wrote:
Sorry for the late reply, I saw there is already https://github.com/opensearch-project/opensearch-java/blob/main/USER_GUIDE.md I suppose I can add the skip cert check snippet to that file?
— Reply to this email directly, view it on GitHub https://github.com/opensearch-project/opensearch-java/issues/236#issuecomment-1336101176, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5PRLQRN5PQNDTBVSWCYD3WLLW2VANCNFSM6AAAAAARAPKYNM . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Is your feature request related to a problem?
Docker compose launches OpenSearch using https with self signed cert. Example code only shows how to specify a trust store but didn't show how to disable the verification on client side (for local testing).
What solution would you like?
Tell people how to disable the certificate verification (if they know what they are doing) https://opensearch.org/docs/latest/clients/java/.
I am not sure if there is a doc repoMaybe I should create the issue in https://github.com/opensearch-project/documentation-website/issues instead?What alternatives have you considered?
Alternatives requires more commands to type, rebuild container etc.
Do you have any additional context?
N/A