In order to import repository assets into versioned repositories, you must configure a VersionedLoaderEventListener, whose tasks include creating and checking in the workspace that is used during the import. You create a VersionedLoaderEventListener component from this class:
atg.epub.loader.VersionedLoaderEventListener
VersionedLoaderEventListener properties
The following table describes VersionedLoaderEventListener properties:
Property | Description |
|---|---|
| Set to Default: |
| Set to If the Default: |
| Set to Default: |
| Specifies whether you can import an asset into an existing workspace specified by Default: |
| Password of the user to authenticate. Default: |
| The substring in an ACL that is used to identify the user in the
Default: |
| An arbitrary string. Default: |
| Together with Default: |
| The fully qualified path of the parent folder of the top-level folder in the manifest to import, or the folder system to scan. All folders and files to import must be in or under this root folder. For example, you might set
The directories and files imported into the
Note 1: When performing imports on Windows, use double backslashes (
Note 2: When importing the initial set of Oracle Commerce Platform assets from your production module, such as scenarios and slots, the root path is the production module’s |
| The format to use when appending the import time to the name of project used for the import. The default format is:
For information on changing the default value, see the API reference for class |
| The Default: |
| The username of the user to authenticate. Default: |
| Default: |
| The name of the workspace to use for the import. If the corresponding workspace does not exist, it is created by the system. All workspace names must be unique. The import fails if the name corresponds to a completed project’s workspace (because it is already checked in). If If |
Project properties
After you initialize a target site, the Repository Loader must import assets into a project. In order to do so, set the VersionedLoaderEventListener’s createProjects property to true. When you run the Repository Loader on these assets, it performs these tasks:
Creates a project, concatenating the project name from the values specified in the VersionedLoaderEventListener properties
processNamePrefixandtimeFormat.Imports the assets into that project.
User access configuration
The properties userAuthority, personaPrefix, userName, and password collectively verify user access to the secured versioned repository where file assets are imported—for example, /atg/epub/file/SecuredPublishingFileRepository.
Default configuration
By default, the VersionedLoaderEventListener is configured as follows:
$class=atg.epub.loader.VersionedLoaderEventListener
versionManager=/atg/epub/version/VersionManagerService
rootPath={appModuleResource?moduleID=home&resourceURI=}
createProjects=false
projectNamePrefix=Content Administration Import
appendTimeToProjectName=true
projectDescription=Imported by the RepositoryLoader
timeFormat=MMMMM dd, yyyy hh:mm:ss aaa
# The activity to associate with a project created by the loader
# activityId=merchandising.manageCommerceAssets
fworkflowName=/Common/commonWorkflow.wdl
userAuthority=/atg/dynamo/security/UserAuthority
personaPrefix=Admin$user$
userName=admin
password=admin
checkinOnCompletion=true
checkinComment=
idGenerator=/atg/dynamo/service/IdGenerator
workspaceNameIdSpace=repositoryLoaderWkspName
#workspaceName=RepLoader-1
