chore(ui): add custom storage on UI (#11256)

* chore(ui): add custom storage on UI

* chore: change the custom storage icon

* remove unused local key

* chore: make custom service icon consistent.
This commit is contained in:
Sachin Chaurasiya 2023-05-03 11:39:52 +05:30 committed by GitHub
parent 3ba29e7f0e
commit 3299f6bda2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 106 additions and 17 deletions

View File

@ -14,6 +14,7 @@ $$section
Source Python Class Name to instantiated by the ingestion workflow.
Note that it should implement the `next_record` method so that the Workflow can keep reading and sending records to the OpenMetadata API.
$$
$$section
### Connection Options $(id="connectionOptions")

View File

@ -0,0 +1,29 @@
<svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<defs>
<style>
.cls-1 {
fill: #fff;
}
.cls-2, .cls-3 {
fill: #7147e8;
}
.cls-3 {
opacity: .5;
}
</style>
</defs>
<g id="NsXic7.tif">
<g>
<path class="cls-1" d="m.69,2.58V.69c4.87,0,9.74,0,14.62,0,0,4.87,0,9.74,0,14.62-1.18,0-2.36,0-3.54,0-.17-.01-.35-.03-.52-.04.04,0,.08,0,.12,0,.24,0,.48,0,.72-.02.56-.06,1.11-.18,1.63-.38.41-.16.79-.35,1.11-.66.25-.24.4-.53.4-.89,0-2.1,0-4.2,0-6.3,0-.08,0-.15-.02-.23-.06-.29-.22-.51-.43-.7-.32-.29-.7-.48-1.11-.62-.86-.31-1.75-.43-2.66-.44-.67,0-1.32.07-1.98.2-.39.08-.77.19-1.13.35-.34.15-.66.33-.92.6-.22.23-.35.51-.35.84,0,.68,0,1.35,0,2.03,0,.45,0,.9,0,1.34,0,.05,0,.09-.07.1-.37.04-.73.09-1.1.11-.63.04-1.25,0-1.87-.1-.43-.07-.85-.18-1.26-.33-.31-.12-.6-.27-.85-.49-.19-.17-.3-.38-.29-.65.01-.33,0-.66,0-1,0-.04,0-.08,0-.14.04.03.07.05.1.07.3.24.63.42.99.55.73.27,1.48.38,2.25.41.36.02.72,0,1.09,0,.14,0,.28-.02.42-.04.12-.02.19-.13.18-.24,0-.11-.1-.2-.22-.21-.04,0-.07,0-.11,0-.12,0-.23.02-.35.03-.7.04-1.39-.01-2.07-.12-.47-.07-.92-.2-1.36-.4-.25-.12-.49-.26-.68-.45-.16-.16-.25-.34-.25-.57,0-.34,0-.69,0-1.03,0-.04,0-.08,0-.14.04.03.07.05.1.08.29.23.61.41.96.54.63.23,1.29.34,1.96.4.48.04.97.05,1.45.02.13,0,.26-.02.38-.04.17-.04.23-.24.12-.36-.07-.08-.17-.08-.26-.07-.15.01-.3.02-.45.03-.57.03-1.13,0-1.69-.08-.46-.06-.9-.16-1.34-.32-.34-.13-.68-.29-.95-.54-.18-.17-.29-.36-.29-.62.01-.37,0-.73,0-1.1,0-.02,0-.03,0-.06.03.02.06.04.08.06.32.25.67.44,1.06.57.65.22,1.32.33,2,.38.6.04,1.2.03,1.8-.03.48-.05.95-.14,1.41-.28.47-.15.91-.34,1.29-.67.01-.01.03-.02.05-.03,0,.29,0,.57,0,.85,0,.04,0,.08.01.11.02.1.1.17.19.18.1,0,.2-.06.23-.16.01-.04.02-.09.02-.14,0-.55,0-1.1,0-1.66,0-.34-.12-.62-.35-.86-.31-.33-.71-.53-1.13-.68-.9-.33-1.84-.45-2.79-.47-.5,0-1,.04-1.5.11-.19.03-.38.07-.56.11-.11.03-.16.11-.16.23,0,.09.07.18.17.19.07.01.14,0,.21-.01.59-.12,1.18-.19,1.78-.19.55,0,1.09.05,1.63.15.52.1,1.03.23,1.49.49.18.1.36.21.51.35.29.27.33.61.06.93-.14.17-.33.28-.52.39-.42.22-.87.37-1.34.46-.46.1-.93.16-1.41.18-.55.02-1.1,0-1.65-.08-.6-.09-1.18-.23-1.73-.49-.26-.12-.5-.27-.68-.49-.23-.27-.23-.54,0-.81.06-.07.12-.13.18-.19.09-.1.1-.23.02-.31-.09-.09-.22-.1-.33,0-.14.12-.26.26-.35.42-.07.13-.12.27-.12.43,0,2.92,0,5.84,0,8.76,0,.07.01.15.04.22.07.22.22.4.39.56.32.28.7.46,1.1.61.65.23,1.33.35,2.01.4.73.06,1.46.03,2.19-.08.14-.02.14-.02.14.12,0,.06,0,.11,0,.17,0,.24.08.45.23.65.16.22.37.38.6.52.49.29,1.02.46,1.57.58.38.08.76.15,1.15.15.13,0,.25,0,.38,0,0,0,0,.01,0,.02-.11,0-.21,0-.32.02-.05,0-.1,0-.15.01H.69c0-1.31,0-2.63,0-3.94,0-.06.02-.11.02-.17,0-1.71,0-3.43,0-5.14,0-1.13,0-2.25,0-3.38,0-.03,0-.07-.01-.1Zm1.57-.94c.13,0,.23-.1.23-.22,0-.12-.1-.23-.22-.23-.12,0-.24.11-.24.23,0,.13.09.22.22.22Z"/>
<path class="cls-2" d="m10.09,15.31s.1-.01.15-.01c.11,0,.21-.01.32-.02,0,0,0-.01,0-.02-.13,0-.25,0-.38,0-.39,0-.77-.07-1.15-.15-.55-.12-1.08-.28-1.57-.58-.23-.14-.44-.3-.6-.52-.14-.19-.22-.41-.23-.65,0-.06,0-.11,0-.17,0-.14,0-.14-.14-.12-.73.11-1.46.15-2.19.08-.69-.06-1.36-.17-2.01-.4-.4-.14-.78-.32-1.1-.61-.18-.15-.32-.33-.39-.56-.02-.07-.04-.15-.04-.22,0-2.92,0-5.84,0-8.76,0-.16.04-.3.12-.43.09-.16.21-.3.35-.42.11-.09.24-.09.33,0,.08.09.07.21-.02.31-.06.07-.12.13-.18.19-.22.27-.22.54,0,.81.19.22.43.36.68.49.55.26,1.13.4,1.73.49.55.08,1.1.1,1.65.08.47-.01.94-.08,1.41-.18.47-.1.92-.24,1.34-.46.19-.1.38-.22.52-.39.27-.32.23-.66-.06-.93-.15-.14-.33-.25-.51-.35-.47-.25-.97-.39-1.49-.49-.54-.1-1.08-.15-1.63-.15-.6,0-1.19.07-1.78.19-.07.01-.14.02-.21.01-.1-.02-.17-.11-.17-.19,0-.12.05-.2.16-.23.19-.04.37-.08.56-.11.5-.08,1-.12,1.5-.11.95.01,1.89.13,2.79.47.42.16.81.36,1.13.68.23.24.35.52.35.86,0,.55,0,1.1,0,1.66,0,.05,0,.1-.02.14-.03.1-.13.17-.23.16-.09,0-.17-.08-.19-.18,0-.04-.01-.08-.01-.11,0-.28,0-.56,0-.85-.02.01-.04.02-.05.03-.38.32-.82.52-1.29.67-.46.15-.93.23-1.41.28-.6.06-1.2.08-1.8.03-.68-.05-1.35-.16-2-.38-.38-.13-.73-.33-1.06-.57-.02-.02-.05-.03-.08-.06,0,.03,0,.04,0,.06,0,.37.01.73,0,1.1,0,.26.1.45.29.62.28.25.61.41.95.54.43.16.88.27,1.34.32.56.07,1.13.11,1.69.08.15,0,.3-.02.45-.03.1,0,.19,0,.26.07.11.13.05.32-.12.36-.12.03-.25.04-.38.04-.48.03-.97.02-1.45-.02-.67-.05-1.33-.17-1.96-.4-.35-.13-.67-.31-.96-.54-.03-.02-.06-.05-.1-.08,0,.06,0,.1,0,.14,0,.34,0,.69,0,1.03,0,.23.09.42.25.57.2.19.43.34.68.45.43.2.89.33,1.36.4.69.11,1.38.16,2.07.12.12,0,.23-.02.35-.03.04,0,.07,0,.11,0,.12.01.21.1.22.21,0,.11-.07.22-.18.24-.14.02-.28.04-.42.04-.36,0-.73.02-1.09,0-.77-.03-1.53-.14-2.25-.41-.36-.13-.69-.31-.99-.55-.03-.02-.06-.04-.1-.07,0,.06,0,.1,0,.14,0,.33.01.66,0,1,0,.27.1.48.29.65.25.22.54.37.85.49.41.16.83.27,1.26.33.62.1,1.24.14,1.87.1.37-.02.73-.07,1.1-.11.07,0,.07-.04.07-.1,0-.45,0-.9,0-1.34,0-.68,0-1.35,0-2.03,0-.33.13-.6.35-.84.26-.27.58-.45.92-.6.36-.16.74-.27,1.13-.35.65-.13,1.31-.21,1.98-.2.91,0,1.8.13,2.66.44.4.14.78.33,1.11.62.21.19.37.42.43.7.01.07.02.15.02.23,0,2.1,0,4.2,0,6.3,0,.36-.15.65-.4.89-.32.31-.7.5-1.11.66-.53.2-1.07.32-1.63.38-.24.03-.48.02-.72.02-.04,0-.08,0-.12,0,.17.01.35.03.52.04h-1.68Zm-3.02-7.46s0,.03,0,.04c0,.37,0,.74,0,1.12,0,.2.07.37.2.51.26.28.58.46.93.6.71.27,1.44.39,2.19.44.62.04,1.24,0,1.86-.09.41-.06.82-.15,1.22-.28.36-.12.7-.28.99-.54.18-.16.29-.35.29-.59,0-.38,0-.76,0-1.14,0-.02,0-.03,0-.06-.02.02-.04.03-.05.04-.26.23-.57.39-.89.52-.62.25-1.27.38-1.93.43-.41.03-.81.03-1.22.05-.06,0-.12,0-.18-.01-.11-.02-.19-.12-.19-.23,0-.1.1-.2.21-.21.05,0,.09,0,.14,0,.49.01.97-.01,1.46-.08.56-.08,1.1-.2,1.63-.41.29-.12.58-.27.8-.5.16-.16.26-.35.22-.59-.04-.2-.16-.35-.31-.47-.25-.18-.52-.32-.8-.44-.79-.31-1.61-.42-2.45-.45-.78-.03-1.56.05-2.32.24-.43.11-.84.25-1.22.48-.17.1-.33.22-.44.38-.17.24-.16.49.01.72.13.17.3.3.48.41.28.17.58.28.89.39.04.01.08.03.11.05.15.09.14.3,0,.38-.08.05-.16.03-.25,0-.47-.14-.9-.35-1.29-.65-.02-.02-.05-.03-.08-.05Zm0,2.12s0,.08,0,.11c0,.35,0,.7,0,1.04,0,.22.07.4.22.55.21.23.47.38.75.5.48.21.98.35,1.5.42.39.05.78.09,1.17.1.53.02,1.06-.03,1.59-.11.55-.08,1.08-.21,1.58-.44.04-.02.08-.04.13-.04.09-.02.2.05.23.14.04.09,0,.21-.09.27-.07.04-.14.08-.22.11-.65.28-1.33.41-2.02.48-.5.05-1,.06-1.51.03-.59-.03-1.17-.11-1.75-.26-.55-.14-1.07-.37-1.52-.72-.02-.02-.04-.03-.06-.04,0,.01,0,.02,0,.02,0,.37.01.74,0,1.11,0,.24.08.42.24.59.16.16.34.29.54.39.3.16.62.27.95.36.44.12.9.19,1.36.22.61.04,1.22.04,1.83-.04.49-.06.98-.15,1.45-.31.35-.12.68-.26.98-.49.24-.19.36-.43.36-.75,0-1.06,0-2.12,0-3.18,0-.02,0-.05,0-.08-.02.01-.03.02-.04.03-.26.23-.56.39-.88.52-.75.31-1.54.44-2.34.47-.44.02-.89,0-1.33-.01-.5-.02-.99-.11-1.47-.23-.51-.13-.99-.32-1.42-.64-.06-.05-.12-.09-.2-.15Zm-.46.96s-.04,0-.06,0c-.49.1-.99.12-1.49.12-.67,0-1.34-.05-2-.2-.65-.14-1.27-.36-1.8-.79-.02-.02-.05-.03-.08-.05,0,.02,0,.03,0,.05,0,.41,0,.81,0,1.22,0,.08.03.16.06.23.11.21.29.36.48.48.34.22.71.36,1.1.47.55.15,1.11.23,1.67.26.68.03,1.36,0,2.03-.11.08-.01.09-.04.09-.11,0-.5,0-.99,0-1.49,0-.03,0-.06,0-.09Z"/>
<path d="m.69,2.58s.01.07.01.1c0,1.13,0,2.25,0,3.38,0,1.71,0,3.43,0,5.14,0,.06,0,.11-.02.17,0-2.93,0-5.86,0-8.79Z"/>
<path class="cls-3" d="m2.27,1.64c-.13,0-.22-.09-.22-.22,0-.12.11-.23.24-.23.12,0,.22.1.22.23,0,.12-.11.22-.23.22Z"/>
<path class="cls-1" d="m7.08,7.85s.06.04.08.05c.39.3.82.51,1.29.65.08.03.17.04.25,0,.15-.08.15-.29,0-.38-.03-.02-.07-.03-.11-.05-.31-.11-.61-.22-.89-.39-.18-.11-.35-.24-.48-.41-.18-.23-.18-.48-.01-.72.12-.16.27-.28.44-.38.38-.23.79-.38,1.22-.48.76-.19,1.54-.27,2.32-.24.84.03,1.66.14,2.45.45.29.11.56.25.8.44.16.12.28.26.31.47.04.24-.06.42-.22.59-.22.23-.51.38-.8.5-.52.22-1.07.34-1.63.41-.48.07-.97.09-1.46.08-.05,0-.09,0-.14,0-.11,0-.2.11-.21.21,0,.11.08.21.19.23.06,0,.12.02.18.01.41-.01.82-.01,1.22-.05.66-.05,1.31-.18,1.93-.43.32-.13.62-.29.89-.52.01-.01.03-.02.05-.04,0,.02,0,.04,0,.06,0,.38,0,.76,0,1.14,0,.24-.11.44-.29.59-.29.25-.63.41-.99.54-.4.14-.81.22-1.22.28-.62.09-1.24.13-1.86.09-.75-.05-1.49-.16-2.19-.44-.35-.14-.67-.32-.93-.6-.13-.14-.2-.31-.2-.51,0-.37,0-.74,0-1.12,0,0,0-.02,0-.04Zm2.52.94c.13,0,.23-.09.24-.21,0-.12-.11-.23-.23-.23-.12,0-.23.1-.23.22,0,.12.1.22.22.22Z"/>
<path class="cls-1" d="m7.07,9.97c.07.05.13.1.2.15.43.31.91.51,1.42.64.48.12.97.21,1.47.23.44.02.89.03,1.33.01.8-.03,1.59-.16,2.34-.47.32-.13.62-.29.88-.52,0,0,.02-.01.04-.03,0,.03,0,.05,0,.08,0,1.06,0,2.12,0,3.18,0,.32-.12.56-.36.75-.29.23-.63.38-.98.49-.47.16-.96.25-1.45.31-.61.08-1.22.08-1.83.04-.46-.03-.91-.1-1.36-.22-.33-.09-.65-.2-.95-.36-.2-.11-.38-.23-.54-.39-.16-.16-.25-.35-.24-.59,0-.37,0-.74,0-1.11,0,0,0,0,0-.02.02.01.05.02.06.04.45.36.97.58,1.52.72.57.15,1.15.23,1.75.26.5.02,1,.02,1.51-.03.69-.07,1.38-.21,2.02-.48.08-.03.15-.07.22-.11.09-.06.12-.18.09-.27-.04-.09-.14-.16-.23-.14-.04,0-.09.02-.13.04-.5.23-1.04.36-1.58.44-.53.08-1.06.12-1.59.11-.39-.01-.78-.05-1.17-.1-.52-.07-1.02-.21-1.5-.42-.28-.12-.54-.28-.75-.5-.14-.16-.22-.33-.22-.55,0-.35,0-.7,0-1.04,0-.03,0-.06,0-.11Z"/>
<path class="cls-1" d="m6.61,10.93s0,.06,0,.09c0,.5,0,.99,0,1.49,0,.07-.01.1-.09.11-.67.12-1.35.14-2.03.11-.57-.03-1.13-.11-1.67-.26-.39-.11-.76-.25-1.1-.47-.2-.13-.38-.27-.48-.48-.03-.07-.06-.15-.06-.23,0-.41,0-.81,0-1.22,0-.01,0-.02,0-.05.03.02.06.03.08.05.53.43,1.15.64,1.8.79.66.14,1.32.2,2,.2.5,0,1-.02,1.49-.12.02,0,.04,0,.06,0Z"/>
<path class="cls-3" d="m9.59,8.78c-.12,0-.23-.1-.22-.22,0-.12.11-.22.23-.22.12,0,.23.11.23.23,0,.12-.11.22-.24.21Z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@ -0,0 +1,32 @@
<svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16">
<defs>
<style>
.cls-1 {
fill: none;
}
.cls-2 {
clip-path: url(#clippath);
}
.cls-3 {
fill: #7147e8;
}
.cls-4 {
opacity: .5;
}
</style>
<clipPath id="clippath">
<rect class="cls-1" x=".5" y=".5" width="15" height="15"/>
</clipPath>
</defs>
<g class="cls-2">
<g>
<g class="cls-4">
<path class="cls-3" d="m8.03.9c1.28,0,2.52.34,3.61.98l-1.7,1.26-1.52,1.13v-1.4h-.4c-1.15.02-2.27.42-3.16,1.14-1.07.86-1.74,2.08-1.89,3.45-.13,1.22.17,2.43.86,3.43l-1.65,1.21c-.81-1.16-1.26-2.56-1.28-3.98-.03-1.9.69-3.7,2.02-5.07C4.25,1.69,6.03.93,7.93.9h.1m0-.4s-.07,0-.11,0C3.77.56.45,3.97.5,8.13c.02,1.65.58,3.24,1.6,4.54l2.29-1.68c-1.64-2.04-1.32-5.02.72-6.65.83-.67,1.85-1.03,2.92-1.05v1.79l2.16-1.61,2.16-1.61c-1.26-.89-2.77-1.36-4.31-1.36h0Z"/>
</g>
<path class="cls-3" d="m13.82,3.89c1.71,2.45,1.73,5.68,0,8.16-1.33,1.91-3.52,3.04-5.85,3.04-1.28,0-2.51-.34-3.61-.98l3.21-2.39v1.4h.4c1.15-.02,2.27-.42,3.16-1.14,1.07-.86,1.74-2.08,1.88-3.45.13-1.22-.17-2.43-.86-3.43l1.65-1.21m.08-.56h0s0,0,0,0h0Zm0,0l-2.29,1.68c1.64,2.04,1.32,5.01-.72,6.65-.83.67-1.86,1.03-2.92,1.05v-1.79l-4.32,3.21c1.31.92,2.82,1.36,4.31,1.36,2.37,0,4.71-1.12,6.18-3.21,1.9-2.71,1.8-6.34-.24-8.95h0Z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,23 @@
<svg version="1.1" id="Layer_2_00000096034091424890845010000002435416763466040722_"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 16 16"
style="enable-background:new 0 0 16 16;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;stroke:#7147E8;stroke-width:0.5;stroke-miterlimit:10;}
.st1{fill:#FFFFFF;stroke:#7147E8;stroke-width:0.5;stroke-linecap:square;stroke-miterlimit:10;}
.st2{fill:none;stroke:#7147E8;stroke-width:0.5;stroke-miterlimit:10;}
.st3{fill:none;stroke:#7147E8;stroke-width:0.5;stroke-linecap:round;stroke-miterlimit:10;}
.st4{fill:#FFFFFF;stroke:#7147E8;stroke-width:0.5;stroke-linejoin:bevel;stroke-miterlimit:10;}
</style>
<polygon class="st0" points="2.9,8.3 2.9,0.4 11.4,0.4 13.1,2.1 13.1,8.3 "/>
<rect x="0.4" y="7.9" class="st0" width="15.2" height="7.8"/>
<polyline class="st1" points="11.2,0.8 11.2,2.5 13.1,2.5 "/>
<line class="st2" x1="4.6" y1="0.4" x2="4.6" y2="7.9"/>
<line class="st2" x1="6.2" y1="0.4" x2="6.2" y2="7.9"/>
<line class="st3" x1="7.1" y1="2.2" x2="9.9" y2="2.2"/>
<line class="st3" x1="7.1" y1="4.3" x2="11.2" y2="4.3"/>
<line class="st3" x1="7.1" y1="5.2" x2="11.2" y2="5.2"/>
<path class="st0" d="M10,12.4H5.9c-0.4,0-0.7-0.3-0.7-0.7l0,0c0-0.4,0.3-0.7,0.7-0.7H10c0.4,0,0.7,0.3,0.7,0.7l0,0
C10.7,12.1,10.4,12.4,10,12.4z"/>
<line class="st4" x1="0.4" y1="7.8" x2="2.9" y2="4.3"/>
<line class="st4" x1="15.7" y1="7.8" x2="13.1" y2="4.3"/>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -39,7 +39,6 @@ import domo from '../assets/img/service-icon-domo.png';
import druid from '../assets/img/service-icon-druid.png';
import dynamodb from '../assets/img/service-icon-dynamodb.png';
import fivetran from '../assets/img/service-icon-fivetran.png';
import databaseDefault from '../assets/img/service-icon-generic.png';
import glue from '../assets/img/service-icon-glue.png';
import hive from '../assets/img/service-icon-hive.png';
import ibmdb2 from '../assets/img/service-icon-ibmdb2.png';
@ -77,6 +76,9 @@ import trino from '../assets/img/service-icon-trino.png';
import vertica from '../assets/img/service-icon-vertica.png';
import dashboardDefault from '../assets/svg/dashboard.svg';
import iconDefaultService from '../assets/svg/default-service-icon.svg';
import databaseDefault from '../assets/svg/ic-custom-database.svg';
import mlModelDefault from '../assets/svg/ic-custom-model.svg';
import storageDefault from '../assets/svg/ic-custom-storage.svg';
import logo from '../assets/svg/logo-monogram.svg';
import pipelineDefault from '../assets/svg/pipeline.svg';
import plus from '../assets/svg/plus.svg';
@ -153,7 +155,8 @@ export const DATABASE_DEFAULT = databaseDefault;
export const TOPIC_DEFAULT = topicDefault;
export const DASHBOARD_DEFAULT = dashboardDefault;
export const PIPELINE_DEFAULT = pipelineDefault;
export const ML_MODEL_DEFAULT = mlflow;
export const ML_MODEL_DEFAULT = mlModelDefault;
export const CUSTOM_STORAGE_DEFAULT = storageDefault;
export const NIFI = nifi;
export const KINESIS = kinesis;
export const QUICKSIGHT = quicksight;

View File

@ -1267,7 +1267,6 @@
"team-moved-success": "Team moved successfully!",
"team-no-asset": "Your team does not have any assets.",
"test-connection-cannot-be-triggered": "Test connection cannot be triggered.",
"test-connection-required-fields-error": "Please fill in all required fields before testing the connection",
"test-connection-taking-too-long": "The test connection is taking too long. Please try again.",
"test-your-connection-before-creating-service": "Test your connections before creating the service",
"testing-your-connection-may-take-two-minutes": "Testing your connections may take up-to 2 minutes",
@ -1382,4 +1381,4 @@
"update-entity-success": "{{entity}} updated successfully.",
"you-have-not-action-anything-yet": "You have not {{action}} anything yet."
}
}
}

View File

@ -1267,7 +1267,6 @@
"team-moved-success": "¡Equipo movido con éxito!",
"team-no-asset": "Tu equipo no tiene ningún activo.",
"test-connection-cannot-be-triggered": "No se puede iniciar la prueba de conexión.",
"test-connection-required-fields-error": "Please fill in all required fields before testing the connection",
"test-connection-taking-too-long": "La prueba de conexión está tardando demasiado. Por favor, inténtalo de nuevo.",
"test-your-connection-before-creating-service": "Prueba la conexión antes de crear el servicio",
"testing-your-connection-may-take-two-minutes": "Probar la conexión puede tardar hasta 2 minutos",
@ -1382,4 +1381,4 @@
"update-entity-success": "{{entity}} actualizado exitosamente.",
"you-have-not-action-anything-yet": "Todavía no has {{action}} nada."
}
}
}

