[Ingest Manager] add upgrade action#77412
Merged
neptunian merged 17 commits intoelastic:masterfrom Sep 23, 2020
Merged
Conversation
x-pack/plugins/ingest_manager/server/services/agents/upgrade.ts
Outdated
Show resolved
Hide resolved
80ae654 to
ffeafcc
Compare
Contributor
|
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
6 tasks
c98eccf to
3103f90
Compare
neptunian
commented
Sep 22, 2020
Contributor
|
Pinging @elastic/ingest-management (Team:Ingest Management) |
nchaulet
reviewed
Sep 22, 2020
nchaulet
reviewed
Sep 22, 2020
x-pack/plugins/ingest_manager/server/routes/agent/upgrade_handler.ts
Outdated
Show resolved
Hide resolved
nchaulet
reviewed
Sep 22, 2020
x-pack/plugins/ingest_manager/server/services/agents/upgrade.ts
Outdated
Show resolved
Hide resolved
Contributor
Author
|
@elasticmachine merge upstream |
9bc1697 to
63e6a3d
Compare
Contributor
💚 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: |
neptunian
added a commit
to neptunian/kibana
that referenced
this pull request
Sep 23, 2020
* 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
neptunian
added a commit
to neptunian/kibana
that referenced
this pull request
Sep 24, 2020
* 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
neptunian
added a commit
that referenced
this pull request
Sep 24, 2020
* 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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the server side work for supporting agent UPGRADE action. #73069
datafrom new agent actions was not being decryptedTest
and make sure a new
fleet-agent-actionssaved object is created of type UPGRADE