[Enterprise Search] Add integration tiles for new connectors (#150369)

## Summary

This adds a bunch of integration tiles for our new connectors: Azure
Cloud, Google Cloud, Amazon S3, MS SQL, PostgreSQL and Oracle.
This commit is contained in:
Sander Philipse 2023-02-07 12:59:48 +01:00 committed by GitHub
parent ec192acac2
commit a496623003
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 246 additions and 1 deletions

View file

@ -22,7 +22,7 @@ export default function ({ getService }: FtrProviderContext) {
expect(resp.body).to.be.an('array');
expect(resp.body.length).to.be(43);
expect(resp.body.length).to.be(49);
// Test for sample data card
expect(resp.body.findIndex((c: { id: string }) => c.id === 'sample_data_all')).to.be.above(

View file

@ -0,0 +1,14 @@
<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M32.4738 47.4258L54.6809 52.7991V11.104L32.4738 16.4809V47.4258Z" fill="#8C3123"/>
<path d="M54.6818 11.104L58.9493 13.2373V50.6782L54.6818 52.8107V11.104Z" fill="#E05243"/>
<path d="M42.16 18.5387L32.4738 16.1422V0L42.16 4.84267V18.5387Z" fill="#E05243"/>
<path d="M32.4738 64L42.1591 59.1591V45.4631L32.4738 47.8587V64Z" fill="#E05243"/>
<path d="M42.16 38.8569L32.4738 40.0898V23.9467L42.16 25.1618V38.8569Z" fill="#E05243"/>
<path d="M32.4738 47.4258L10.2658 52.7991V11.104L32.4738 16.4809V47.4258Z" fill="#E05243"/>
<path d="M10.2658 11.104L5.99998 13.2373V50.6782L10.2658 52.8107V11.104Z" fill="#8C3123"/>
<path d="M22.7902 18.5387L32.4738 16.1422V0L22.7902 4.84267V18.5387Z" fill="#8C3123"/>
<path d="M32.4738 64L22.7893 59.1591V45.4631L32.4738 47.8587V64Z" fill="#8C3123"/>
<path d="M22.7902 38.8569L32.4738 40.0898V23.9467L22.7902 25.1618V38.8569Z" fill="#8C3123"/>
<path d="M42.16 18.5387L32.4738 20.304L22.7902 18.5387L32.4738 16.1422L42.16 18.5387Z" fill="#5E1F18"/>
<path d="M42.16 45.4622L32.4738 43.6853L22.7902 45.4622L32.4738 47.8738L42.16 45.4622Z" fill="#F2B0A9"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -0,0 +1,13 @@
<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_857_78974)">
<path d="M46.3439 3.99999H17.6561C16.4718 3.99999 15.3787 4.63106 14.7874 5.65633L0.443484 30.5014C-0.147828 31.5266 -0.147828 32.7888 0.443484 33.814L14.7874 58.6591C15.3787 59.6844 16.4735 60.3154 17.6561 60.3154H46.3439C47.5282 60.3154 48.6213 59.6844 49.2126 58.6591L63.5565 33.814C64.1478 32.7888 64.1478 31.5266 63.5565 30.5014L49.2126 5.65633C48.6213 4.63106 47.5282 3.99999 46.3439 3.99999Z" fill="#2979FF"/>
<path d="M45.2507 50.3774H18.7493C17.835 50.3774 17.093 49.6354 17.093 48.7211V15.5944C17.093 14.6801 17.835 13.938 18.7493 13.938H40.2817L46.9071 20.5634V48.7211C46.9071 49.6354 46.165 50.3774 45.2507 50.3774Z" fill="white"/>
<path d="M40.2817 13.938V18.907C40.2817 19.8213 41.0237 20.5634 41.938 20.5634H46.9071L40.2817 13.938Z" fill="#B1CFFF"/>
<path d="M29.1263 31.8778H26.9151V24.8367L24.7419 25.4711V23.7965L28.9225 22.3505H29.1246L29.1263 31.8778ZM39.7881 27.9837C39.7881 28.6728 39.7069 29.2691 39.5463 29.7742C39.3856 30.2761 39.1587 30.6952 38.8655 31.0264C38.574 31.3577 38.2245 31.6045 37.8187 31.7652C37.4129 31.9258 36.9657 32.007 36.4771 32.007C35.9835 32.007 35.533 31.9258 35.1255 31.7652C34.7181 31.6045 34.3686 31.3577 34.0771 31.0264C33.7855 30.6952 33.5553 30.2761 33.393 29.7742C33.229 29.2691 33.1495 28.6728 33.1495 27.9837V26.2429C33.1495 25.5589 33.2307 24.9626 33.3913 24.4574C33.552 23.9522 33.7789 23.5332 34.0721 23.2019C34.3636 22.8706 34.7131 22.6238 35.1189 22.4632C35.5214 22.3009 35.9702 22.2197 36.4638 22.2197C36.9525 22.2197 37.3997 22.3009 37.8071 22.4615C38.2146 22.6222 38.5657 22.869 38.8589 23.2002C39.1504 23.5315 39.3773 23.9506 39.5413 24.4558C39.7053 24.9609 39.7881 25.5572 39.7881 26.2413V27.9837ZM37.5819 25.963C37.5819 25.5837 37.5554 25.2657 37.504 25.004C37.451 24.7473 37.3781 24.5353 37.2821 24.3729C37.186 24.2123 37.0684 24.0963 36.9309 24.0268C36.7934 23.9572 36.6394 23.9224 36.4638 23.9224C36.2899 23.9224 36.1326 23.9572 35.9951 24.0268C35.8576 24.0963 35.7417 24.2123 35.6489 24.3729C35.5545 24.5336 35.4833 24.7456 35.4336 25.004C35.3839 25.2657 35.3591 25.5837 35.3591 25.963V28.2537C35.3591 28.6413 35.3822 28.9676 35.4336 29.2293C35.4833 29.491 35.5578 29.703 35.6539 29.8604C35.75 30.021 35.8676 30.1353 36.0067 30.2049C36.1458 30.2745 36.3032 30.3092 36.4771 30.3092C36.6477 30.3092 36.8001 30.2745 36.9375 30.2049C37.075 30.1353 37.1926 30.021 37.2887 29.8604C37.3848 29.703 37.456 29.491 37.5073 29.2293C37.557 28.9676 37.5835 28.643 37.5835 28.2537L37.5819 25.963ZM30.8538 41.3852C30.8538 42.0742 30.7727 42.6705 30.612 43.1757C30.4513 43.6775 30.2244 44.0966 29.9312 44.4279C29.6397 44.7591 29.2902 45.0059 28.8844 45.1666C28.4786 45.3272 28.0314 45.4084 27.5428 45.4084C27.0492 45.4084 26.5987 45.3272 26.1912 45.1666C25.7838 45.0059 25.4343 44.7591 25.1428 44.4279C24.8513 44.0966 24.621 43.6775 24.4587 43.1757C24.2947 42.6705 24.2152 42.0742 24.2152 41.3852V39.6444C24.2152 38.9603 24.2964 38.364 24.4571 37.8588C24.6177 37.3536 24.8446 36.9346 25.1378 36.6033C25.4293 36.2721 25.7788 36.0253 26.1846 35.8646C26.5904 35.7039 27.0393 35.6228 27.5329 35.6228C28.0215 35.6228 28.4687 35.7039 28.8762 35.8646C29.2836 36.0253 29.6348 36.2721 29.9279 36.6033C30.2194 36.9346 30.4464 37.3536 30.6103 37.8588C30.7743 38.364 30.8571 38.9603 30.8571 39.6444V41.3852H30.8538ZM28.6492 39.3628C28.6492 38.9835 28.6227 38.6655 28.5714 38.4038C28.5184 38.147 28.4455 37.935 28.3494 37.7727C28.2534 37.612 28.1358 37.4961 27.9983 37.4265C27.8608 37.357 27.7068 37.3222 27.5312 37.3222C27.3556 37.3222 27.1999 37.357 27.0625 37.4265C26.925 37.4961 26.809 37.612 26.7163 37.7727C26.6219 37.9334 26.5507 38.1454 26.501 38.4038C26.4513 38.6655 26.4264 38.9835 26.4264 39.3628V41.6535C26.4264 42.0411 26.4496 42.3674 26.501 42.6291C26.5507 42.8908 26.6252 43.1028 26.7213 43.2601C26.8173 43.4208 26.9349 43.5351 27.0741 43.6047C27.2132 43.6742 27.3705 43.709 27.5445 43.709C27.7151 43.709 27.8674 43.6742 28.0049 43.6047C28.1424 43.5351 28.26 43.4208 28.3561 43.2601C28.4521 43.1028 28.5234 42.8908 28.5747 42.6291C28.6244 42.3674 28.6509 42.0427 28.6509 41.6535V39.3628H28.6492ZM38.0605 45.2776H35.8493V38.2365L33.6762 38.8708V37.1963L37.8568 35.7503H38.0589L38.0605 45.2776Z" fill="#03A9F4"/>
</g>
<defs>
<clipPath id="clip0_857_78974">
<rect width="64" height="64" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

View file

@ -0,0 +1,16 @@
<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M45.1514 59.971L33.644 59.9691C34.6977 59.9691 35.618 59.4063 36.1103 58.5701L51.7293 31.9856L41.8651 15.1944L53.3708 15.195C54.354 15.1958 55.31 15.6977 55.8368 16.5946L63.237 29.1878C64.2184 30.8621 64.2899 32.9911 63.2362 34.7848L50.0839 57.1731C49.0992 58.8457 47.259 59.971 45.1514 59.971ZM43.7277 54.3743C43.7277 55.1469 44.3652 55.7735 45.1514 55.7735C45.9377 55.7735 46.5751 55.1469 46.5751 54.3743C46.5751 53.6015 45.9377 52.9751 45.1514 52.9751C44.3652 52.9751 43.7277 53.6015 43.7277 54.3743ZM57.5928 33.198C58.2735 33.5842 59.1442 33.355 59.5373 32.6859C59.9303 32.0169 59.697 31.1614 59.0163 30.775C58.3353 30.3888 57.4649 30.6178 57.0717 31.2871C56.6787 31.9561 56.912 32.8118 57.5928 33.198Z" fill="#DB4437"/>
<path d="M50.0849 6.79945L55.8368 16.5946C55.31 15.6975 54.3542 15.1958 53.371 15.195L22.1355 15.1935L12.2713 31.9846L6.51896 22.1917C6.02807 21.3545 5.99233 20.2899 6.51917 19.3928L13.9161 6.79803C14.901 5.1253 16.7412 4 18.8488 4L45.153 4.0002C47.1193 4.00203 49.031 5.0055 50.0849 6.79945ZM20.2723 9.59687C20.2723 8.82406 19.6349 8.19765 18.8486 8.19765C18.0624 8.19765 17.4249 8.82406 17.4249 9.59687C17.4249 10.3697 18.0624 10.9961 18.8486 10.9961C19.6349 10.9961 20.2723 10.3697 20.2723 9.59687ZM45.865 10.8095C46.5457 10.4231 46.7788 9.56763 46.3856 8.89838C45.9927 8.22933 45.122 8.00009 44.4413 8.38649C43.7603 8.77269 43.5272 9.62835 43.9202 10.2974C44.3134 10.9664 45.1838 11.1957 45.865 10.8095Z" fill="#4285F4"/>
<path d="M0.763973 29.1861L6.51919 19.393C5.99213 20.2899 6.02788 21.3545 6.51877 22.1917L22.1355 48.7774H41.8637L36.1105 58.5699C35.618 59.4063 34.698 59.9691 33.6441 59.9691L18.8469 59.9708C16.8809 59.9691 14.9692 58.9655 13.9153 57.1715L0.76294 34.7832C-0.218438 33.1089 -0.289924 30.9801 0.763973 29.1861ZM6.40741 30.7732C5.72644 30.3868 4.85601 30.616 4.46284 31.2851C4.06987 31.9543 4.30313 32.8098 4.9839 33.1962C5.66466 33.5826 6.5353 33.3533 6.92827 32.6841C7.32144 32.015 7.08818 31.1594 6.40741 30.7732ZM18.1354 53.1619C17.4546 53.5481 17.2212 54.4037 17.6143 55.0728C18.0073 55.742 18.8779 55.9713 19.5589 55.5849C20.2397 55.1987 20.4729 54.343 20.0798 53.674C19.6868 53.0049 18.8162 52.7757 18.1354 53.1619Z" fill="#F4B400"/>
<path opacity="0.1" fill-rule="evenodd" clip-rule="evenodd" d="M36.1114 58.5702L41.8647 48.7779H35.9229L33.6449 59.9695C34.6988 59.9695 35.619 59.4066 36.1114 58.5702Z" fill="black"/>
<path opacity="0.1" fill-rule="evenodd" clip-rule="evenodd" d="M53.3715 15.1955L41.8659 15.1951L44.8367 20.2521L55.8376 16.5952C55.3105 15.6983 54.3548 15.1964 53.3715 15.1955Z" fill="black"/>
<g opacity="0.1">
<mask id="mask0_857_78975" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="6" y="19" width="10" height="13">
<path d="M15.2436 19.3942H6.13879V31.9856H15.2436V19.3942Z" fill="black"/>
</mask>
<g mask="url(#mask0_857_78975)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.51989 22.1923L12.272 31.9852L15.243 26.9282L6.51989 19.3936C5.99325 20.2905 6.029 21.3551 6.51989 22.1923Z" fill="black"/>
</g>
</g>
<path d="M22.1355 48.7776L12.2707 31.9856L22.1355 15.1935H41.8647L51.7293 31.9856L41.8647 48.7776H22.1355ZM40.5422 31.9856C40.5422 27.3489 36.7177 23.5905 32.0001 23.5905C27.2824 23.5905 23.458 27.3489 23.458 31.9856C23.458 36.622 27.2824 40.3807 32.0001 40.3807C36.7177 40.3807 40.5422 36.622 40.5422 31.9856Z" fill="#CCCCCC"/>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -0,0 +1,3 @@
<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M27.6898 33.4076H31.9107L29.6812 29.807L25.5821 36.3102H23.7181L28.7035 28.5081C28.8122 28.3524 28.9566 28.225 29.1246 28.1366C29.2926 28.0482 29.4794 28.0014 29.6693 28C29.8591 27.9987 30.0466 28.0428 30.2159 28.1288C30.3851 28.2148 30.5313 28.3401 30.6422 28.4942L35.6415 36.3102H33.7775L32.8995 34.8561H28.6287L27.6981 33.4076M47.0663 34.8561V28.0788H45.4821V35.5236C45.4818 35.6271 45.5025 35.7295 45.543 35.8247C45.5834 35.9199 45.6428 36.006 45.7175 36.0776C45.7925 36.1543 45.8821 36.2151 45.9811 36.2565C46.08 36.2979 46.1863 36.319 46.2936 36.3185H53.4947L54.4336 34.8644H47.058M20.8737 33.6458C21.6119 33.6458 22.3199 33.3525 22.8419 32.8305C23.3639 32.3085 23.6572 31.6005 23.6572 30.8623C23.6572 30.1241 23.3639 29.4161 22.8419 28.8941C22.3199 28.372 21.6119 28.0788 20.8737 28.0788H13.9495V36.3102H15.531V29.5356H20.7767C21.13 29.5356 21.4689 29.676 21.7187 29.9258C21.9686 30.1757 22.1089 30.5145 22.1089 30.8678C22.1089 31.2211 21.9686 31.56 21.7187 31.8098C21.4689 32.0597 21.13 32.2 20.7767 32.2H16.3148L21.0398 36.3102H23.3359L20.1619 33.6458H20.8737ZM4.22247 36.3102H9.00567C10.0784 36.2824 11.0978 35.8367 11.8467 35.0681C12.5955 34.2996 13.0146 33.2689 13.0146 32.1959C13.0146 31.1228 12.5955 30.0922 11.8467 29.3236C11.0978 28.5551 10.0784 28.1094 9.00567 28.0816H4.22247C3.67319 28.0673 3.12661 28.1632 2.61497 28.3635C2.10333 28.5639 1.637 28.8647 1.24346 29.2481C0.849917 29.6316 0.537145 30.09 0.323585 30.5962C0.110024 31.1025 0 31.6464 0 32.1959C0 32.7453 0.110024 33.2893 0.323585 33.7955C0.537145 34.3018 0.849917 34.7602 1.24346 35.1436C1.637 35.5271 2.10333 35.8279 2.61497 36.0282C3.12661 36.2286 3.67319 36.3245 4.22247 36.3102ZM8.89765 34.8617H4.32772C3.6363 34.8394 2.98067 34.549 2.49946 34.0521C2.01825 33.5551 1.7492 32.8904 1.7492 32.1986C1.7492 31.5069 2.01825 30.8422 2.49946 30.3452C2.98067 29.8483 3.6363 29.5579 4.32772 29.5356H8.89765C9.25459 29.5241 9.6102 29.5845 9.94335 29.7131C10.2765 29.8418 10.5804 30.0361 10.837 30.2845C11.0935 30.5329 11.2975 30.8304 11.4368 31.1592C11.5762 31.488 11.648 31.8415 11.648 32.1986C11.648 32.5558 11.5762 32.9093 11.4368 33.2381C11.2975 33.5669 11.0935 33.8644 10.837 34.1128C10.5804 34.3612 10.2765 34.5555 9.94335 34.6842C9.6102 34.8128 9.25459 34.8732 8.89765 34.8617ZM38.9457 36.3102H43.8286L44.7536 34.8617H39.0537C38.6967 34.8732 38.3411 34.8128 38.008 34.6842C37.6748 34.5555 37.371 34.3612 37.1144 34.1128C36.8578 33.8644 36.6538 33.5669 36.5145 33.2381C36.3752 32.9093 36.3034 32.5558 36.3034 32.1986C36.3034 31.8415 36.3752 31.488 36.5145 31.1592C36.6538 30.8304 36.8578 30.5329 37.1144 30.2845C37.371 30.0361 37.6748 29.8418 38.008 29.7131C38.3411 29.5845 38.6967 29.5241 39.0537 29.5356H43.6929L44.629 28.0816H38.9457C38.3964 28.0673 37.8498 28.1632 37.3382 28.3635C36.8265 28.5639 36.3602 28.8647 35.9667 29.2481C35.5731 29.6316 35.2603 30.09 35.0468 30.5962C34.8332 31.1025 34.7232 31.6464 34.7232 32.1959C34.7232 32.7453 34.8332 33.2893 35.0468 33.7955C35.2603 34.3018 35.5731 34.7602 35.9667 35.1436C36.3602 35.5271 36.8265 35.8279 37.3382 36.0282C37.8498 36.2286 38.3964 36.3245 38.9457 36.3102ZM58.2973 34.8617C57.717 34.8619 57.1525 34.6727 56.6895 34.3227C56.2266 33.9728 55.8906 33.4813 55.7326 32.9229H62.4961L63.4267 31.4716H55.7326C55.8902 30.913 56.2261 30.4213 56.6891 30.0712C57.1521 29.7212 57.7169 29.5322 58.2973 29.5329H62.9392L63.8671 28.0788H58.1893C57.1165 28.1066 56.0971 28.5523 55.3483 29.3209C54.5994 30.0894 54.1803 31.12 54.1803 32.1931C54.1803 33.2662 54.5994 34.2968 55.3483 35.0654C56.0971 35.8339 57.1165 36.2796 58.1893 36.3074H63.0722L64 34.8589H58.2945" fill="#C74634"/>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.8 KiB

View file

@ -471,4 +471,171 @@ export const registerEnterpriseSearchIntegrations = (
shipper: 'enterprise_search',
isBeta: false,
});
customIntegrations.registerCustomIntegration({
id: 'postgresql',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.postgresqlName', {
defaultMessage: 'PostgreSQL',
}),
description: i18n.translate(
'xpack.enterpriseSearch.workplaceSearch.integrations.postgreSQLDescription',
{
defaultMessage: 'Search over your content on PostgreSQL with Enterprise Search.',
}
),
categories: ['enterprise_search', 'elastic_stack', 'custom', 'datastore'],
uiInternalPath: '/app/enterprise_search/content/search_indices/new_index?method=connector',
icons: [
{
type: 'svg',
src: http.basePath.prepend('/plugins/enterpriseSearch/assets/source_icons/postgresql.svg'),
},
],
shipper: 'enterprise_search',
isBeta: false,
});
customIntegrations.registerCustomIntegration({
id: 'oracle',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.oracleName', {
defaultMessage: 'Oracle',
}),
description: i18n.translate(
'xpack.enterpriseSearch.workplaceSearch.integrations.oracleDescription',
{
defaultMessage: 'Search over your content on Oracle with Enterprise Search.',
}
),
categories: ['enterprise_search', 'elastic_stack', 'custom', 'datastore'],
uiInternalPath: '/app/enterprise_search/content/search_indices/new_index?method=connector',
icons: [
{
type: 'svg',
src: http.basePath.prepend('/plugins/enterpriseSearch/assets/source_icons/oracle.svg'),
},
],
shipper: 'enterprise_search',
isBeta: false,
});
customIntegrations.registerCustomIntegration({
id: 'ms_sql',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.msSqlName', {
defaultMessage: 'Microsoft SQL',
}),
description: i18n.translate(
'xpack.enterpriseSearch.workplaceSearch.integrations.msSqlDescription',
{
defaultMessage: 'Search over your content on Microsoft SQL Server with Enterprise Search.',
}
),
categories: ['enterprise_search', 'custom', 'elastic_stack', 'datastore'],
uiInternalPath: '/app/enterprise_search/content/search_indices/new_index?method=connector',
icons: [
{
type: 'svg',
src: http.basePath.prepend(
'/plugins/enterpriseSearch/assets/source_icons/microsoft_sql.svg'
),
},
],
shipper: 'enterprise_search',
isBeta: false,
});
customIntegrations.registerCustomIntegration({
id: 'ms_sql',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.networkDriveName', {
defaultMessage: 'Network Drive',
}),
description: i18n.translate(
'xpack.enterpriseSearch.workplaceSearch.integrations.netowkrDriveDescription',
{
defaultMessage: 'Search over your Network Drive content with Enterprise Search.',
}
),
categories: ['enterprise_search', 'custom', 'elastic_stack', 'file_storage'],
uiInternalPath: '/app/enterprise_search/content/search_indices/new_index?method=connector',
icons: [
{
type: 'svg',
src: http.basePath.prepend(
'/plugins/enterpriseSearch/assets/source_icons/network_drive.svg'
),
},
],
shipper: 'enterprise_search',
isBeta: false,
});
customIntegrations.registerCustomIntegration({
id: 'amazon_s3',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.s3', {
defaultMessage: 'Amazon S3',
}),
description: i18n.translate(
'xpack.enterpriseSearch.workplaceSearch.integrations.s3Description',
{
defaultMessage: 'Search over your content on Amazon S3 with Enterprise Search.',
}
),
categories: ['enterprise_search', 'datastore', 'elastic_stack'],
uiInternalPath: '/app/enterprise_search/content/search_indices/new_index?method=connector',
icons: [
{
type: 'svg',
src: http.basePath.prepend('/plugins/enterpriseSearch/assets/source_icons/amazon_s3.svg'),
},
],
shipper: 'enterprise_search',
isBeta: false,
});
customIntegrations.registerCustomIntegration({
id: 'google_cloud_storage',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.googleCloud', {
defaultMessage: 'Google Cloud Storage',
}),
description: i18n.translate(
'xpack.enterpriseSearch.workplaceSearch.integrations.googleCloudDescription',
{
defaultMessage: 'Search over your content on Google Cloud Storage with Enterprise Search.',
}
),
categories: ['enterprise_search', 'elastic_stack', 'custom'],
uiInternalPath: '/app/enterprise_search/content/search_indices/new_index?method=connector',
icons: [
{
type: 'svg',
src: http.basePath.prepend(
'/plugins/enterpriseSearch/assets/source_icons/google_cloud.svg'
),
},
],
shipper: 'enterprise_search',
isBeta: false,
});
customIntegrations.registerCustomIntegration({
id: 'azure_cloud_storage',
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.azureCloud', {
defaultMessage: 'Azure Cloud Storage',
}),
description: i18n.translate(
'xpack.enterpriseSearch.workplaceSearch.integrations.azureCloudDescription',
{
defaultMessage: 'Search over your content on Azure Cloud Storage with Enterprise Search.',
}
),
categories: ['enterprise_search', 'elastic_stack', 'custom'],
uiInternalPath: '/app/enterprise_search/content/search_indices/new_index?method=connector',
icons: [
{
type: 'svg',
src: http.basePath.prepend('/plugins/enterpriseSearch/assets/source_icons/azure_cloud.svg'),
},
],
shipper: 'enterprise_search',
isBeta: false,
});
};