View File

@ -1267,7 +1267,6 @@
"team-moved-success": "L'équipe a été déplacée avec succès !",
"team-no-asset": "Votre equipe n'a pas de resources de données",
"test-connection-cannot-be-triggered": "Le test de connexion ne peut pas être déclenchée.",
"test-connection-required-fields-error": "Please fill in all required fields before testing the connection",
"test-connection-taking-too-long": "Le test de connexion prend trop de temps. Veuillez réessayer.",
"test-your-connection-before-creating-service": "Tester la connexion avant de créer le service",
"testing-your-connection-may-take-two-minutes": "Le test de votre connexion peut prendre jusqu'à 2 minutes",
@ -1382,4 +1381,4 @@
"update-entity-success": "{{entity}} mis à jour avec succès.",
"you-have-not-action-anything-yet": "Vous n'avez encore rien {{action}}."
}
}
}

View File

@ -1267,7 +1267,6 @@
"team-moved-success": "チームの移動が成功しました!",
"team-no-asset": "あなたのチームはアセットを持っていません。",
"test-connection-cannot-be-triggered": "Test connection cannot be triggered.",
"test-connection-required-fields-error": "Please fill in all required fields before testing the connection",
"test-connection-taking-too-long": "The test connection is taking too long. Please try again.",
"test-your-connection-before-creating-service": "サービスを作成する前に接続テストをしてください。",
"testing-your-connection-may-take-two-minutes": "Testing your connections may take up-to 2 minutes",
@ -1382,4 +1381,4 @@
"update-entity-success": "{{entity}}は正常に更新されました。",
"you-have-not-action-anything-yet": "あなたが{{action}}のデータはありません。"
}
}
}

