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
543a85d7
Commit
543a85d7
authored
8 years ago
by
apoorvnaik
Committed by
Madhan Neethiraj
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-1637: Deprecate V1 APIs and related classes
Signed-off-by:
Madhan Neethiraj
<
madhan@apache.org
>
parent
e54fe04d
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
32 additions
and
0 deletions
+32
-0
AtlasClient.java
client/src/main/java/org/apache/atlas/AtlasClient.java
+1
-0
CreateUpdateEntitiesResult.java
...ain/java/org/apache/atlas/CreateUpdateEntitiesResult.java
+1
-0
ResourceCreator.java
client/src/main/java/org/apache/atlas/ResourceCreator.java
+1
-0
SerDe.java
client/src/main/java/org/apache/atlas/SerDe.java
+1
-0
TypeDefChangeListener.java
...java/org/apache/atlas/listener/TypeDefChangeListener.java
+1
-0
DiscoverInstances.java
...n/java/org/apache/atlas/repository/DiscoverInstances.java
+1
-0
IRepository.java
...rc/main/java/org/apache/atlas/repository/IRepository.java
+1
-0
MetadataRepository.java
.../java/org/apache/atlas/repository/MetadataRepository.java
+1
-0
EntityProcessor.java
...va/org/apache/atlas/repository/graph/EntityProcessor.java
+1
-0
FullTextMapper.java
...ava/org/apache/atlas/repository/graph/FullTextMapper.java
+1
-0
GraphBackedMetadataRepository.java
...atlas/repository/graph/GraphBackedMetadataRepository.java
+1
-0
GraphToTypedInstanceMapper.java
...he/atlas/repository/graph/GraphToTypedInstanceMapper.java
+1
-0
TypedInstanceToGraphMapper.java
...he/atlas/repository/graph/TypedInstanceToGraphMapper.java
+1
-0
AttributeStores.java
...a/org/apache/atlas/repository/memory/AttributeStores.java
+1
-0
ClassStore.java
...n/java/org/apache/atlas/repository/memory/ClassStore.java
+1
-0
HierarchicalTypeStore.java
...apache/atlas/repository/memory/HierarchicalTypeStore.java
+1
-0
IAttributeStore.java
...a/org/apache/atlas/repository/memory/IAttributeStore.java
+1
-0
MemRepository.java
...ava/org/apache/atlas/repository/memory/MemRepository.java
+1
-0
StructStore.java
.../java/org/apache/atlas/repository/memory/StructStore.java
+1
-0
TraitStore.java
...n/java/org/apache/atlas/repository/memory/TraitStore.java
+1
-0
GraphBackedTypeStore.java
...ache/atlas/repository/typestore/GraphBackedTypeStore.java
+1
-0
ITypeStore.java
...ava/org/apache/atlas/repository/typestore/ITypeStore.java
+1
-0
StoreBackedTypeCache.java
...ache/atlas/repository/typestore/StoreBackedTypeCache.java
+1
-0
DefaultMetadataService.java
...ava/org/apache/atlas/services/DefaultMetadataService.java
+1
-0
RequestContext.java
...er-api/src/main/java/org/apache/atlas/RequestContext.java
+1
-0
MetadataService.java
.../main/java/org/apache/atlas/services/MetadataService.java
+1
-0
TypeSystem.java
...in/java/org/apache/atlas/typesystem/types/TypeSystem.java
+1
-0
DataSetLineageResource.java
...rg/apache/atlas/web/resources/DataSetLineageResource.java
+1
-0
EntityResource.java
...n/java/org/apache/atlas/web/resources/EntityResource.java
+1
-0
LineageResource.java
.../java/org/apache/atlas/web/resources/LineageResource.java
+1
-0
MetadataDiscoveryResource.java
...apache/atlas/web/resources/MetadataDiscoveryResource.java
+1
-0
TypesResource.java
...in/java/org/apache/atlas/web/resources/TypesResource.java
+1
-0
No files found.
client/src/main/java/org/apache/atlas/AtlasClient.java
View file @
543a85d7
...
...
@@ -65,6 +65,7 @@ import static org.codehaus.jackson.annotate.JsonAutoDetect.Visibility.PUBLIC_ONL
/**
* Client for metadata.
*/
@Deprecated
public
class
AtlasClient
extends
AtlasBaseClient
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
AtlasClient
.
class
);
...
...
This diff is collapsed.
Click to expand it.
client/src/main/java/org/apache/atlas/CreateUpdateEntitiesResult.java
View file @
543a85d7
...
...
@@ -27,6 +27,7 @@ import org.apache.atlas.type.AtlasType;
/**
* Result from creating or updating entities.
*/
@Deprecated
public
class
CreateUpdateEntitiesResult
{
/**
...
...
This diff is collapsed.
Click to expand it.
client/src/main/java/org/apache/atlas/ResourceCreator.java
View file @
543a85d7
...
...
@@ -23,6 +23,7 @@ import com.sun.jersey.api.client.WebResource;
/**
* An interface to capture the closure of how a WebResource is created.
*/
@Deprecated
public
interface
ResourceCreator
{
WebResource
createResource
();
}
This diff is collapsed.
Click to expand it.
client/src/main/java/org/apache/atlas/SerDe.java
View file @
543a85d7
...
...
@@ -34,6 +34,7 @@ import org.apache.atlas.typesystem.json.InstanceSerialization;
import
java.lang.reflect.Type
;
@Deprecated
public
class
SerDe
{
public
static
final
Gson
GSON
=
new
GsonBuilder
().
registerTypeAdapter
(
IStruct
.
class
,
new
StructDeserializer
()).
...
...
This diff is collapsed.
Click to expand it.
intg/src/main/java/org/apache/atlas/listener/TypeDefChangeListener.java
View file @
543a85d7
...
...
@@ -19,6 +19,7 @@ package org.apache.atlas.listener;
import
org.apache.atlas.exception.AtlasBaseException
;
@Deprecated
public
interface
TypeDefChangeListener
{
void
onChange
(
ChangedTypeDefs
changedTypeDefs
)
throws
AtlasBaseException
;
}
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/DiscoverInstances.java
View file @
543a85d7
...
...
@@ -30,6 +30,7 @@ import java.util.Map;
/**
* Graph walker implementation for discovering instances.
*/
@Deprecated
public
class
DiscoverInstances
implements
ObjectGraphWalker
.
NodeProcessor
{
public
final
Map
<
Id
,
Id
>
idToNewIdMap
;
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/IRepository.java
View file @
543a85d7
...
...
@@ -30,6 +30,7 @@ import java.util.List;
/**
* Metadata Repository interface.
*/
@Deprecated
public
interface
IRepository
{
ITypedReferenceableInstance
create
(
IReferenceableInstance
i
)
throws
RepositoryException
;
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/MetadataRepository.java
View file @
543a85d7
...
...
@@ -34,6 +34,7 @@ import java.util.List;
/**
* An interface for persisting metadata into a blueprints enabled graph db.
*/
@Deprecated
public
interface
MetadataRepository
{
/**
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/graph/EntityProcessor.java
View file @
543a85d7
...
...
@@ -31,6 +31,7 @@ import java.util.Collections;
import
java.util.LinkedHashMap
;
import
java.util.Map
;
@Deprecated
public
final
class
EntityProcessor
implements
ObjectGraphWalker
.
NodeProcessor
{
private
final
Map
<
Id
,
IReferenceableInstance
>
idToInstanceMap
;
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/graph/FullTextMapper.java
View file @
543a85d7
...
...
@@ -34,6 +34,7 @@ import org.slf4j.LoggerFactory;
import
java.util.List
;
import
java.util.Map
;
@Deprecated
public
class
FullTextMapper
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
FullTextMapper
.
class
);
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedMetadataRepository.java
View file @
543a85d7
...
...
@@ -65,6 +65,7 @@ import com.google.inject.Singleton;
* as a Graph Service.
*/
@Singleton
@Deprecated
public
class
GraphBackedMetadataRepository
implements
MetadataRepository
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
GraphBackedMetadataRepository
.
class
);
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/graph/GraphToTypedInstanceMapper.java
View file @
543a85d7
...
...
@@ -54,6 +54,7 @@ import org.slf4j.LoggerFactory;
import
com.google.inject.Singleton
;
@Singleton
@Deprecated
public
final
class
GraphToTypedInstanceMapper
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
GraphToTypedInstanceMapper
.
class
);
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/graph/TypedInstanceToGraphMapper.java
View file @
543a85d7
...
...
@@ -67,6 +67,7 @@ import com.google.common.base.Function;
import
com.google.common.collect.Lists
;
import
com.google.inject.Inject
;
@Deprecated
public
final
class
TypedInstanceToGraphMapper
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
TypedInstanceToGraphMapper
.
class
);
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/memory/AttributeStores.java
View file @
543a85d7
...
...
@@ -43,6 +43,7 @@ import java.util.HashMap;
import
java.util.List
;
import
java.util.Map
;
@Deprecated
public
class
AttributeStores
{
private
static
final
Object
NULL_VAL
=
new
Object
();
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/memory/ClassStore.java
View file @
543a85d7
...
...
@@ -28,6 +28,7 @@ import org.apache.atlas.typesystem.types.ClassType;
import
java.util.ArrayList
;
import
java.util.Objects
;
@Deprecated
public
class
ClassStore
extends
HierarchicalTypeStore
{
final
ArrayList
<
ImmutableList
<
String
>>
traitNamesStore
;
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/memory/HierarchicalTypeStore.java
View file @
543a85d7
...
...
@@ -37,6 +37,7 @@ import java.util.Map;
import
java.util.Set
;
import
java.util.concurrent.locks.ReentrantReadWriteLock
;
@Deprecated
public
abstract
class
HierarchicalTypeStore
{
final
MemRepository
repository
;
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/memory/IAttributeStore.java
View file @
543a85d7
...
...
@@ -22,6 +22,7 @@ import org.apache.atlas.repository.RepositoryException;
import
org.apache.atlas.typesystem.persistence.StructInstance
;
import
org.apache.atlas.typesystem.types.IConstructableType
;
@Deprecated
public
interface
IAttributeStore
{
/**
* Store the attribute's value from the 'instance' into this store.
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/memory/MemRepository.java
View file @
543a85d7
...
...
@@ -44,6 +44,7 @@ import java.util.Set;
import
java.util.TreeSet
;
import
java.util.concurrent.atomic.AtomicInteger
;
@Deprecated
public
class
MemRepository
implements
IRepository
{
final
TypeSystem
typeSystem
;
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/memory/StructStore.java
View file @
543a85d7
...
...
@@ -28,6 +28,7 @@ import org.apache.atlas.typesystem.types.StructType;
import
java.util.Collection
;
import
java.util.Map
;
@Deprecated
public
class
StructStore
extends
AttributeStores
.
AbstractAttributeStore
implements
IAttributeStore
{
final
StructType
structType
;
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/memory/TraitStore.java
View file @
543a85d7
...
...
@@ -25,6 +25,7 @@ import org.apache.atlas.typesystem.types.TraitType;
import
java.util.ArrayList
;
@Deprecated
public
class
TraitStore
extends
HierarchicalTypeStore
{
final
ArrayList
<
String
>
classNameStore
;
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/typestore/GraphBackedTypeStore.java
View file @
543a85d7
...
...
@@ -68,6 +68,7 @@ import com.google.inject.Inject;
import
com.google.inject.Singleton
;
@Singleton
@Deprecated
public
class
GraphBackedTypeStore
implements
ITypeStore
{
public
static
final
String
VERTEX_TYPE
=
"typeSystem"
;
private
static
final
String
PROPERTY_PREFIX
=
Constants
.
INTERNAL_PROPERTY_KEY_PREFIX
+
"type."
;
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/typestore/ITypeStore.java
View file @
543a85d7
...
...
@@ -23,6 +23,7 @@ import org.apache.atlas.AtlasException;
import
org.apache.atlas.typesystem.TypesDef
;
import
org.apache.atlas.typesystem.types.TypeSystem
;
@Deprecated
public
interface
ITypeStore
{
/**
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/repository/typestore/StoreBackedTypeCache.java
View file @
543a85d7
...
...
@@ -52,6 +52,7 @@ import com.google.inject.Singleton;
* are also loaded from the store if they are not already in the cache.
*/
@Singleton
@Deprecated
public
class
StoreBackedTypeCache
extends
DefaultTypeCache
{
private
ITypeStore
typeStore
;
...
...
This diff is collapsed.
Click to expand it.
repository/src/main/java/org/apache/atlas/services/DefaultMetadataService.java
View file @
543a85d7
...
...
@@ -85,6 +85,7 @@ import javax.inject.Singleton;
* for listening to changes to the repository.
*/
@Singleton
@Deprecated
public
class
DefaultMetadataService
implements
MetadataService
,
ActiveStateChangeHandler
,
TypeDefChangeListener
{
private
enum
OperationType
{
CREATE
,
UPDATE
,
DELETE
...
...
This diff is collapsed.
Click to expand it.
server-api/src/main/java/org/apache/atlas/RequestContext.java
View file @
543a85d7
...
...
@@ -35,6 +35,7 @@ import org.apache.atlas.typesystem.types.TypeSystem;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
@Deprecated
public
class
RequestContext
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
RequestContext
.
class
);
...
...
This diff is collapsed.
Click to expand it.
server-api/src/main/java/org/apache/atlas/services/MetadataService.java
View file @
543a85d7
...
...
@@ -38,6 +38,7 @@ import java.util.Map;
/**
* Metadata service.
*/
@Deprecated
public
interface
MetadataService
{
/**
...
...
This diff is collapsed.
Click to expand it.
typesystem/src/main/java/org/apache/atlas/typesystem/types/TypeSystem.java
View file @
543a85d7
...
...
@@ -45,6 +45,7 @@ import javax.inject.Singleton;
@Singleton
@InterfaceAudience
.
Private
@Deprecated
public
class
TypeSystem
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
TypeSystem
.
class
);
...
...
This diff is collapsed.
Click to expand it.
webapp/src/main/java/org/apache/atlas/web/resources/DataSetLineageResource.java
View file @
543a85d7
...
...
@@ -45,6 +45,7 @@ import javax.ws.rs.core.Response;
*/
@Path
(
"lineage/hive"
)
@Singleton
@Deprecated
public
class
DataSetLineageResource
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
DataSetLineageResource
.
class
);
...
...
This diff is collapsed.
Click to expand it.
webapp/src/main/java/org/apache/atlas/web/resources/EntityResource.java
View file @
543a85d7
...
...
@@ -88,6 +88,7 @@ import java.util.Map;
*/
@Path
(
"entities"
)
@Singleton
@Deprecated
public
class
EntityResource
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
EntityResource
.
class
);
...
...
This diff is collapsed.
Click to expand it.
webapp/src/main/java/org/apache/atlas/web/resources/LineageResource.java
View file @
543a85d7
...
...
@@ -48,6 +48,7 @@ import javax.ws.rs.core.Response;
@Path
(
"lineage"
)
@Singleton
@Deprecated
public
class
LineageResource
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
DataSetLineageResource
.
class
);
private
static
final
Logger
PERF_LOG
=
AtlasPerfTracer
.
getPerfLogger
(
"rest.LineageResource"
);
...
...
This diff is collapsed.
Click to expand it.
webapp/src/main/java/org/apache/atlas/web/resources/MetadataDiscoveryResource.java
View file @
543a85d7
...
...
@@ -52,6 +52,7 @@ import java.util.Map;
*/
@Path
(
"discovery"
)
@Singleton
@Deprecated
public
class
MetadataDiscoveryResource
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
MetadataDiscoveryResource
.
class
);
...
...
This diff is collapsed.
Click to expand it.
webapp/src/main/java/org/apache/atlas/web/resources/TypesResource.java
View file @
543a85d7
...
...
@@ -63,6 +63,7 @@ import java.util.List;
*/
@Path
(
"types"
)
@Singleton
@Deprecated
public
class
TypesResource
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
TypesResource
.
class
);
private
static
final
Logger
PERF_LOG
=
AtlasPerfTracer
.
getPerfLogger
(
"rest.TypesResource"
);
...
...
This diff is collapsed.
Click to expand it.
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