Skip to content

Commit

Permalink
Removed data platforms which are Linkedin internal
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerem Sahin committed Aug 20, 2020
1 parent 6adac21 commit 0daf394
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 70 deletions.
50 changes: 0 additions & 50 deletions gms/impl/src/main/resources/DataPlatformInfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,11 @@
"name": "couchbase",
"type": "KEY_VALUE_STORE"
},
"urn:li:dataPlatform:dalids": {
"datasetNameDelimiter": ".",
"name": "dalids",
"type": "FILE_SYSTEM"
},
"urn:li:dataPlatform:espresso": {
"datasetNameDelimiter": ".",
"name": "espresso",
"type": "KEY_VALUE_STORE"
},
"urn:li:dataPlatform:external": {
"datasetNameDelimiter": ".",
"name": "external",
"type": "OTHERS"
},
"urn:li:dataPlatform:followfeed": {
"datasetNameDelimiter": ".",
"name": "followfeed",
"type": "OBJECT_STORE"
},
"urn:li:dataPlatform:hdfs": {
"datasetNameDelimiter": "/",
"name": "hdfs",
Expand All @@ -54,11 +39,6 @@
"name": "kafka",
"type": "MESSAGE_BROKER"
},
"urn:li:dataPlatform:kafka-lc": {
"datasetNameDelimiter": ".",
"name": "kafka-lc",
"type": "KEY_VALUE_STORE"
},
"urn:li:dataPlatform:kusto": {
"datasetNameDelimiter": ".",
"name": "kusto",
Expand Down Expand Up @@ -89,41 +69,11 @@
"name": "presto",
"type": "QUERY_ENGINE"
},
"urn:li:dataPlatform:seas-cloud": {
"datasetNameDelimiter": ".",
"name": "seas-cloud",
"type": "SEARCH_ENGINE"
},
"urn:li:dataPlatform:seas-deployed": {
"datasetNameDelimiter": "/",
"name": "seas-deployed",
"type": "SEARCH_ENGINE"
},
"urn:li:dataPlatform:seas-hdfs": {
"datasetNameDelimiter": "/",
"name": "seas-hdfs",
"type": "FILE_SYSTEM"
},
"urn:li:dataPlatform:teradata": {
"datasetNameDelimiter": ".",
"name": "teradata",
"type": "RELATIONAL_DB"
},
"urn:li:dataPlatform:ump": {
"datasetNameDelimiter": ".",
"name": "ump",
"type": "FILE_SYSTEM"
},
"urn:li:dataPlatform:vector": {
"datasetNameDelimiter": ".",
"name": "vector",
"type": "KEY_VALUE_STORE"
},
"urn:li:dataPlatform:venice": {
"datasetNameDelimiter": ".",
"name": "venice",
"type": "KEY_VALUE_STORE"
},
"urn:li:dataPlatform:voldemort": {
"datasetNameDelimiter": ".",
"name": "voldemort",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,16 @@ public void testGet() {
public void testGetPlatformType() {
assertPlatformType("ambry", PlatformType.OBJECT_STORE);
assertPlatformType("couchbase", PlatformType.KEY_VALUE_STORE);
assertPlatformType("dalids", PlatformType.FILE_SYSTEM);
assertPlatformType("espresso", PlatformType.KEY_VALUE_STORE);
assertPlatformType("external", PlatformType.OTHERS);
assertPlatformType("followfeed", PlatformType.OBJECT_STORE);
assertPlatformType("hdfs", PlatformType.FILE_SYSTEM);
assertPlatformType("hive", PlatformType.FILE_SYSTEM);
assertPlatformType("kafka", PlatformType.MESSAGE_BROKER);
assertPlatformType("kafka-lc", PlatformType.KEY_VALUE_STORE);
assertPlatformType("mongo", PlatformType.KEY_VALUE_STORE);
assertPlatformType("mysql", PlatformType.RELATIONAL_DB);
assertPlatformType("oracle", PlatformType.RELATIONAL_DB);
assertPlatformType("pinot", PlatformType.OLAP_DATASTORE);
assertPlatformType("presto", PlatformType.QUERY_ENGINE);
assertPlatformType("seas-cloud", PlatformType.SEARCH_ENGINE);
assertPlatformType("seas-deployed", PlatformType.SEARCH_ENGINE);
assertPlatformType("seas-hdfs", PlatformType.FILE_SYSTEM);
assertPlatformType("teradata", PlatformType.RELATIONAL_DB);
assertPlatformType("ump", PlatformType.FILE_SYSTEM);
assertPlatformType("vector", PlatformType.KEY_VALUE_STORE);
assertPlatformType("venice", PlatformType.KEY_VALUE_STORE);
assertPlatformType("voldemort", PlatformType.KEY_VALUE_STORE);
}

Expand All @@ -71,26 +61,16 @@ public void testIsValidPlatform() {
public void testGetPlatformDelimiter() {
assertEquals(DataPlatformsUtil.getPlatformDelimiter("ambry").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("couchbase").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("dalids").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("espresso").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("external").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("followfeed").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("hdfs").get(), "/");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("hive").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("kafka").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("kafka-lc").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("mongo").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("mysql").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("oracle").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("pinot").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("presto").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("seas-cloud").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("seas-deployed").get(), "/");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("seas-hdfs").get(), "/");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("teradata").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("ump").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("vector").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("venice").get(), ".");
assertEquals(DataPlatformsUtil.getPlatformDelimiter("voldemort").get(), ".");
assertFalse(DataPlatformsUtil.getPlatformDelimiter("fake").isPresent());
}
Expand Down

0 comments on commit 0daf394

Please sign in to comment.