View File

@ -1267,7 +1267,6 @@
"team-moved-success": "Time movido com sucesso!",
"team-no-asset": "Seu time não possui nenhum ativo.",
"test-connection-cannot-be-triggered": "Test connection cannot be triggered.",
"test-connection-required-fields-error": "Please fill in all required fields before testing the connection",
"test-connection-taking-too-long": "The test connection is taking too long. Please try again.",
"test-your-connection-before-creating-service": "Teste suas conexões antes de criar o serviço",
"testing-your-connection-may-take-two-minutes": "Testing your connections may take up-to 2 minutes",
@ -1382,4 +1381,4 @@
"update-entity-success": "{{entity}} atualizado com sucesso.",
"you-have-not-action-anything-yet": "Você ainda não {{action}} nada."
}
}
}

View File

@ -1267,7 +1267,6 @@
"team-moved-success": "团队移动成功",
"team-no-asset": "您的团队没有任何资产",
"test-connection-cannot-be-triggered": "连接测试无法被触发",
"test-connection-required-fields-error": "Please fill in all required fields before testing the connection",
"test-connection-taking-too-long": "连接测试超时,请重新测试",
"test-your-connection-before-creating-service": "在创建服务之前测试您的连接",
"testing-your-connection-may-take-two-minutes": "连接测试可能最多需要2分钟",
@ -1382,4 +1381,4 @@
"update-entity-success": "{{entity}}已成功更新",
"you-have-not-action-anything-yet": "您还没有{{action}}任何内容"
}
}
}

