mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-21 23:58:06 +00:00
updates metadata acquisition tabs with links to wiki for help. adds explanatory text to ownership tab.
This commit is contained in:
parent
c3033dc455
commit
8e02adcfd2
@ -68,7 +68,7 @@ export default Component.extend({
|
|||||||
).mapBy('fieldName');
|
).mapBy('fieldName');
|
||||||
|
|
||||||
if (fieldNamesAreUnique(fieldNames.sort())) {
|
if (fieldNamesAreUnique(fieldNames.sort())) {
|
||||||
return;
|
return set(this, '_hasBadData', false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Flag this component's data as problematic
|
// Flag this component's data as problematic
|
||||||
|
@ -33,9 +33,13 @@
|
|||||||
of Owner Type <code>Owner</code>
|
of Owner Type <code>Owner</code>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br>
|
||||||
|
<p>
|
||||||
|
Only owners that are not sourced from <code>SCM</code> can be removed
|
||||||
|
from this list. To remove any such owner(s), please make the change at the
|
||||||
|
source.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{{#if errorMessage}}
|
{{#if errorMessage}}
|
||||||
<div class="alert alert-danger" role="alert">{{errorMessage}}</div>
|
<div class="alert alert-danger" role="alert">{{errorMessage}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
@ -51,10 +55,70 @@
|
|||||||
<th>Full Name</th>
|
<th>Full Name</th>
|
||||||
<th>ID Type</th>
|
<th>ID Type</th>
|
||||||
<th>Source</th>
|
<th>Source</th>
|
||||||
<th>Owner Type</th>
|
<th>
|
||||||
|
Owner Type
|
||||||
|
|
||||||
|
<!--TODO: DSS-6716-->
|
||||||
|
<!-- DRY out with wrapper component that takes the link as an attribute-->
|
||||||
|
<a
|
||||||
|
href="https://iwww.corp.linkedin.com/wiki/cf/display/DWH/Metadata+Acquisition#ProjectOverview-ownership">
|
||||||
|
<sup>
|
||||||
|
<span class="glyphicon glyphicon-question-sign"
|
||||||
|
title="Link to more information"></span>
|
||||||
|
</sup>
|
||||||
|
</a>
|
||||||
|
</th>
|
||||||
<th>Confirmed</th>
|
<th>Confirmed</th>
|
||||||
<th>Remove</th>
|
<th>Remove</th>
|
||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
</thead>
|
||||||
</tbody>
|
<tbody data-attribute="owner-table">
|
||||||
</table>
|
{{#each owners as |owner|}}
|
||||||
|
<tr class="dataset-author-row">
|
||||||
|
<td class="dataset-author-cell"
|
||||||
|
onclick={{action "willEditUserName"
|
||||||
|
value="currentTarget.classList"}}>
|
||||||
|
<label class="dataset-author-cell__name-tag">
|
||||||
|
{{owner.userName}}
|
||||||
|
</label>
|
||||||
|
<input class="userEntity dataset-author-cell__user-name"
|
||||||
|
type="text"
|
||||||
|
placeholder="Enter Username"
|
||||||
|
autofocus="autofocus"
|
||||||
|
title="{{owner.userName}}"
|
||||||
|
value="{{owner.userName}}"
|
||||||
|
onblur={{action "editUserName" owner}}/>
|
||||||
|
</td>
|
||||||
|
<td>{{owner.name}}</td>
|
||||||
|
<td>{{owner.idType}}</td>
|
||||||
|
<td>{{owner.source}}</td>
|
||||||
|
<td>
|
||||||
|
{{ember-selector
|
||||||
|
values=ownerTypes
|
||||||
|
selected=owner.type
|
||||||
|
change=(action "updateOwnerType" owner)}}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
{{input
|
||||||
|
type="checkbox"
|
||||||
|
title=(if owner.confirmedBy owner.confirmedBy "Not confirmed")
|
||||||
|
checked=(readonly owner.confirmedBy)
|
||||||
|
change=(action "confirmOwner" owner)}}
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td>
|
||||||
|
<button class="nacho-button nacho-button--small"
|
||||||
|
title={{if (contains (w "SCM") (w owner.source))
|
||||||
|
"Owners sourced from SCM should be removed directly from SCM"
|
||||||
|
"Remove"}}
|
||||||
|
disabled={{contains (w "SCM") (w owner.source)}}
|
||||||
|
{{action "removeOwner" owner}}>
|
||||||
|
<i class="fa fa-trash"
|
||||||
|
aria-label="Remove Owner"></i>
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
{{/each}}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
<section class="metadata-prompt" id="has-member">
|
<section class="metadata-prompt" id="has-member">
|
||||||
<header class="metadata-prompt__header">
|
<header class="metadata-prompt__header">
|
||||||
|
<p class="metadata-prompt__page-number">Question 1 of 3</p>
|
||||||
<p>Can any fields in this dataset's schema be used to identify a
|
<p>Can any fields in this dataset's schema be used to identify a
|
||||||
member?</p>
|
member?</p>
|
||||||
</header>
|
</header>
|
||||||
@ -64,6 +65,7 @@
|
|||||||
{{#if showOrgPrompt}}
|
{{#if showOrgPrompt}}
|
||||||
<section class="metadata-prompt" id="has-org">
|
<section class="metadata-prompt" id="has-org">
|
||||||
<header class="metadata-prompt__header">
|
<header class="metadata-prompt__header">
|
||||||
|
<p class="metadata-prompt__page-number">Question 2 of 3</p>
|
||||||
<p>Do fields in the schema contain the ID of an organization?</p>
|
<p>Do fields in the schema contain the ID of an organization?</p>
|
||||||
</header>
|
</header>
|
||||||
<span>
|
<span>
|
||||||
@ -97,6 +99,7 @@
|
|||||||
{{#if showGroupPrompt}}
|
{{#if showGroupPrompt}}
|
||||||
<section class="metadata-prompt" id="has-group">
|
<section class="metadata-prompt" id="has-group">
|
||||||
<header class="metadata-prompt__header">
|
<header class="metadata-prompt__header">
|
||||||
|
<p class="metadata-prompt__page-number">Question 3 of 3</p>
|
||||||
<p>Do fields in the schema contain the ID of a group?</p>
|
<p>Do fields in the schema contain the ID of a group?</p>
|
||||||
</header>
|
</header>
|
||||||
<span>
|
<span>
|
||||||
|
@ -22,8 +22,10 @@
|
|||||||
Which fields should be classified as Confidential or Highly Confidential
|
Which fields should be classified as Confidential or Highly Confidential
|
||||||
(if any)?
|
(if any)?
|
||||||
|
|
||||||
|
<!--TODO: DSS-6716-->
|
||||||
|
<!-- DRY out with wrapper component that takes the link as an attribute-->
|
||||||
<a
|
<a
|
||||||
href="https://iwww.corp.linkedin.com/wiki/cf/display/HR/Exhibit+A+-+Data+Handling+Table">
|
href="https://iwww.corp.linkedin.com/wiki/cf/display/DWH/Metadata+Acquisition#ProjectOverview-confidential">
|
||||||
<sup>
|
<sup>
|
||||||
More Info
|
More Info
|
||||||
|
|
||||||
@ -53,8 +55,10 @@
|
|||||||
{{#head.column}}Data Type{{/head.column}}
|
{{#head.column}}Data Type{{/head.column}}
|
||||||
{{#head.column}}
|
{{#head.column}}
|
||||||
Security Classification
|
Security Classification
|
||||||
|
<!--TODO: DSS-6716-->
|
||||||
|
<!-- DRY out with wrapper component that takes the link as an attribute-->
|
||||||
<a
|
<a
|
||||||
href="https://iwww.corp.linkedin.com/wiki/cf/display/HR/Exhibit+A+-+Data+Handling+Table">
|
href="https://iwww.corp.linkedin.com/wiki/cf/display/DWH/Metadata+Acquisition#ProjectOverview-confidential">
|
||||||
<sup>
|
<sup>
|
||||||
<span class="glyphicon glyphicon-question-sign"
|
<span class="glyphicon glyphicon-question-sign"
|
||||||
title="Link to more information"></span>
|
title="Link to more information"></span>
|
||||||
@ -63,10 +67,12 @@
|
|||||||
{{/head.column}}
|
{{/head.column}}
|
||||||
{{#head.column}}
|
{{#head.column}}
|
||||||
Field Format
|
Field Format
|
||||||
|
<!--TODO: DSS-6716-->
|
||||||
|
<!-- DRY out with wrapper component that takes the link as an attribute-->
|
||||||
<a
|
<a
|
||||||
href="https://iwww.corp.linkedin.com/wiki/cf/display/HR/Exhibit+A+-+Data+Handling+Table">
|
href="https://iwww.corp.linkedin.com/wiki/cf/display/DWH/Metadata+Acquisition#ProjectOverview-confidential">
|
||||||
<sup>
|
<sup>
|
||||||
<span class="glyphicon glyphicon-question-sign"
|
<span class="glyphicon glyphicon-question-sign"
|
||||||
title="Link to more information"></span>
|
title="Link to more information"></span>
|
||||||
</sup>
|
</sup>
|
||||||
</a>
|
</a>
|
||||||
|
@ -14,8 +14,30 @@
|
|||||||
{{#table.head as |head|}}
|
{{#table.head as |head|}}
|
||||||
{{#head.column columnName="identifierField"}}Field{{/head.column}}
|
{{#head.column columnName="identifierField"}}Field{{/head.column}}
|
||||||
{{#head.column columnName="dataType"}}Data Type{{/head.column}}
|
{{#head.column columnName="dataType"}}Data Type{{/head.column}}
|
||||||
{{#head.column}}Member Identifier?{{/head.column}}
|
{{#head.column}}
|
||||||
{{#head.column}}Is this field a Subject Owner?{{/head.column}}
|
Member Identifier?
|
||||||
|
<!--TODO: DSS-6716-->
|
||||||
|
<!-- DRY out with wrapper component that takes the link as an attribute-->
|
||||||
|
<a
|
||||||
|
href="https://iwww.corp.linkedin.com/wiki/cf/display/DWH/Metadata+Acquisition#ProjectOverview-compliance">
|
||||||
|
<sup>
|
||||||
|
<span class="glyphicon glyphicon-question-sign"
|
||||||
|
title="Link to more information"></span>
|
||||||
|
</sup>
|
||||||
|
</a>
|
||||||
|
{{/head.column}}
|
||||||
|
{{#head.column}}
|
||||||
|
Is this field a Subject Owner?
|
||||||
|
<!--TODO: DSS-6716-->
|
||||||
|
<!-- DRY out with wrapper component that takes the link as an attribute-->
|
||||||
|
<a
|
||||||
|
href="https://iwww.corp.linkedin.com/wiki/cf/display/DWH/Metadata+Acquisition#ProjectOverview-compliance">
|
||||||
|
<sup>
|
||||||
|
<span class="glyphicon glyphicon-question-sign"
|
||||||
|
title="Link to more information"></span>
|
||||||
|
</sup>
|
||||||
|
</a>
|
||||||
|
{{/head.column}}
|
||||||
{{#head.column}}Field Format{{/head.column}}
|
{{#head.column}}Field Format{{/head.column}}
|
||||||
{{/table.head}}
|
{{/table.head}}
|
||||||
{{#table.body as |body|}}
|
{{#table.body as |body|}}
|
||||||
|
@ -14,7 +14,18 @@
|
|||||||
{{#table.head as |head|}}
|
{{#table.head as |head|}}
|
||||||
{{#head.column columnName="identifierField"}}Field{{/head.column}}
|
{{#head.column columnName="identifierField"}}Field{{/head.column}}
|
||||||
{{#head.column columnName="dataType"}}Data Type{{/head.column}}
|
{{#head.column columnName="dataType"}}Data Type{{/head.column}}
|
||||||
{{#head.column}}Organization Identifier?{{/head.column}}
|
{{#head.column}}
|
||||||
|
Organization Identifier?
|
||||||
|
|
||||||
|
<!--TODO: DSS-6716-->
|
||||||
|
<!-- DRY out with wrapper component that takes the link as an attribute-->
|
||||||
|
<a
|
||||||
|
href="https://iwww.corp.linkedin.com/wiki/cf/display/HR/Exhibit+A+-+Data+Handling+Table">
|
||||||
|
<sup>
|
||||||
|
<span class="glyphicon glyphicon-question-sign"
|
||||||
|
title="Link to more information"></span>
|
||||||
|
</sup>
|
||||||
|
</a>{{/head.column}}
|
||||||
{{#head.column}}Field Format{{/head.column}}
|
{{#head.column}}Field Format{{/head.column}}
|
||||||
{{/table.head}}
|
{{/table.head}}
|
||||||
{{#table.body as |body|}}
|
{{#table.body as |body|}}
|
||||||
|
@ -52,6 +52,8 @@
|
|||||||
<span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
|
<span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
<!--TODO: DSS-6716-->
|
||||||
|
<!-- DRY out with wrapper component that takes the link as an attribute-->
|
||||||
<a href="https://iwww.corp.linkedin.com/wiki/cf/display/ENGS/Metadata+Coverage"
|
<a href="https://iwww.corp.linkedin.com/wiki/cf/display/ENGS/Metadata+Coverage"
|
||||||
title="Metadata Coverage"
|
title="Metadata Coverage"
|
||||||
target="_blank">
|
target="_blank">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user