-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Ingest Manager] add upgrade action #77412
Conversation
x-pack/plugins/ingest_manager/server/services/agents/upgrade.ts
Outdated
Show resolved
Hide resolved
80ae654
to
ffeafcc
Compare
i will need to test a bit more mainly ACK but as it is now it works with my version of agent |
7341e49
to
654f7cd
Compare
c98eccf
to
3103f90
Compare
Pinging @elastic/ingest-management (Team:Ingest Management) |
x-pack/plugins/ingest_manager/server/routes/agent/upgrade_handler.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/ingest_manager/server/services/agents/upgrade.ts
Outdated
Show resolved
Hide resolved
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 works as expected 🚀
@elasticmachine merge upstream |
9bc1697
to
63e6a3d
Compare
💚 Build SucceededBuild metricspage load bundle size
distributable file count
Saved Objects .kibana field count
History
To update your PR or re-run it, just comment with: |
* at agents/agent-id/upgrade endpoint * handle upgrade ack * let upgrade endpoint accept url and version * wrap action data in data prop * decrypt data of actions * type upgrade action and decrypt data in ack * error if trying to update to diff version of kibana * add some integration tests * untype * fix test * update integration test * reset upgraded_at when upgrading * use defaultIngestErrorHandler * use ack_data instead of data * copy data to ack_data # Conflicts: # x-pack/plugins/ingest_manager/common/types/rest_spec/agent.ts # x-pack/plugins/ingest_manager/server/routes/agent/index.ts # x-pack/plugins/ingest_manager/server/types/rest_spec/agent.ts # x-pack/test/ingest_manager_api_integration/apis/fleet/index.js
* at agents/agent-id/upgrade endpoint * handle upgrade ack * let upgrade endpoint accept url and version * wrap action data in data prop * decrypt data of actions * type upgrade action and decrypt data in ack * error if trying to update to diff version of kibana * add some integration tests * untype * fix test * update integration test * reset upgraded_at when upgrading * use defaultIngestErrorHandler * use ack_data instead of data * copy data to ack_data
* at agents/agent-id/upgrade endpoint * handle upgrade ack * let upgrade endpoint accept url and version * wrap action data in data prop * decrypt data of actions * type upgrade action and decrypt data in ack * error if trying to update to diff version of kibana * add some integration tests * untype * fix test * update integration test * reset upgraded_at when upgrading * use defaultIngestErrorHandler * use ack_data instead of data * copy data to ack_data
This is the server side work for supporting agent UPGRADE action. #73069
data
from new agent actions was not being decryptedTest
and make sure a new
fleet-agent-actions
saved object is created of type UPGRADE