-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'acryl/jj--adding-entity-secrvices' into…
… jj--adding-entity-services
- Loading branch information
Showing
15 changed files
with
3,140 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
metadata-io/src/main/java/com/linkedin/metadata/resource/ResourceReference.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.linkedin.metadata.resource; | ||
|
||
import com.linkedin.common.urn.Urn; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
|
||
|
||
@Data | ||
@AllArgsConstructor | ||
public class ResourceReference { | ||
/** | ||
* The urn of an entity | ||
*/ | ||
Urn urn; | ||
|
||
/** | ||
* The type of the SubResource | ||
*/ | ||
SubResourceType subResourceType; | ||
|
||
/** | ||
* The subresource being targeted | ||
*/ | ||
String subResource; | ||
} |
8 changes: 8 additions & 0 deletions
8
metadata-io/src/main/java/com/linkedin/metadata/resource/SubResourceType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.linkedin.metadata.resource; | ||
|
||
public enum SubResourceType { | ||
/** | ||
* A field in a dataset | ||
*/ | ||
DATASET_FIELD | ||
} |
Oops, something went wrong.