-
Couldn't load subscription status.
- Fork 2
Add Elasticsearch test app #334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
✔️ All good! |
b5a7ddb to
a7fccc2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's really nice to see such a thorough test setup, testing different aspects of the Elastic search integration. Good stuff!
|
Will wait for #337 and then rebase |
This app initiates a Elasticsearch `client` and then calls it in `Express` routes. See appsignal/appsignal-nodejs#1092
This change adds endpoints for frequently used operations with Elasticsearch. It adds endpoints for creating and deleting indices, as well as separate endpoints for `index`, `get`, `update`, `search` and `delete` document operations.
Use setup function to initialize index on app startup and handle missing index. Remove `winston`, all its dependencies, logger setup and any calls to it. Add `WebWorker` to `compilerOptions.lib` in `tsconfig.json` to fix missing `StreamPipeOptions` in `apache/arrow-js`.
db33ad0 to
0b4c94d
Compare
This is a message from the daily scheduled checks. |
App name was defined in docker-compose env and in the appsignal.cjs. Use just one.
Install `less` pager and exit if a child process fails in the `run` command.
All other anchor tags or form submission open in the same tab/window. Open `Cluster info` document in the same tab.
This app initiates an Elasticsearch
clientand uses it in express route handlers for the most common Elasticsearch operations. Right now the setup coversinfo,indices.create,indices.delete, andget,update,search,deleteoperations for documents.See appsignal/appsignal-nodejs#1092