Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
985264e1
Commit
985264e1
authored
Jun 08, 2020
by
Pinal Shah
Committed by
nixonrodrigues
Jun 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3780 : Change 'Status' from Classification System Attributes to EntityStatus
parent
931d6efd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
AtlasClassificationType.java
...n/java/org/apache/atlas/type/AtlasClassificationType.java
+3
-8
Constants.java
intg/src/main/java/org/apache/atlas/type/Constants.java
+4
-0
No files found.
intg/src/main/java/org/apache/atlas/type/AtlasClassificationType.java
View file @
985264e1
...
...
@@ -18,14 +18,8 @@
package
org
.
apache
.
atlas
.
type
;
import
static
org
.
apache
.
atlas
.
model
.
typedef
.
AtlasBaseTypeDef
.
ATLAS_TYPE_DATE
;
import
static
org
.
apache
.
atlas
.
model
.
typedef
.
AtlasBaseTypeDef
.
ATLAS_TYPE_LONG
;
import
static
org
.
apache
.
atlas
.
model
.
typedef
.
AtlasBaseTypeDef
.
ATLAS_TYPE_STRING
;
import
static
org
.
apache
.
atlas
.
type
.
Constants
.
CREATED_BY_KEY
;
import
static
org
.
apache
.
atlas
.
type
.
Constants
.
MODIFICATION_TIMESTAMP_PROPERTY_KEY
;
import
static
org
.
apache
.
atlas
.
type
.
Constants
.
MODIFIED_BY_KEY
;
import
static
org
.
apache
.
atlas
.
type
.
Constants
.
STATE_PROPERTY_KEY
;
import
static
org
.
apache
.
atlas
.
type
.
Constants
.
TIMESTAMP_PROPERTY_KEY
;
import
static
org
.
apache
.
atlas
.
type
.
Constants
.
TYPE_NAME_PROPERTY_KEY
;
import
static
org
.
apache
.
atlas
.
type
.
Constants
.*;
import
org.apache.atlas.AtlasErrorCode
;
import
org.apache.atlas.exception.AtlasBaseException
;
...
...
@@ -515,7 +509,8 @@ public class AtlasClassificationType extends AtlasStructType {
add
(
new
AtlasAttributeDef
(
MODIFICATION_TIMESTAMP_PROPERTY_KEY
,
ATLAS_TYPE_DATE
,
false
,
true
));
add
(
new
AtlasAttributeDef
(
MODIFIED_BY_KEY
,
ATLAS_TYPE_STRING
,
false
,
true
));
add
(
new
AtlasAttributeDef
(
CREATED_BY_KEY
,
ATLAS_TYPE_STRING
,
false
,
true
));
add
(
new
AtlasAttributeDef
(
STATE_PROPERTY_KEY
,
ATLAS_TYPE_STRING
,
false
,
true
));
add
(
new
AtlasAttributeDef
(
CLASSIFICATION_ENTITY_STATUS_PROPERTY_KEY
,
ATLAS_TYPE_STRING
,
false
,
true
));
}};
AtlasClassificationDef
classificationDef
=
new
AtlasClassificationDef
(
CLASSIFICATION_ROOT_NAME
,
"Root classification for system attributes"
,
"1.0"
,
attributeDefs
);
...
...
intg/src/main/java/org/apache/atlas/type/Constants.java
View file @
985264e1
...
...
@@ -48,5 +48,8 @@ public final class Constants {
public
static
final
String
PROPAGATED_CLASSIFICATION_NAMES_KEY
=
encodePropertyKey
(
INTERNAL_PROPERTY_KEY_PREFIX
+
"propagatedClassificationNames"
);
public
static
final
String
IS_INCOMPLETE_PROPERTY_KEY
=
encodePropertyKey
(
INTERNAL_PROPERTY_KEY_PREFIX
+
"isIncomplete"
);
//Classification-Only System Attributes
public
static
final
String
CLASSIFICATION_ENTITY_STATUS_PROPERTY_KEY
=
encodePropertyKey
(
INTERNAL_PROPERTY_KEY_PREFIX
+
"entityStatus"
);
private
Constants
()
{}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment