kibana/x-pack/plugins
Mike Côté 1b0f595f01
Add new "references" attribute to saved objects for relationships (#28199)
* Add new references attribute to saved objects

* Add dual support for dashboard export API

* Use new relationships API supporting legacy relationships extraction

* Code cleanup

* Fix style and CI error

* Add missing spaces test for findRelationships

* Convert collect_references_deep to typescript

* Add missing trailing commas

* Fix broken test by making saved object API consistently return references

* Fix broken api integration tests

* Add comment about the two TS types for saved object

* Only return title from the attributes returned in findRelationships

* Fix broken test

* Add missing security tests

* Drop filterTypes support

* Implement references to search, dashboard, visualization, graph

* Add index pattern migration to dashboards

* Add references mapping to dashboard mppings.json

* Remove findRelationships from repository and into it's own function / file

* Apply PR feedback pt1

* Fix some failing tests

* Remove error throwing in migrations

* Add references to edit saved object screen

* Pass types to findRelationships

* [ftr] restore snapshots from master, rely on migrations to add references

* [security] remove `find_relationships` action

* remove data set modifications

* [security/savedObjectsClient] remove _getAuthorizedTypes method

* fix security & spaces tests to consider references and migrationVersion

* Add space id prefixes to es_archiver/saved_objects/spaces/data.json

* Rename referenced attributes to have a suffix of RefName

* Fix length check in scenario references doesn't exist

* Add test for inject references to not be called when references array is empty or missing

* some code cleanup

* Make migrations run on machine learning data files, fix rollup filterPath for savedSearchRefName

* fix broken test

* Fix collector.js to include references in elasticsearch response

* code cleanup pt2

* add some more tests

* fix broken tests

* updated documentation on referencedBy option for saved object client find function

* Move visualization migrations into kibana plugin

* Update docs with better description on references

* Apply PR feedback

* Fix merge

* fix tests I broke adressing PR feedback

* PR feedback pt2
2019-01-30 15:53:03 -05:00
..
__mocks__ [7.0] Add reindex feature to Upgrade Assistant (#27457) (#29516) 2019-01-29 17:55:35 -06:00
apm [APM] Preserve query bar values in links (#29430) 2019-01-30 18:07:56 +01:00
beats_management Migrate filter bar to React, EUI, and Typescript (#25563) 2019-01-30 15:48:31 -05:00
canvas Removed file_upload component (#29007) 2019-01-30 13:05:06 -07:00
cloud [Home] Add Cloud apmServerUrl and secretToken to APM Getting Started Guide (#27133) 2018-12-19 01:36:35 +01:00
console_extensions Update console ilm ccr (#29183) 2019-01-24 18:44:02 -05:00
cross_cluster_replication add follower badge to index management (#29177) 2019-01-23 19:38:54 -05:00
dashboard_mode [i18n] Translate dashboard mode (#28921) 2019-01-23 13:25:39 +03:00
gis update to eui 6.7.4 (#29560) 2019-01-30 10:20:56 -07:00
graph Add new "references" attribute to saved objects for relationships (#28199) 2019-01-30 15:53:03 -05:00
grokdebugger Translations for Dev Tools (#23951) 2018-10-31 17:54:31 +03:00
index_lifecycle_management copy edit for set_priority action in ilm UI (#29540) 2019-01-30 08:40:36 -05:00
index_management restoring index table test (#29368) 2019-01-25 15:38:24 -05:00
infra [Infra UI] Custom Field Grouping for Waffle Map (#28949) 2019-01-30 11:39:32 -07:00
kuery_autocomplete Migrate filter bar to React, EUI, and Typescript (#25563) 2019-01-30 15:48:31 -05:00
license_management Remove es _xpack endpoint usage (#29465) 2019-01-29 13:28:32 -06:00
logstash Upgrade Kibana to Elasticsearch 7.0 (#29184) 2019-01-30 09:08:58 -05:00
ml Add new "references" attribute to saved objects for relationships (#28199) 2019-01-30 15:53:03 -05:00
monitoring [Monitoring] Refactor index patterns from configurable to constants (#29528) 2019-01-30 15:21:06 -05:00
notifications Upgrade Hapi in legacy platform to v17 (#21707) 2018-10-25 16:01:12 -05:00
oss_telemetry Telemetry for Visualizations by type (#28793) 2019-01-30 09:40:37 -07:00
remote_clusters Localize strings in Rollup and ILM apps. (#29034) 2019-01-23 16:36:48 -08:00
reporting Upgrade Kibana to Elasticsearch 7.0 (#29184) 2019-01-30 09:08:58 -05:00
rollup Add new "references" attribute to saved objects for relationships (#28199) 2019-01-30 15:53:03 -05:00
searchprofiler [uiExports/styleSheetPaths] avoid string concatenation for paths (#27471) 2018-12-20 14:58:13 -08:00
security Updates React et al to 16.6 (#24707) 2019-01-23 13:46:09 -05:00
spaces Add new "references" attribute to saved objects for relationships (#28199) 2019-01-30 15:53:03 -05:00
task_manager [Task Manager] Remove doc type awareness (#28968) 2019-01-28 10:20:31 -07:00
tilemap Enh/zoom level message (#26267) 2018-12-18 13:44:19 -07:00
upgrade_assistant [7.0] Add reindex feature to Upgrade Assistant (#27457) (#29516) 2019-01-29 17:55:35 -06:00
uptime Delete monitor stacked RTT chart. (#29446) 2019-01-29 14:28:04 -05:00
watcher Remove es _xpack endpoint usage (#29465) 2019-01-29 13:28:32 -06:00
xpack_main [Monitoring] Refactor index patterns from configurable to constants (#29528) 2019-01-30 15:21:06 -05:00