View File

@ -11,7 +11,6 @@
* limitations under the License.
*/
import { ReactComponent as ContainerIcon } from 'assets/svg/ic-storage.svg';
import { AxiosError } from 'axios';
import {
OperationPermission,
@ -48,6 +47,7 @@ import {
AZURESQL,
BIGQUERY,
CLICKHOUSE,
CUSTOM_STORAGE_DEFAULT,
DAGSTER,
DASHBOARD_DEFAULT,
DATABASE_DEFAULT,
@ -303,7 +303,7 @@ export const serviceTypeLogo = (type: string) => {
} else if (serviceTypes.mlmodelServices.includes(type)) {
logo = ML_MODEL_DEFAULT;
} else if (serviceTypes.storageServices.includes(type)) {
logo = ContainerIcon;
logo = CUSTOM_STORAGE_DEFAULT;
} else {
logo = DEFAULT_SERVICE;
}
@ -606,7 +606,8 @@ export const shouldTestConnection = (serviceType: string) => {
serviceType !== MessagingServiceType.CustomMessaging &&
serviceType !== DashboardServiceType.CustomDashboard &&
serviceType !== MlModelServiceType.CustomMlModel &&
serviceType !== PipelineServiceType.CustomPipeline
serviceType !== PipelineServiceType.CustomPipeline &&
serviceType !== StorageServiceType.CustomStorage
);
};

View File

@ -12,6 +12,7 @@
*/
import { COMMON_UI_SCHEMA } from 'constants/Services.constant';
import { StorageServiceType } from 'generated/entity/data/container';
import customConnection from 'jsons/connectionSchemas/connections/storage/customStorageConnection.json';
import s3Connection from 'jsons/connectionSchemas/connections/storage/s3Connection.json';
import { cloneDeep } from 'lodash';
@ -22,6 +23,11 @@ export const getStorageServiceConfig = (type: StorageServiceType) => {
case StorageServiceType.S3: {
schema = s3Connection;
break;
}
case StorageServiceType.CustomStorage: {
schema = customConnection;
break;
}
}