Skip to content

Commit

Permalink
[APM] sync stored_objects with files from APM Server. (#21096) (#21153)
Browse files Browse the repository at this point in the history
* [APM] sync stored_objects with files from APM Server.

Sync dashboards and index-pattern with files created and used by
server, to ensure consistency no matter how the files are loaded.

* Remove title from index pattern.

* fix failing test.
  • Loading branch information
sorenlouv committed Jul 24, 2018
1 parent d62e6b0 commit 942d2b2
Show file tree
Hide file tree
Showing 3 changed files with 225 additions and 225 deletions.
Expand Up @@ -27,6 +27,6 @@ test('should dynamically set index title to "apm_oss.indexPattern" yaml config v
const indexPattern = savedObjects[0];
expect(indexPattern.type).to.be('index-pattern');
// if index pattern id changes, ensure other saved objects point to the new id
expect(indexPattern.id).to.be('12e52550-6354-11e8-9d01-ed6a4badd083');
expect(indexPattern.id).to.be('apm-*');
expect(indexPattern.attributes.title).to.be(indexPatternTitle);
});

0 comments on commit 942d2b2

Please sign in to comment.