Skip to content

[7.x] [Uptime] Remove pings graphql (#59392)#63625

Merged
justinkambic merged 1 commit intoelastic:7.xfrom
justinkambic:backport/7.x/pr-59392
Apr 15, 2020
Merged

[7.x] [Uptime] Remove pings graphql (#59392)#63625
justinkambic merged 1 commit intoelastic:7.xfrom
justinkambic:backport/7.x/pr-59392

Conversation

@justinkambic
Copy link
Contributor

Backports the following commits to 7.x:

* WIP replacing GQL with redux/rest.

* Finish implementing migration.

* Introduce new connected component for ping list.

* Replace GraphQL type with io-ts.

* Update some broken tests.

* Add test for new helper function.

* Write test snapshots.

* Migrate api tests from graphql to rest.

* Update fixtures that rely on pings.

* Move ping types to runtime_types folder with rest of io-ts files.

* Update Ping type location and imports, type checking.

* Remove reliance on fixtures for ping functional API tests.

* Fix broken unit tests.

* Fix broken types.

* Remove local state storage from parent components.

* Add functional test to cover Ping List functionality.

* Fix monitor page functional test that was broken by merge conflicts.

* Fix broken tests.

* Fix broken API test.

* Replace a test with a describe block that will pre-navigate all tests.

* Delete unused reducer keys.

* Re-introduce loading to ping list reducer.

* Inroduce code that will cause PingList to re-fetch when refresh button is pressed.

* Update expanded rows to support multiple concurrent expanded rows.

* Modify pingList reducer to have singular optional error field.

* Delete unnecessary helper code.

* Delete unused interface.

* Add runtime_type to parse getPings params, fix pagination index.

* Add dedicated monitor type to runtime_types.

* Fix broken tests.

* Fix broken tests.

* Rename '@timestamp' property to 'timestamp' on Ping type.

* Fix broken type and key pings list table on document ID instead of timestamp.

* Fix broken unit tests.

* Fix broken tests and types.

* Fix broken functional test.
@justinkambic justinkambic added backport This PR is a backport of another PR Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.7.0 labels Apr 15, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@justinkambic justinkambic self-assigned this Apr 15, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@justinkambic justinkambic merged commit 868099e into elastic:7.x Apr 15, 2020
@justinkambic justinkambic deleted the backport/7.x/pr-59392 branch April 15, 2020 19:58
@justinkambic justinkambic mentioned this pull request Apr 15, 2020
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants