-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Maps] use EMS v6.6 #27560
[Maps] use EMS v6.6 #27560
Conversation
Pinging @elastic/kibana-gis |
💔 Build Failed |
jenkins, test this |
💔 Build Failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about adding some functional tests? Maybe an API intergration test that verifies the data/ems
route? And then a functional test the verifies the EMS list contains vector layers
x-pack/plugins/gis/server/routes.js
Outdated
}); | ||
|
||
server.route({ | ||
method: 'GET', | ||
path: `${ROOT}/data/ems`, | ||
handler: async (request) => { | ||
|
||
if (!request.query.name) { | ||
if (!request.query.id) { | ||
console.warn('Must supply id parameters to retrieve EMS file'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Server messages should be logged with server.log, server.log(['warning', message);
@@ -20,7 +20,7 @@ export class ASource { | |||
this._descriptor = descriptor; | |||
} | |||
|
|||
destory() {} | |||
destroy() {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for fixing this
CI failures look legitimate. All x-pack functional tests are failing
|
💔 Build Failed |
jenkins, test this |
💔 Build Failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, this looks good. I'm not 100% sure this is why CI is failing but I also got this message when I ran yarn start
:
log [18:57:41.137] [warning][plugin] Skipping non-plugin directory at /Users/nickpeihl/Development/Elastic/kibana/src/legacy/core_plugins/ems_util
I believe it should be fixed via #27582 |
fixed import, merged master |
💔 Build Failed |
jenkins, test this |
💔 Build Failed |
💔 Build Failed |
jenkins test this |
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
@thomasneirynck Why did you move all of the EMS stuff under the folder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some minor suggestions
lgtm with green CI
Code review, tested GIS app and region map in chrome and both properly load EMS vector layers
); | ||
|
||
const markdownIt = new MarkdownIt({ | ||
html: false, | ||
linkify: true | ||
}); | ||
|
||
/** | ||
* x-pack plugins cannot have upstream dependencies on core/*-kibana. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe instead of calling x-pack by name, just say something more generic like "Plugins cannot have ..."
x-pack/plugins/gis/server/routes.js
Outdated
@@ -45,6 +50,8 @@ export function initRoutes(server) { | |||
path: `${ROOT}/meta`, | |||
handler: async () => { | |||
|
|||
// console.log('data/ems'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these console statements can be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
💚 Build Succeeded |
Maps plugin should use correct EMS version.
6.x backport: #27795 |
Closes #27559.
Closes #27582.
Closes #27611.