Skip to content
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

Infra Server Migration #53955

Closed

Conversation

jasonrhodes
Copy link
Member

@jasonrhodes jasonrhodes commented Jan 3, 2020

WIP draft PR, may not be mergeable bc we moved a lot of files that others may be working on in other branches. Will need to heavily coordinate with @elastic/logs-metrics-ui team.

Probably easier to step through this commit by commit to see the changes.

Copy link
Contributor

@Kerry350 Kerry350 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good for the most part 👍 , it just looks like the work from #52753 has gone missing.

indexPatterns: {
indexPatternsServiceFactory: legacyServer.indexPatternsServiceFactory,
// NP_TODO: How do we move this to new platform?
legacyServer.addAppLinksToSampleDataset('logs', [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think something may have potentially gone wrong with a merge somewhere along the line, and the migration from legacyServer.addAppLinksToSampleDataset to plugins.home.sampleData.addAppLinksToSampleDataset in #52753.

We can remove legacyServer.addAppLinksToSampleDataset (it doesn't exist in master).

(This file is also throwing an exception as logsSampleDataLinkLabel doesn't exist here).


plugins.features.registerFeature(METRICS_FEATURE);
plugins.features.registerFeature(LOGS_FEATURE);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The call to the home plugin doesn't exist here as it does within the new_platform_plugin.ts file, e.g.:

plugins.home.sampleData.addAppLinksToSampleDataset('logs', [
      {
        path: `/app/${APP_ID}#/logs`,
        label: logsSampleDataLinkLabel,
        icon: 'logsApp',
      },
    ]);

@kibanamachine
Copy link
Contributor

💔 Build Failed

History

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

@Kerry350
Copy link
Contributor

Closing in favour of #54583

@Kerry350 Kerry350 closed this Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants