-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support of ChangeType in MCE and MAE (#131)
* support of ChangeType in MCE and MAE * make changetype optional field * add proper doc for delete change type
- Loading branch information
1 parent
7f8409e
commit 2642177
Showing
6 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
core-models/src/main/pegasus/com/linkedin/common/ChangeType.pdl
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,16 @@ | ||
namespace com.linkedin.common | ||
|
||
/** | ||
* Descriptor for a change action. For every type, a new version of metadata will be created | ||
*/ | ||
enum ChangeType { | ||
/** | ||
* create new metadata if it doesn't exist, update if it already exists | ||
*/ | ||
UPSERT | ||
|
||
/** | ||
* delete the latest version of metadata, if it exists | ||
*/ | ||
DELETE | ||
} |
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