blob: 36ffcc2bbe9ba76c723ed0b2e74e97ef1f6f9c00 [file] [log] [blame]
{"version":3,"sources":["/home/madhan/Apache/git/atlas/docs/target/src/documents/BusinessMetadata.md","/home/madhan/Apache/git/atlas/docs/target/theme/components/shared/Img/index.js","/home/madhan/Apache/git/atlas/docs/target/theme/styles/styled-colors.js"],"names":["layoutProps","MDXContent","components","props","mdxType","src","isMDXComponent","Img","width","height","baseUrl","useConfig","style","boxShadow","WebkitBoxShadow","MozBoxShadow","dark","hljs","color"],"mappings":"6dAYMA,EAAc,GAIL,SAASC,EAAW,GAG/B,IAFFC,EAAU,EAAVA,WACGC,EAAK,iBAER,OAAO,cALS,UAKC,iBAAKH,EAAiBG,EAAK,CAAED,WAAYA,EAAYE,QAAQ,cAE5E,oBACE,GAAM,qBAAmB,qBAE3B,oBACE,GAAM,YAAU,YAElB,6pBAMA,oBACE,GAAM,4BAA0B,4BAElC,8WAGA,cAAC,IAAG,CAACC,IAAG,iCAAoCD,QAAQ,QACpD,cAAC,IAAG,CAACC,IAAG,iCAAoCD,QAAQ,QACpD,oBACE,GAAM,+CAA6C,+CAErD,+KAEA,cAAC,IAAG,CAACC,IAAG,0CAA6CD,QAAQ,QAC7D,oBACE,GAAM,iDAA+C,iDAEvD,wIACA,cAAC,IAAG,CAACC,IAAG,iCAAoCD,QAAQ,QACpD,cAAC,IAAG,CAACC,IAAG,iCAAoCD,QAAQ,QACpD,oBACE,GAAM,kBAAgB,kBAExB,gQAEA,cAAC,IAAG,CAACC,IAAG,uCAA0CD,QAAQ,QAC1D,oBACE,GAAM,aAAW,aAEnB,+PAGH,uLAEDH,EAAWK,gBAAiB,G,sECpE5B,+EAuCeC,IAnBHJ,IACX,MAAM,IAAEE,EAAG,MAAEG,EAAK,OAAEC,GAAWN,GACzB,QAAEO,GAAYC,sBAMpB,OACC,2BACC,uBAC6BC,MART,CACtBC,UAAW,6FACIC,gBAAiB,4FACjBC,aAAc,6FAM1BV,IAAM,GAAEK,IAAUL,IAClBI,OAAS,IAAEA,GAAU,QACrBD,MAAQ,IAAEA,GAAS,a,+DClCvB,iFAqBAQ,IAAKC,KAAKC,MAAQ,UACHF,MAAI","file":"static/js/documents-business-metadata.e68dd841.js","sourcesContent":["\nimport React from 'react'\nimport { mdx } from '@mdx-js/react'\n\n/* @jsxRuntime classic */\n/* @jsx mdx */\nimport Img from 'theme/components/shared/Img'\nimport themen from 'theme/styles/styled-colors';\nimport * as theme from 'react-syntax-highlighter/dist/esm/styles/hljs';\nimport SyntaxHighlighter from 'react-syntax-highlighter';\n\n\nconst layoutProps = {\n \n};\nconst MDXLayout = \"wrapper\"\nexport default function MDXContent({\n components,\n ...props\n}) {\n return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n\n <h1 {...{\n \"id\": \"business-metadata\"\n }}>{`Business Metadata`}</h1>\n <h2 {...{\n \"id\": \"overview\"\n }}>{`Overview`}</h2>\n <p>{`Atlas typesystem allows users to define a model and create entities for the metadata objects they want to manage.\nTypically, the model captures technical attributes - like name, description, create time, number of replicas, etc.; and\nmetadata objects are created and updated by processes that monitor the real objects. It is often necessary to\naugment technical attributes with additional attributes to capture business details that can help organize, search and\nmanage metadata entities. For example, a steward from marketing department can define set of attributes for a campaign,\nand add these attributes to relevant metadata objects.`}</p>\n <h2 {...{\n \"id\": \"create-business-metadata\"\n }}>{`Create Business Metadata`}</h2>\n <p>{`Business Metadata is a type supported by Atlas typesystem - similar to entity, enum, struct, classification types. A\nbusiness metadata type can have attributes of primitive type - similar to a struct type. In addition, each business\nmetadata attribute can be associated with a number of entity-types, like hive_db/hive_table/hbase_table.`}</p>\n <Img src={`/images/twiki/bm-create-01.png`} mdxType=\"Img\" />\n <Img src={`/images/twiki/bm-create-02.png`} mdxType=\"Img\" />\n <h2 {...{\n \"id\": \"add-business-attributes-on-entity-instances\"\n }}>{`Add business attributes on entity instances`}</h2>\n <p>{`Once a business metadata attribute is associated with an entity-type, Apache Atlas allows values to be assigned to\nentities - via UI and REST APIs.`}</p>\n <Img src={`/images/twiki/bm-entity-association.png`} mdxType=\"Img\" />\n <h2 {...{\n \"id\": \"search-for-entities-using-business-attributes\"\n }}>{`Search for entities using business attributes`}</h2>\n <p>{`Apache Atlas enables finding entities based on values assigned to business attributes - via UI and REST APIs.`}</p>\n <Img src={`/images/twiki/bm-search-01.png`} mdxType=\"Img\" />\n <Img src={`/images/twiki/bm-search-02.png`} mdxType=\"Img\" />\n <h2 {...{\n \"id\": \"authorizations\"\n }}>{`Authorizations`}</h2>\n <p>{`Apache Atlas authorization has been updated to enable control on who can create business-metadata, and update business\nattributes on entities. Apache Ranger authorization plugin has been updated to support policies for the same.`}</p>\n <Img src={`/images/twiki/bm-ranger-policies.png`} mdxType=\"Img\" />\n <h2 {...{\n \"id\": \"rest-apis\"\n }}>{`REST APIs`}</h2>\n <p>{`Apache Atlas supports REST APIs to create and update business metadata, add/update business attributes on entities and\nfind entities based on business entity attributes. Please refer to REST API documentation for more details.`}</p>\n </MDXLayout>;\n}\n;\nMDXContent.isMDXComponent = true;","/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport * as React from \"react\";\nimport { useConfig } from \"../../../../docz-lib/docz/dist\";\nconst Img = props => {\n\tconst { src, width, height } = props;\n\tconst { baseUrl } = useConfig();\n const styles = {\n\tboxShadow: \"0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2)\",\n WebkitBoxShadow: \"0 2px 2px 0 rgba(0,0,0,0.14) 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2)\",\n MozBoxShadow: \"0 2px 2px 0 rgba(0,0,0,0.14) 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2)\"\n }\n\treturn (\n\t\t<div>\n\t\t\t<img\n style={styles}\n\t\t\t\tsrc={`${baseUrl}${src}`}\n\t\t\t\theight={`${height || \"auto\"}`}\n\t\t\t\twidth={`${width || \"100%\"}`}\n\t\t\t/>\n\t\t</div>\n\t);\n};\nexport default Img;\n","/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { dark } from \"react-syntax-highlighter/dist/esm/styles/hljs\";\n\n//dark[\"powershell\"][\"color\"] = \"#37bb9b\";\ndark.hljs.color = \"#37bb9b\";\nexport default dark;"],"sourceRoot":""}