[7.x] [Fleet, Workplace Search] Add Workplace Search connectors as non-Fleet integrations (#114919) (#115195)
* [Fleet, Workplace Search] Add Workplace Search connectors as non-Fleet integrations (#114919)
* Add icons
* Add new categories
* Add Workplace Search connectors to the unified integrations view
* Add a new enterprise_search shipper
* Update number of custom integrations in test
* Change customIntegrations type to optional
* Revert "Update number of custom integrations in test"
This reverts commit 30214b2c7c
.
The reason is that while this test passes with 2 separate commands for
functional test runner, it fails when it is run with a single command.
Reverting to make the CI pass. We will look into this test separately.
I will link the investigation issue in the PR.
# Conflicts:
# x-pack/plugins/enterprise_search/kibana.json
* fix spacing
Co-authored-by: Vadim Yakhin <yakhin.v@gmail.com>
|
@ -40,8 +40,15 @@ export const INTEGRATION_CATEGORY_DISPLAY = {
|
|||
web: 'Web',
|
||||
|
||||
// Kibana added
|
||||
upload_file: 'Upload a file',
|
||||
communication: 'Communication',
|
||||
customer_support: 'Customer Support',
|
||||
document_storage: 'Document Storage',
|
||||
enterprise_management: 'Enterprise Management',
|
||||
knowledge_platform: 'Knowledge Platform',
|
||||
language_client: 'Language client',
|
||||
project_management: 'Project Management',
|
||||
software_development: 'Software Development',
|
||||
upload_file: 'Upload a file',
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -70,6 +77,7 @@ export interface IntegrationCategoryCount {
|
|||
// TODO: consider i18n
|
||||
export const SHIPPER_DISPLAY = {
|
||||
beats: 'Beats',
|
||||
enterprise_search: 'Enterprise Search',
|
||||
language_clients: 'Language clients',
|
||||
other: 'Other',
|
||||
sample_data: 'Sample data',
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"kibanaVersion": "kibana",
|
||||
"requiredPlugins": ["features", "spaces", "licensing", "data", "charts", "infra"],
|
||||
"configPath": ["enterpriseSearch"],
|
||||
"optionalPlugins": ["usageCollection", "security", "home", "cloud"],
|
||||
"optionalPlugins": ["usageCollection", "security", "home", "cloud", "customIntegrations"],
|
||||
"server": true,
|
||||
"ui": true,
|
||||
"requiredBundles": ["home", "kibanaReact"],
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="72" height="71.986" viewBox="0 0 19.05 19.046" version="1.1"><g fill="#29ace3" fill-rule="evenodd"><path d="M9.834 13.13A2.128 2.128 0 017.7 11.005c0-1.171.955-2.122 2.132-2.122 1.178 0 2.132.95 2.132 2.122a2.127 2.127 0 01-2.131 2.123zm-6.28 0a2.128 2.128 0 01-2.133-2.123c0-1.172.955-2.123 2.133-2.123 1.177 0 2.13.95 2.13 2.122a2.127 2.127 0 01-2.13 2.123zm6.28-5.662c-1.36 0-2.544.762-3.14 1.88a3.554 3.554 0 00-3.14-1.88c-.8 0-1.538.263-2.133.708V5.194A.708.708 0 00.71 4.5c-.389 0-.701.308-.71.694v5.871a3.546 3.546 0 003.553 3.481 3.556 3.556 0 003.14-1.88 3.556 3.556 0 003.14 1.88 3.547 3.547 0 003.554-3.54 3.546 3.546 0 00-3.554-3.538z"/><path d="M18.902 13.36l-1.932-2.358 1.934-2.365a.669.669 0 00-.163-.979.822.822 0 00-1.073.13l-1.665 2.03-1.662-2.03a.82.82 0 00-1.073-.13.668.668 0 00-.162.98l1.93 2.364-1.93 2.36c-.245.312-.175.746.162.979a.822.822 0 001.073-.13l1.663-2.029 1.661 2.029a.823.823 0 001.074.13c.338-.233.408-.667.163-.98z"/></g></svg>
|
After Width: | Height: | Size: 1,013 B |
|
@ -0,0 +1 @@
|
|||
<svg fill="none" height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset=".18" stop-color="#0052cc"/><stop offset="1" stop-color="#2684ff"/></linearGradient><linearGradient id="b" gradientUnits="userSpaceOnUse" x1="95.0371" x2="71.8734" xlink:href="#a" y1="104.185" y2="51.0439"/><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="6770.46" x2="6500.78" xlink:href="#a" y1="-77645.6" y2="-78879.7"/><clipPath id="d"><path d="m0 0h100v100h-100z"/></clipPath><g clip-path="url(#d)"><path d="m3.62631 75.3532c-1.03424 1.6866-2.19577 3.6437-3.182274 5.203-.882999 1.4921-.4089699 3.4166 1.066064 4.3279l20.6848 12.7291c.7261.4483 1.6018.5862 2.4305.3827.8287-.2034 1.541-.7311 1.9769-1.4647.8274-1.3843 1.8935-3.1823 3.055-5.1076 8.1944-13.5246 16.4365-11.8698 31.2977-4.7734l20.5097 9.7537c.7768.3697 1.6702.4092 2.4766.1094.8063-.2997 1.457-.9132 1.8036-1.7005l9.8491-22.276c.6959-1.5909-.0122-3.446-1.5911-4.1687-4.3279-2.0367-12.936-6.0941-20.6848-9.8333-27.8767-13.5405-51.5687-12.6654-69.69179 16.8184z" fill="url(#b)"/><path d="m96.3737 24.8029c1.0343-1.6866 2.1958-3.6437 3.1823-5.203.883-1.4922.409-3.4166-1.066-4.3279l-20.6848-12.72913c-.732-.49303-1.6359-.65992-2.4957-.46081s-1.5983.74635-2.0391 1.51096c-.8274 1.38429-1.8934 3.18227-3.0549 5.10755-8.1944 13.52463-16.4365 11.86993-31.2977 4.77343l-20.4461-9.70595c-.7768-.36973-1.6702-.40921-2.4765-.10944-.8064.29976-1.457.91322-1.8037 1.70057l-9.84912 22.27592c-.69586 1.591.01219 3.4461 1.59114 4.1688 4.32788 2.0366 12.93598 6.094 20.68478 9.8332 27.9404 13.5247 51.6324 12.6177 69.7554-16.8342z" fill="url(#c)"/></g></svg>
|
After Width: | Height: | Size: 1.7 KiB |
|
@ -0,0 +1 @@
|
|||
<svg fill="none" height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset=".18" stop-color="#0052cc"/><stop offset="1" stop-color="#2684ff"/></linearGradient><linearGradient id="b" gradientUnits="userSpaceOnUse" x1="95.0371" x2="71.8734" xlink:href="#a" y1="104.185" y2="51.0439"/><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="6770.46" x2="6500.78" xlink:href="#a" y1="-77645.6" y2="-78879.7"/><clipPath id="d"><path d="m0 0h100v100h-100z"/></clipPath><g clip-path="url(#d)"><path d="m3.62631 75.3532c-1.03424 1.6866-2.19577 3.6437-3.182274 5.203-.882999 1.4921-.4089699 3.4166 1.066064 4.3279l20.6848 12.7291c.7261.4483 1.6018.5862 2.4305.3827.8287-.2034 1.541-.7311 1.9769-1.4647.8274-1.3843 1.8935-3.1823 3.055-5.1076 8.1944-13.5246 16.4365-11.8698 31.2977-4.7734l20.5097 9.7537c.7768.3697 1.6702.4092 2.4766.1094.8063-.2997 1.457-.9132 1.8036-1.7005l9.8491-22.276c.6959-1.5909-.0122-3.446-1.5911-4.1687-4.3279-2.0367-12.936-6.0941-20.6848-9.8333-27.8767-13.5405-51.5687-12.6654-69.69179 16.8184z" fill="url(#b)"/><path d="m96.3737 24.8029c1.0343-1.6866 2.1958-3.6437 3.1823-5.203.883-1.4922.409-3.4166-1.066-4.3279l-20.6848-12.72913c-.732-.49303-1.6359-.65992-2.4957-.46081s-1.5983.74635-2.0391 1.51096c-.8274 1.38429-1.8934 3.18227-3.0549 5.10755-8.1944 13.52463-16.4365 11.86993-31.2977 4.77343l-20.4461-9.70595c-.7768-.36973-1.6702-.40921-2.4765-.10944-.8064.29976-1.457.91322-1.8037 1.70057l-9.84912 22.27592c-.69586 1.591.01219 3.4461 1.59114 4.1688 4.32788 2.0366 12.93598 6.094 20.68478 9.8332 27.9404 13.5247 51.6324 12.6177 69.7554-16.8342z" fill="url(#c)"/></g></svg>
|
After Width: | Height: | Size: 1.7 KiB |
|
@ -0,0 +1 @@
|
|||
<svg fill="none" height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><clipPath id="a"><path d="m0 0h100v100h-100z"/></clipPath><g clip-path="url(#a)"><path d="m50.8142 23.5717h-4.2c4.143 8.1938 6.3015 17.2469 6.3015 26.4286 0 9.1816-2.1585 18.2347-6.3015 26.4285h4.5714c7.0093 0 13.7316-2.7844 18.6879-7.7407s7.7407-11.6785 7.7407-18.6878-2.7844-13.7315-7.7407-18.6879c-4.9563-4.9563-11.6786-7.7407-18.6879-7.7407zm-.8142-23.5857279c-6.6174-.0042253-13.1691 1.3119779-19.2715 3.8714579 5.3516 4.32083 9.9142 9.53597 13.4857 15.41427h8.0714l.0715.0857c7.7784.5043 15.0733 3.9498 20.4037 9.637s8.2968 13.1897 8.2968 20.9844-2.9664 15.2973-8.2968 20.9845-12.6253 9.1327-20.4037 9.6369l-.0715.1001h-8.0714c-3.5715 5.8782-8.1341 11.0935-13.4857 15.4143 6.8282 2.8556 14.2051 4.1594 21.5985 3.8181 7.3933-.3415 14.6186-2.3201 21.1544-5.7929 6.5358-3.4729 12.2191-8.3534 16.6398-14.2894 4.4206-5.936 7.4683-12.7794 8.9231-20.0362 1.4547-7.2568 1.2807-14.7461-.5104-21.9274-1.791-7.1813-5.1539-13.8753-9.846-19.5991s-10.5964-10.33458-17.2868-13.49953c-6.6903-3.16494-13.9999-4.8051405-21.4011-4.8021979zm-10.8714 19.2857279c-3.4579-5.1394-7.7617-9.65573-12.7287-13.35712-7.308 3.93332-13.5268 9.61712-18.09986 16.54282 4.21966-2.0886 8.86316-3.1785 13.57146-3.1857zm0 61.4286h-17.2571c-4.7102-.005-9.3553-1.1002-13.57146-3.2 4.57606 6.9408 10.80566 12.6353 18.12846 16.5714 4.9508-3.7106 9.2437-8.2257 12.7001-13.3571zm2.6428-4.2858c4.4971-8.0826 6.8574-17.1791 6.8574-26.4285 0-9.2495-2.3603-18.346-6.8574-26.4286h-19.8999c-6.6584-.0024-13.07027 2.5194-17.94297 7.0571-.04357.1274-.09606.2515-.15712.3715 1.44454-1.374 3.03486-2.586 4.74278-3.6143-1.70792 1.0283-3.29824 2.2403-4.74278 3.6143-5.02806 12.1627-5.02806 25.823 0 37.9857.06106.12.11355.244.15712.3714 4.87578 4.5328 11.28557 7.0539 17.94297 7.0571z" fill="#0060d5"/></g></svg>
|
After Width: | Height: | Size: 1.9 KiB |
|
@ -0,0 +1 @@
|
|||
<svg fill="none" height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="m20.3395 39.4907-20.3395-16.2859 29.4168-19.2045 20.5829 17.1784-29.6601 18.3121 29.6601 18.3118-20.5828 17.1794-29.41680072-19.2045zm29.6605 18.3119 20.5839 17.1794 29.4158-19.2045-20.3396-16.287zm50-34.5981-29.4158-19.2045-20.5839 17.1784 29.6601 18.3121zm-49.9398 38.2941-20.6434 17.1278-8.833-5.7665v6.4653l29.4764 17.6748 29.4774-17.6748v-6.4653l-8.832 5.7665z" fill="#007ee5" fill-rule="evenodd"/></svg>
|
After Width: | Height: | Size: 537 B |
|
@ -0,0 +1 @@
|
|||
<svg fill="none" height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="m49.9954 1c-27.6067 0-49.9954 22.3856-49.9954 50.0015 0 22.0909 14.3252 40.83 34.1938 47.4416 2.5016.4605 3.4132-1.0835 3.4132-2.4095 0-1.1879-.0429-4.331-.0675-8.5024-13.9077 3.0203-16.8421-6.7037-16.8421-6.7037-2.2745-5.7767-5.5527-7.3145-5.5527-7.3145-4.5397-3.1002.3438-3.0388.3438-3.0388 5.0186.353 7.6583 5.1536 7.6583 5.1536 4.4599 7.6399 11.7039 5.433 14.5523 4.153.4543-3.2291 1.7466-5.4329 3.1739-6.6822-11.1023-1.2616-22.7755-5.5527-22.7755-24.7122 0-5.4576 1.9492-9.9236 5.1475-13.4167-.5156-1.2646-2.2315-6.3507.4911-13.2324 0 0 4.196-1.3444 13.7482 5.126 3.9872-1.1112 8.266-1.6637 12.5172-1.6851 4.2482.0214 8.5239.5739 12.5173 1.6851 9.546-6.4704 13.7358-5.126 13.7358-5.126 2.7288 6.8817 1.013 11.9678.5004 13.2324 3.2045 3.4931 5.1382 7.9591 5.1382 13.4167 0 19.2086-11.6915 23.4353-22.8275 24.6723 1.7925 1.5439 3.3917 4.595 3.3917 9.2575 0 6.6853-.0614 12.0783-.0614 13.7174 0 1.3383.9024 2.8945 3.4378 2.4065 19.8533-6.627 34.1662-25.3538 34.1662-47.4386 0-27.6159-22.3887-50.0015-50.0046-50.0015z" fill="#1a1919" fill-rule="evenodd"/></svg>
|
After Width: | Height: | Size: 1.2 KiB |
|
@ -0,0 +1 @@
|
|||
<svg fill="none" height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="m49.9954 1c-27.6067 0-49.9954 22.3856-49.9954 50.0015 0 22.0909 14.3252 40.83 34.1938 47.4416 2.5016.4605 3.4132-1.0835 3.4132-2.4095 0-1.1879-.0429-4.331-.0675-8.5024-13.9077 3.0203-16.8421-6.7037-16.8421-6.7037-2.2745-5.7767-5.5527-7.3145-5.5527-7.3145-4.5397-3.1002.3438-3.0388.3438-3.0388 5.0186.353 7.6583 5.1536 7.6583 5.1536 4.4599 7.6399 11.7039 5.433 14.5523 4.153.4543-3.2291 1.7466-5.4329 3.1739-6.6822-11.1023-1.2616-22.7755-5.5527-22.7755-24.7122 0-5.4576 1.9492-9.9236 5.1475-13.4167-.5156-1.2646-2.2315-6.3507.4911-13.2324 0 0 4.196-1.3444 13.7482 5.126 3.9872-1.1112 8.266-1.6637 12.5172-1.6851 4.2482.0214 8.5239.5739 12.5173 1.6851 9.546-6.4704 13.7358-5.126 13.7358-5.126 2.7288 6.8817 1.013 11.9678.5004 13.2324 3.2045 3.4931 5.1382 7.9591 5.1382 13.4167 0 19.2086-11.6915 23.4353-22.8275 24.6723 1.7925 1.5439 3.3917 4.595 3.3917 9.2575 0 6.6853-.0614 12.0783-.0614 13.7174 0 1.3383.9024 2.8945 3.4378 2.4065 19.8533-6.627 34.1662-25.3538 34.1662-47.4386 0-27.6159-22.3887-50.0015-50.0046-50.0015z" fill="#1a1919" fill-rule="evenodd"/></svg>
|
After Width: | Height: | Size: 1.2 KiB |
|
@ -0,0 +1 @@
|
|||
<svg width="100" height="100" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0)"><path d="M6.818 87.517h15.91V48.881L0 31.835V80.7a6.816 6.816 0 006.818 6.818z" fill="#4285F4"/><path d="M77.273 87.517h15.909A6.816 6.816 0 00100 80.7V31.835L77.273 48.881v38.636z" fill="#34A853"/><path d="M77.273 19.335v29.546L100 31.835v-9.09c0-8.427-9.62-13.24-16.364-8.183l-6.363 4.773z" fill="#FBBC04"/><path d="M22.727 48.88V19.336L50 39.79l27.273-20.455v29.546L50 69.335 22.727 48.881z" fill="#EA4335"/><path d="M0 22.744v9.091l22.727 17.046V19.335l-6.363-4.773C9.619 9.506 0 14.319 0 22.745z" fill="#C5221F"/></g><defs><clipPath id="clip0"><path fill="#fff" transform="translate(0 12.499)" d="M0 0h100v75.018H0z"/></clipPath></defs></svg>
|
After Width: | Height: | Size: 751 B |
|
@ -0,0 +1 @@
|
|||
<svg width="100" height="100" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0)"><g clip-path="url(#clip1)"><path d="M6.913 82.125l4.441 7.67c.923 1.615 2.25 2.884 3.807 3.807L31.02 66.15H-.7c0 1.788.461 3.576 1.384 5.19l6.23 10.786z" fill="#0066DA"/><path d="M49.65 33.851L33.79 6.398c-1.558.923-2.884 2.192-3.807 3.806L.684 60.959A10.45 10.45 0 00-.7 66.148h31.721L49.65 33.852z" fill="#00AC47"/><path d="M84.14 93.602c1.557-.923 2.883-2.192 3.806-3.806l1.846-3.173 8.824-15.283A10.45 10.45 0 00100 66.149H68.277l6.75 13.265 9.112 14.188z" fill="#EA4335"/><path d="M49.65 33.851L65.51 6.398c-1.557-.923-3.345-1.384-5.19-1.384H38.98c-1.845 0-3.633.519-5.19 1.384L49.65 33.85z" fill="#00832D"/><path d="M68.279 66.149H31.02l-15.86 27.453c1.557.923 3.345 1.384 5.19 1.384H78.95c1.845 0 3.633-.519 5.19-1.384L68.28 66.15z" fill="#2684FC"/><path d="M83.966 35.581L69.317 10.204c-.923-1.614-2.25-2.883-3.806-3.806L49.65 33.85 68.279 66.15h31.663a10.45 10.45 0 00-1.384-5.19L83.966 35.58z" fill="#FFBA00"/></g></g><defs><clipPath id="clip0"><path fill="#fff" d="M0 0h100v100H0z"/></clipPath><clipPath id="clip1"><path fill="#fff" transform="translate(-.7 5.014)" d="M0 0h100.7v89.972H0z"/></clipPath></defs></svg>
|
After Width: | Height: | Size: 1.2 KiB |
|
@ -0,0 +1 @@
|
|||
<svg fill="none" height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset=".18" stop-color="#0052cc"/><stop offset="1" stop-color="#2684ff"/></linearGradient><linearGradient id="b" gradientUnits="userSpaceOnUse" x1="75.1425" x2="54.7827" xlink:href="#a" y1="24.0781" y2="45.3227"/><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="1956.92" x2="1082.22" xlink:href="#a" y1="1849.11" y2="2714.75"/><clipPath id="d"><path d="m0 0h100v100h-100z"/></clipPath><g clip-path="url(#d)"><path d="m95.8224 0h-48.1546c0 5.76522 2.2902 11.2943 6.3669 15.3709 4.0766 4.0767 9.6057 6.3669 15.3709 6.3669h8.8706v8.5642c.0077 11.9946 9.7293 21.7162 21.7238 21.7238v-47.84814c0-2.30726-1.8704-4.17766-4.1776-4.17766z" fill="#2684ff"/><path d="m71.9952 23.9944h-48.1545c.0077 11.9946 9.7293 21.7162 21.7239 21.7238h8.8705v8.5921c.0154 11.9946 9.7432 21.7099 21.7378 21.7099v-47.8482c0-2.3072-1.8704-4.1776-4.1777-4.1776z" fill="url(#b)"/><path d="m48.1545 47.9724h-48.1545c0 12.0055 9.73233 21.7378 21.7378 21.7378h8.8984v8.5642c.0077 11.9837 9.7123 21.7008 21.696 21.7238v-47.8481c0-2.3073-1.8704-4.1777-4.1777-4.1777z" fill="url(#c)"/></g></svg>
|
After Width: | Height: | Size: 1.2 KiB |
|
@ -0,0 +1 @@
|
|||
<svg fill="none" height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset=".18" stop-color="#0052cc"/><stop offset="1" stop-color="#2684ff"/></linearGradient><linearGradient id="b" gradientUnits="userSpaceOnUse" x1="47.7365" x2="27.0869" xlink:href="#a" y1="20.2349" y2="40.8846"/><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="1416.82" x2="2098.99" xlink:href="#a" y1="3129.77" y2="2687.25"/><path d="m97.5915 47.1319-43.0961-42.98539-4.1465-4.14651-32.3705 32.3704-14.81682 14.7615c-.36821.3672-.6604.8034-.85971 1.2837s-.30187.9952-.30187 1.5153c0 .52.10256 1.0348.30187 1.5151s.4915.9166.85971 1.2837l29.60612 29.6613 17.5812 17.6089 32.4395-32.3979.4976-.4976 14.3055-14.3194c.3765-.3681.6757-.8078.8799-1.2932s.3096-1.0066.3096-1.5334c0-.5266-.1054-1.0478-.3096-1.5332s-.5034-.9251-.8799-1.2933zm-47.2426 17.6504-14.7892-14.7893 14.7892-14.7891 14.7892 14.7891z" fill="#2684ff"/><path d="m50.3488 35.2038c-4.6294-4.6608-7.2278-10.9635-7.2278-17.5328s2.5984-12.872 7.2278-17.532816l-32.4257 32.301316 17.6089 17.6089z" fill="url(#b)"/><path d="m65.207 49.8962-14.8583 14.886c2.3153 2.3109 4.1522 5.0556 5.4054 8.0771 1.2532 3.0216 1.8983 6.2607 1.8983 9.5318 0 3.2712-.6451 6.5101-1.8983 9.5317s-3.0901 5.7663-5.4054 8.0771l32.481-32.4395z" fill="url(#c)"/></svg>
|
After Width: | Height: | Size: 1.4 KiB |
|
@ -0,0 +1 @@
|
|||
<svg fill="none" height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg"><path d="m60.4144 61.235 20.6412-19.7397c-4.2876-16.7185-21.3163-26.7957-38.0349-22.5081-7.5288 1.9308-14.0679 6.598-18.341 13.0904.3194-.008 35.7347 29.1574 35.7347 29.1574z" fill="#0364b8"/><path d="m38.1321 35.7933-.001.0034c-3.9441-2.4428-8.4928-3.734-13.1321-3.7277-.1072 0-.2125.0068-.3194.008-13.8001.171-24.848511 11.4967-24.67764455 25.2964.06194815 5.0058 1.62603455 9.8776 4.48952455 13.9839l30.92382-3.873 23.7087-19.1172z" fill="#0078d4"/><path d="m81.0554 41.4944c-.4537-.0303-.9096-.0513-1.3711-.0513-2.7691-.0027-5.5093.5629-8.0511 1.6618l-.0006-.0021-12.5086 5.2638 13.7898 17.0339 24.6528 5.9928c5.3204-9.8765 1.6264-22.1957-8.2501-27.5158-2.5521-1.3747-5.3688-2.1872-8.2609-2.383z" fill="#1490df"/><path d="m4.49161 71.3574c4.66932 6.7133 12.33019 10.7142 20.50749 10.7098h54.6853c7.4702.0021 14.3384-4.0971 17.8823-10.6731l-38.4426-23.0269z" fill="#28a8ea"/></svg>
|
After Width: | Height: | Size: 983 B |
After Width: | Height: | Size: 8.3 KiB |
After Width: | Height: | Size: 8.3 KiB |
|
@ -0,0 +1 @@
|
|||
<svg fill="none" height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="m50 6c-27 0-50 21.9528-50 49.3939 0 14.4689 6 27.4411 15.5 36.9208 3.5 3.4925 9 3.4925 13 .4989 5.5-4.4904 13-6.985 21.5-6.985s15.5 2.4946 21.5 6.985c4 2.9936 9.5 2.4946 13-.9979 9.5-8.9807 15.5-21.9529 15.5-36.4218-.5-26.9421-22.5-49.3939-50-49.3939zm-.5 74.8393c-14.5 0-25-10.9765-25-24.9465s10-24.9464 25-24.9464 25 11.4753 25 24.9464c0 13.471-10 24.9465-25 24.9465z" fill="#82b6a1" fill-rule="evenodd"/></svg>
|
After Width: | Height: | Size: 541 B |
|
@ -0,0 +1 @@
|
|||
<svg fill="none" height="100" viewBox="0 0 102 100" width="102" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="9.88794" x2="43.4615" y1="20.9988" y2="78.9304"><stop offset="0" stop-color="#058f92"/><stop offset=".5" stop-color="#038489"/><stop offset="1" stop-color="#026d71"/></linearGradient><path d="m52.1629 57.022c15.4125 0 27.9068-12.5409 27.9068-28.011 0-15.47-12.4943-28.011-27.9068-28.011s-27.9068 12.541-27.9068 28.011c0 15.4701 12.4943 28.011 27.9068 28.011z" fill="#036c70"/><path d="m75.4188 80.3617c14.1281 0 25.5812-11.4959 25.5812-25.6768 0-14.1808-11.4531-25.6767-25.5812-25.6767s-25.5812 11.4959-25.5812 25.6767c0 14.1809 11.4531 25.6768 25.5812 25.6768z" fill="#1a9ba1"/><path d="m55.6508 99.0371c10.9172 0 19.7673-8.8832 19.7673-19.8411 0-10.958-8.8501-19.8411-19.7673-19.8411-10.9171 0-19.7673 8.8831-19.7673 19.8411 0 10.9579 8.8502 19.8411 19.7673 19.8411z" fill="#37c6d0"/><g fill="#000"><path d="m56.8143 26.2805v49.8128c-.0116 1.7309-1.0566 3.2859-2.6512 3.9449-.5077.2156-1.0534.3267-1.6046.3268h-16.6511c-.0232-.3968-.0232-.7703-.0232-1.1671-.0078-.3896.0077-.7794.0465-1.1672.4256-7.4615 5.0052-14.0449 11.8372-17.0166v-4.3417c-15.2049-2.4185-25.5776-16.751-23.1681-32.0125.0167-.1057.034-.2114.0519-.3169.1158-.7872.2789-1.5667.4884-2.3342h27.4184c2.3467.009 4.2468 1.9162 4.2558 4.2717z" opacity=".1"/><path d="m50.2321 24.342h-25.5812c-2.5842 15.2341 7.6245 29.6865 22.8019 32.2803.4596.0785.921.1455 1.3839.2008-7.2092 3.4314-12.4627 13.1769-12.9092 21.2067-.0387.3877-.0542.7775-.0465 1.1671 0 .3968 0 .7703.0232 1.1671.042.7847.1431 1.565.3023 2.3343h14.0232c1.7245-.0116 3.2737-1.0605 3.9302-2.6611.2148-.5096.3255-1.0573.3256-1.6106v-49.8129c-.0088-2.3545-1.9076-4.2614-4.2534-4.2717z" opacity=".2"/><path d="m50.2332 24.342h-25.5812c-2.5837 15.2355 7.6266 29.6885 22.8054 32.2819.3105.053.6219.1008.9339.1432-6.9766 3.6788-12.0231 13.401-12.4603 21.2627h14.3022c2.343-.0178 4.2381-1.9199 4.2558-4.2717v-45.1444c-.009-2.3554-1.9091-4.2627-4.2558-4.2717z" opacity=".2"/><path d="m47.9068 24.342h-23.2556c-2.4396 14.3825 6.539 28.2329 20.6278 31.8205-5.3347 6.1179-8.6068 13.7714-9.3488 21.8673h11.9767c2.3467-.009 4.2468-1.9162 4.2558-4.2717v-45.1444c-.0013-2.3586-1.906-4.2703-4.2559-4.2717z" opacity=".2"/></g><path d="m5.26276 24.342h42.63684c2.3543 0 4.2628 1.9157 4.2628 4.2787v42.7961c0 2.3631-1.9085 4.2787-4.2628 4.2787h-42.63684c-2.35426 0-4.26276-1.9156-4.26276-4.2787v-42.7961c0-2.363 1.9085-4.2787 4.26276-4.2787z" fill="url(#a)"/><path d="m20.0404 49.4935c-.999-.6651-1.8334-1.5506-2.4395-2.5887-.5873-1.0853-.8801-2.3065-.8489-3.5411-.0523-1.6716.5097-3.3042 1.579-4.5868 1.1237-1.2842 2.5762-2.2351 4.2-2.7498 1.8507-.6114 3.789-.9126 5.7372-.8916 2.5619-.094 5.1203.2656 7.5581 1.0621v5.3688c-1.0592-.6441-2.2129-1.1168-3.4186-1.4006-1.3083-.322-2.6507-.4835-3.9977-.4809-1.4204-.0523-2.8318.2476-4.1093.8731-.9862.4269-1.6258 1.4009-1.6278 2.4789-.004.654.2463 1.2838.6976 1.7554.5332.556 1.1638 1.0087 1.8605 1.3352.7752.3875 1.938.9026 3.4884 1.5453.1707.0542.3371.1213.4976.2008 1.5259.5985 2.9979 1.3272 4.4 2.1778 1.0618.6571 1.9529 1.558 2.6 2.6284.6635 1.2134.985 2.5852.9302 3.9682.0758 1.7162-.4473 3.4052-1.479 4.7759-1.0284 1.2601-2.4032 2.1888-3.9535 2.6704-1.8235.5736-3.7265.851-5.6372.8216-1.7143.0078-3.426-.1328-5.1162-.4202-1.4272-.2344-2.8199-.6452-4.1465-1.2231v-5.6606c1.268.909 2.6847 1.5884 4.186 2.0075 1.4962.468 3.0516.718 4.6186.7423 1.4503.0922 2.898-.2162 4.186-.8917.9023-.511 1.451-1.479 1.4279-2.5186.0061-.7234-.279-1.4186-.7906-1.9281-.6363-.6269-1.3729-1.1422-2.1791-1.5243-.9302-.4669-2.3-1.0823-4.1093-1.8464-1.4393-.5808-2.8174-1.3041-4.1139-2.1592z" fill="#fff"/></svg>
|
After Width: | Height: | Size: 3.7 KiB |
|
@ -0,0 +1 @@
|
|||
<svg fill="none" height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg"><path d="m21.0097 63.1921c0 5.7819-4.723 10.505-10.5048 10.505-5.78176 0-10.5049-4.7231-10.5049-10.505 0-5.7817 4.72314-10.5048 10.5049-10.5048h10.5048z" fill="#e01e5a"/><path d="m26.3029 63.1921c0-5.7817 4.7231-10.5048 10.505-10.5048 5.7817 0 10.5048 4.7231 10.5048 10.5048v26.303c0 5.7817-4.7231 10.5049-10.5048 10.5049-5.7819 0-10.505-4.7232-10.505-10.5049z" fill="#e01e5a"/><path d="m36.8079 21.0097c-5.7819 0-10.505-4.723-10.505-10.5048 0-5.78176 4.7231-10.5049 10.505-10.5049 5.7817 0 10.5048 4.72314 10.5048 10.5049v10.5048z" fill="#36c5f0"/><path d="m36.8079 26.303c5.7817 0 10.5048 4.723 10.5048 10.5048 0 5.7817-4.7231 10.5049-10.5048 10.5049h-26.303c-5.78176 0-10.5049-4.7232-10.5049-10.5049 0-5.7818 4.72314-10.5048 10.5049-10.5048z" fill="#36c5f0"/><path d="m78.9903 36.8078c0-5.7818 4.7231-10.5048 10.5049-10.5048 5.7817 0 10.5048 4.723 10.5048 10.5048 0 5.7817-4.7231 10.5049-10.5048 10.5049h-10.5049z" fill="#2eb67d"/><path d="m73.6971 36.8079c0 5.7817-4.7231 10.5048-10.5048 10.5048-5.7819 0-10.505-4.7231-10.505-10.5048v-26.303c0-5.78176 4.7231-10.5049 10.505-10.5049 5.7817 0 10.5048 4.72314 10.5048 10.5049z" fill="#2eb67d"/><g fill="#ecb22e"><path d="m63.1923 78.9902c5.7817 0 10.5048 4.7232 10.5048 10.5049s-4.7231 10.5048-10.5048 10.5048c-5.7819 0-10.505-4.7231-10.505-10.5048v-10.5049z"/><path d="m63.1923 73.6971c-5.7819 0-10.505-4.7231-10.505-10.505 0-5.7817 4.7231-10.5048 10.505-10.5048h26.3028c5.7817 0 10.5049 4.7231 10.5049 10.5048 0 5.7819-4.7232 10.505-10.5049 10.505z"/></g></svg>
|
After Width: | Height: | Size: 1.6 KiB |
|
@ -0,0 +1 @@
|
|||
<svg fill="none" height="100" viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg"><g fill="#03363d"><path d="m46.1924 32.8712v52.5618h-46.1924z"/><path d="m46.1924 14c0 5.7732-2.4333 11.31-6.7647 15.3924-4.3314 4.0822-10.206 6.3757-16.3315 6.3757-6.1256 0-12.0001-2.2935-16.33147-6.3757-4.33139-4.0824-6.76473-9.6192-6.76473-15.3924z"/><path d="m53.8026 85.425c0-5.7732 2.4334-11.31 6.7648-15.3923 4.3313-4.0823 10.2059-6.3757 16.3314-6.3757 6.1256 0 12.0001 2.2934 16.3315 6.3757 4.3315 4.0823 6.7647 9.6191 6.7647 15.3923z"/><path d="m53.8026 66.5618v-52.5618h46.1974z"/></g></svg>
|
After Width: | Height: | Size: 600 B |
304
x-pack/plugins/enterprise_search/server/integrations.ts
Normal file
|
@ -0,0 +1,304 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License
|
||||
* 2.0; you may not use this file except in compliance with the Elastic License
|
||||
* 2.0.
|
||||
*/
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import type { HttpServiceSetup } from 'src/core/server';
|
||||
|
||||
import type { IntegrationCategory } from '../../../../src/plugins/custom_integrations/common';
|
||||
import type { CustomIntegrationsPluginSetup } from '../../../../src/plugins/custom_integrations/server';
|
||||
|
||||
interface WorkplaceSearchIntegration {
|
||||
id: string;
|
||||
title: string;
|
||||
description: string;
|
||||
categories: IntegrationCategory[];
|
||||
uiInternalPath?: string;
|
||||
}
|
||||
|
||||
const workplaceSearchIntegrations: WorkplaceSearchIntegration[] = [
|
||||
{
|
||||
id: 'box',
|
||||
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.boxName', {
|
||||
defaultMessage: 'Box',
|
||||
}),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.boxDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your files and folders stored on Box with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['document_storage'],
|
||||
},
|
||||
{
|
||||
id: 'confluence_cloud',
|
||||
title: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.confluenceCloudName',
|
||||
{
|
||||
defaultMessage: 'Confluence Cloud',
|
||||
}
|
||||
),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.confluenceCloudDescription',
|
||||
{
|
||||
defaultMessage:
|
||||
'Search over your organizational content on Confluence Cloud with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['knowledge_platform'],
|
||||
},
|
||||
{
|
||||
id: 'confluence_server',
|
||||
title: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.confluenceServerName',
|
||||
{
|
||||
defaultMessage: 'Confluence Server',
|
||||
}
|
||||
),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.confluenceServerDescription',
|
||||
{
|
||||
defaultMessage:
|
||||
'Search over your organizational content on Confluence Server with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['knowledge_platform'],
|
||||
},
|
||||
{
|
||||
id: 'dropbox',
|
||||
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.dropboxName', {
|
||||
defaultMessage: 'Dropbox',
|
||||
}),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.dropboxDescription',
|
||||
{
|
||||
defaultMessage:
|
||||
'Search over your files and folders stored on Dropbox with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['document_storage'],
|
||||
},
|
||||
{
|
||||
id: 'github',
|
||||
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.githubName', {
|
||||
defaultMessage: 'GitHub',
|
||||
}),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.githubDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your projects and repos on GitHub with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['software_development'],
|
||||
},
|
||||
{
|
||||
id: 'github_enterprise_server',
|
||||
title: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.githubEnterpriseServerName',
|
||||
{
|
||||
defaultMessage: 'GitHub Enterprise Server',
|
||||
}
|
||||
),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.githubEnterpriseServerDescription',
|
||||
{
|
||||
defaultMessage:
|
||||
'Search over your projects and repos on GitHub Enterprise Server with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['software_development'],
|
||||
},
|
||||
{
|
||||
id: 'gmail',
|
||||
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.gmailName', {
|
||||
defaultMessage: 'Gmail',
|
||||
}),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.gmailDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your emails managed by Gmail with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['communication'],
|
||||
},
|
||||
{
|
||||
id: 'google_drive',
|
||||
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.googleDriveName', {
|
||||
defaultMessage: 'Google Drive',
|
||||
}),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.googleDriveDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your documents on Google Drive with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['document_storage'],
|
||||
},
|
||||
{
|
||||
id: 'jira_cloud',
|
||||
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.jiraCloudName', {
|
||||
defaultMessage: 'Jira Cloud',
|
||||
}),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.jiraCloudDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your project workflow on Jira Cloud with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['project_management'],
|
||||
},
|
||||
{
|
||||
id: 'jira_server',
|
||||
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.jiraServerName', {
|
||||
defaultMessage: 'Jira Server',
|
||||
}),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.jiraServerDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your project workflow on Jira Server with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['project_management'],
|
||||
},
|
||||
{
|
||||
id: 'onedrive',
|
||||
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.onedriveName', {
|
||||
defaultMessage: 'OneDrive',
|
||||
}),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.onedriveDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your files stored on OneDrive with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['document_storage'],
|
||||
uiInternalPath: '/app/enterprise_search/workplace_search/sources/add/one_drive',
|
||||
},
|
||||
{
|
||||
id: 'salesforce',
|
||||
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.salesforceName', {
|
||||
defaultMessage: 'Salesforce',
|
||||
}),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.salesforceDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your content on Salesforce with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['crm'],
|
||||
},
|
||||
{
|
||||
id: 'salesforce_sandbox',
|
||||
title: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.salesforceSandboxName',
|
||||
{
|
||||
defaultMessage: 'Salesforce Sandbox',
|
||||
}
|
||||
),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.salesforceSandboxDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your content on Salesforce Sandbox with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['crm'],
|
||||
},
|
||||
{
|
||||
id: 'servicenow',
|
||||
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.servicenowName', {
|
||||
defaultMessage: 'ServiceNow',
|
||||
}),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.servicenowDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your content on ServiceNow with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['enterprise_management'],
|
||||
},
|
||||
{
|
||||
id: 'sharepoint_online',
|
||||
title: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.sharepointOnlineName',
|
||||
{
|
||||
defaultMessage: 'SharePoint Online',
|
||||
}
|
||||
),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.sharepointOnlineDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your files stored on SharePoint Online with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['document_storage'],
|
||||
uiInternalPath: '/app/enterprise_search/workplace_search/sources/add/share_point',
|
||||
},
|
||||
{
|
||||
id: 'slack',
|
||||
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.slackName', {
|
||||
defaultMessage: 'Slack',
|
||||
}),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.slackDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your messages on Slack with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['communication'],
|
||||
},
|
||||
{
|
||||
id: 'zendesk',
|
||||
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.zendeskName', {
|
||||
defaultMessage: 'Zendesk',
|
||||
}),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.zendeskDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your tickets on Zendesk with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['customer_support'],
|
||||
},
|
||||
{
|
||||
id: 'custom_api_source',
|
||||
title: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.customApiSourceName',
|
||||
{
|
||||
defaultMessage: 'Custom API Source',
|
||||
}
|
||||
),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.customApiSourceDescription',
|
||||
{
|
||||
defaultMessage:
|
||||
'Search over anything by building your own integration with Workplace Search.',
|
||||
}
|
||||
),
|
||||
categories: ['custom'],
|
||||
uiInternalPath: '/app/enterprise_search/workplace_search/sources/add/custom',
|
||||
},
|
||||
];
|
||||
|
||||
export const registerEnterpriseSearchIntegrations = (
|
||||
http: HttpServiceSetup,
|
||||
customIntegrations: CustomIntegrationsPluginSetup
|
||||
) => {
|
||||
workplaceSearchIntegrations.forEach((integration) => {
|
||||
customIntegrations.registerCustomIntegration({
|
||||
uiInternalPath: `/app/enterprise_search/workplace_search/sources/add/${integration.id}`,
|
||||
icons: [
|
||||
{
|
||||
type: 'svg',
|
||||
src: http.basePath.prepend(
|
||||
`/plugins/enterpriseSearch/assets/source_icons/${integration.id}.svg`
|
||||
),
|
||||
},
|
||||
],
|
||||
isBeta: false,
|
||||
shipper: 'enterprise_search',
|
||||
...integration,
|
||||
});
|
||||
});
|
||||
};
|
|
@ -15,6 +15,7 @@ import {
|
|||
KibanaRequest,
|
||||
DEFAULT_APP_CATEGORIES,
|
||||
} from '../../../../src/core/server';
|
||||
import { CustomIntegrationsPluginSetup } from '../../../../src/plugins/custom_integrations/server';
|
||||
import { UsageCollectionSetup } from '../../../../src/plugins/usage_collection/server';
|
||||
import { PluginSetupContract as FeaturesPluginSetup } from '../../features/server';
|
||||
import { InfraPluginSetup } from '../../infra/server';
|
||||
|
@ -31,6 +32,7 @@ import {
|
|||
import { registerTelemetryUsageCollector as registerASTelemetryUsageCollector } from './collectors/app_search/telemetry';
|
||||
import { registerTelemetryUsageCollector as registerESTelemetryUsageCollector } from './collectors/enterprise_search/telemetry';
|
||||
import { registerTelemetryUsageCollector as registerWSTelemetryUsageCollector } from './collectors/workplace_search/telemetry';
|
||||
import { registerEnterpriseSearchIntegrations } from './integrations';
|
||||
|
||||
import { checkAccess } from './lib/check_access';
|
||||
import { entSearchHttpAgent } from './lib/enterprise_search_http_agent';
|
||||
|
@ -55,6 +57,7 @@ interface PluginsSetup {
|
|||
security?: SecurityPluginSetup;
|
||||
features: FeaturesPluginSetup;
|
||||
infra: InfraPluginSetup;
|
||||
customIntegrations?: CustomIntegrationsPluginSetup;
|
||||
}
|
||||
|
||||
interface PluginsStart {
|
||||
|
@ -80,11 +83,15 @@ export class EnterpriseSearchPlugin implements Plugin {
|
|||
|
||||
public setup(
|
||||
{ capabilities, http, savedObjects, getStartServices }: CoreSetup<PluginsStart>,
|
||||
{ usageCollection, security, features, infra }: PluginsSetup
|
||||
{ usageCollection, security, features, infra, customIntegrations }: PluginsSetup
|
||||
) {
|
||||
const config = this.config;
|
||||
const log = this.logger;
|
||||
|
||||
if (customIntegrations) {
|
||||
registerEnterpriseSearchIntegrations(http, customIntegrations);
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize config.ssl.certificateAuthorities file(s) - required for all API calls (+ access checks)
|
||||
*/
|
||||
|
|