All Downloads are FREE. Search and download functionalities are using the official Maven repository.

assets.3317.9bf1d89926b9972b5b0a.js Maven / Gradle / Ivy

There is a newer version: 1.5.4
Show newest version
"use strict";(self.webpackChunkopen_metadata=self.webpackChunkopen_metadata||[]).push([[3317],{17200:function(e,t,a){a.d(t,{hY:function(){return c},j$:function(){return i},nA:function(){return u},zW:function(){return r}});var n=a(74475),s=[{title:"Create Test Case",body:"To create a test case, add a unique name. Select a test type from the options provided. Fill in the details for the parameters that show up for a selected test type. Enter a description (optional)."},{title:"Test Case Created Successfully",body:"{testCase} has been created successfully. View the Test Suite to check the details of the new created test case. This will be picked up in the next run."},{title:"Test Suite & Test Case Created Successfully",body:"{testSuite} & {testCase} has been created successfully. In the next step, you can schedule to ingest metadata at the desired frequency. You can also view the Test Suite to check the details of the new created test case."}],l=[{title:"Create Test Suite",body:"A Test Suite is a container consisting of multiple but related test cases. With a Test Suite, you can easily deploy a pipeline to execute the Test Cases. Start by selecting an existing test suite or create a new test suite to create a table or column level test for an entity."},{title:"Select Test Cases",body:"Link existing test cases with newly created test suite. you can add multiple test cases."},{title:"Test Suite Created Successfully",body:"{testSuite} has been created successfully. In the next step, you can schedule to ingest metadata at the desired frequency. You can also view the Test Suite to check the details of the new created test case."}],i={title:n.Z.t("label.schedule-for-entity",{entity:n.Z.t("label.test-case-plural")}),body:n.Z.t("message.test-case-schedule-description")},r={title:n.Z.t("label.schedule-for-entity",{entity:n.Z.t("label.test-case-plural")}),body:n.Z.t("message.test-case-schedule-description")+" & "+n.Z.t("message.select-test-case")},c=function(e,t,a){var n=s[e-1];if(3===e)if(t){var l=(n=s[e]).body.replace("{testSuite}",(null==a?void 0:a.testSuite)||"Test Suite").replace("{testCase}",(null==a?void 0:a.testCase)||"Test Case");n.body=l}else l=n.body.replace("{testCase}",(null==a?void 0:a.testCase)||"Test Case"),n.body=l;return n},u=function(e,t){var a=l[e-1];return 3===e&&(a.body=a.body.replace("{testSuite}",t)),a}},42964:function(e,t,a){a.d(t,{S:function(){return R}});var n=a(70655),s=a(15746),l=a(19650),i=a(38272),r=a(56256),c=a(9676),u=a(71230),o=a(71577),d=a(96486),m=a(7606),p=a(67294),f=a(68432),h=a(76),y=a(73213),v=a(62761),b=a(61105),E=a(64632),g=a(22653),C=a(17888),w=a(93895),x=a(24671),Z=a(31982),S=a(40734),T=a(26396),k=a(35850),N=a(59817),R=function(e){var t=e.onCancel,a=e.onSubmit,R=e.cancelText,L=e.submitText,M=e.filters,_=e.selectedTest,A=e.onChange,I=e.showButton,P=void 0===I||I,F=(0,f.$)().t,q=(0,n.CR)((0,p.useState)(),2),W=q[0],Y=q[1],j=(0,n.CR)((0,p.useState)([]),2),z=j[0],B=j[1],D=(0,n.CR)((0,p.useState)(),2),V=D[0],$=D[1],G=(0,n.CR)((0,p.useState)(1),2),H=G[0],J=G[1],K=(0,n.CR)((0,p.useState)(0),2),O=K[0],U=K[1],Q=(0,n.CR)((0,p.useState)(!1),2),X=Q[0],ee=Q[1],te=(0,p.useCallback)((function(e){var t=e.searchText,a=void 0===t?y.m:t,s=e.page,l=void 0===s?1:s;return(0,n.mG)(void 0,void 0,void 0,(function(){var e,t,s;return(0,n.Jh)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,3,4]),ee(!0),[4,(0,C.w4)({pageNumber:l,pageSize:v.Ou,searchIndex:g.W.TEST_CASE,query:a,filters:M})];case 1:return e=i.sent(),t=e.hits.hits.map((function(e){return e._source})),U(null!==(s=e.hits.total.value)&&void 0!==s?s:0),_&&$((function(e){var a=new Map;return null==e||e.forEach((function(e){return a.set(e.id,e)})),t.forEach((function(e){var t;_.find((function(t){return e.name===t}))&&a.set(null!==(t=e.id)&&void 0!==t?t:"",e)})),a})),B(1===l?t:function(e){return(0,n.ev)((0,n.ev)([],(0,n.CR)(e)),(0,n.CR)(t))}),J(l),[3,4];case 2:return i.sent(),[3,4];case 3:return ee(!1),[7];case 4:return[2]}}))}))}),[_]),ae=(0,p.useCallback)((function(e){e.currentTarget.scrollHeight-e.currentTarget.scrollTop==500&&z.length>"))):c.createElement(n.Z,{align:"center",className:"justify-center w-full m-t-sm","data-testid":"argo-platform-message",direction:"vertical",size:16},c.createElement(o.ReactComponent,{"data-testid":"collate-support",height:100,width:100}),c.createElement(s.Z,null,S("message.pipeline-scheduler-message")))}),[L]);return c.createElement("div",{className:"d-flex flex-col mt-14 mb-24 mx-8 p-x-xss","data-testid":"success-screen-container"},c.createElement(l.Z,null,c.createElement(n.Z,null,c.createElement(d.ReactComponent,{"data-testid":"success-icon",width:"20px"}),c.createElement(s.Z.Paragraph,{className:"m-b-0","data-testid":"success-line",ellipsis:{rows:3}},(0,r.isUndefined)(x)?c.createElement("span",null,c.createElement("span",{className:"m-r-xss font-semibold"},'"'+(t||"demo_mysql")+'"'),a&&c.createElement("span",{className:"m-r-xss"},a),c.createElement("span",null,S("message.has-been-created-successfully"))):x))),c.createElement("div",{className:"m-t-sm"},R?c.createElement(y.Z,{size:"small"}):c.createElement(c.Fragment,null,!k&&c.createElement(c.Fragment,null,c.createElement(h.Z,null),c.createElement(l.Z,{className:"m-t-sm"},M)))),c.createElement("div",{className:"mt-7 text-center"},c.createElement(i.Z,{ghost:!0,"data-testid":"view-service-button",type:"primary",onClick:C},c.createElement("span",null,null!=Z?Z:S("label.view-entity",{entity:S("label.service")}))),v&&c.createElement(i.Z,{className:"m-l-3.5","data-testid":"add-ingestion-button",disabled:!k,type:"primary",onClick:g},c.createElement("span",null,S("label.add-entity",{entity:S("label.ingestion")}))),E&&c.createElement(i.Z,{className:"m-l-3.5","data-testid":"deploy-ingestion-button",disabled:!k,type:"primary",onClick:w},c.createElement("span",null,S("label.deploy")))))}}}]);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy