REPOS Namespace Metadata Types |
Subclass of Repository
The RepositoryBase class models the metadata for SAS Metadata Repositories.
Inherited Attributes
Name, Id, Desc, MetadataCreated, MetadataUpdated
Name | Cardinality | Description | Associated Types |
AccessControls Partner: Objects |
0 to * | The access controls for this repository object. | AccessControl AccessControlEntry AccessControlTemplate |
The following section includes usage notes for the RepositoryBase type.
A SAS Open Metadata Interface method call that adds, updates, or deletes a RepositoryBase object instance or any of its properties must specify REPOS in the Namespace parameter. It must also specify the OMI_TRUSTED_CLIENT flag (268435456) in the Flags parameter.
Caution: The metadata server must add, update, and delete objects in the REPOS namespace when no other activity is taking place in the server, so it automatically delays other client requests until the REPOS namespace changes are complete. This may have a small effect on server performance.
A repository's persisted availability is indicated by the value in its Access attribute. To grant read and write access to all users, set Access="0", which is the default value. To make a repository read-only, set Access="1". To grant only administrators access to the repository, set Access="2". To take a repository offline, set Access="4". The value Access="3" is reserved for future use. The repository's persisted availability is set when the repository is created with AddMetadata method and modified by using the UpdateMetadata method.
To grant specific users ReadMetadata and WriteMetadata permission to a repository or to specific metadata objects in the repository, use the SAS Open Metadata Architecture authorization facility. For more information about the authorization facility, see the SAS Intelligence Platform: Security Administration Guide.
The Pause method temporarily downgrades the availability of all repositories to the state specified for the SAS Metadata Server. If a repository is registered with a more restrictive value in its Access attribute, then the Pause method has no effect on it. The repository's downgraded state is indicated in the PauseState attribute. A repository remains in the downgraded state until client activity is resumed by using the Resume method, or the metadata server is stopped and restarted. The Resume method returns repositories to the availabilitiy specified in the Access attribute.
You can retrieve the Id, Name, Access, Path, Engine, Options, PauseState, RepositoryFormat, and RepositoryType values of all repositories by issuing a GetRepositories method call that sets the OMI_ALL (1) flag. To get the values of the remaining attributes, use GetMetadata or GetMetadataObjects.
For more information, see the GetRepositories and UpdateMetadata methods in the SAS Open Metadata Interface: Reference and Usage.
You are given the option of deleting only the metadata in a repository, deleting the metadata and the repository's registration, or deleting the repository's registration and leaving the metadata intact. This last is known as unregistering the repository. For more information, see DeleteMetadata in the SAS Open Metadata Interface: Reference and Usage.
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.