mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
First-cut RepoAdmin Service for managing models & messages in the repo (not yet enabled)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6682 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
1
config/alfresco/messages/repoadmin-interpreter-help.properties
Executable file
1
config/alfresco/messages/repoadmin-interpreter-help.properties
Executable file
@@ -0,0 +1 @@
|
||||
repoadmin_console.help=alfresco/messages/repoadmin-interpreter-help.txt
|
97
config/alfresco/messages/repoadmin-interpreter-help.txt
Executable file
97
config/alfresco/messages/repoadmin-interpreter-help.txt
Executable file
@@ -0,0 +1,97 @@
|
||||
##
|
||||
## Meta commands
|
||||
##
|
||||
|
||||
ok> help
|
||||
|
||||
List this help.
|
||||
|
||||
ok> r
|
||||
|
||||
Repeat last command.
|
||||
|
||||
|
||||
ok> quit | exit
|
||||
|
||||
Quit this console.
|
||||
|
||||
##
|
||||
## General Repo Admin Commands
|
||||
##
|
||||
|
||||
ok> show file <fileClassPath>
|
||||
|
||||
Output the contents of the file located at <fileClassPath>.
|
||||
|
||||
<fileClassPath> class path to a file
|
||||
|
||||
e.g. show file alfresco/extension/xxxModel.xml
|
||||
e.g. show file alfresco/extension/yyy-messages.properties
|
||||
|
||||
ok> show file-list <filesClassPath>
|
||||
|
||||
Show list of files located at <filesClassPath> with first match being listed for each filename.
|
||||
|
||||
<filesClassPath> class path to a list of files. Wildcard * is allowed. For example, to see
|
||||
a list of message resource bundles that would be loaded, use: /path1/path2/bundlename*.properties
|
||||
|
||||
e.g. show file-list alfresco/extension/*
|
||||
e.g. show file-list alfresco/extension/*Model.xml
|
||||
e.g. show file-list alfresco/extension/zzz-messages*.properties
|
||||
|
||||
##
|
||||
## Model Admin Commands
|
||||
##
|
||||
|
||||
ok> show models
|
||||
|
||||
Show deployed models - that are stored in the repository data dictionary.
|
||||
|
||||
ok> deploy model <fileClassPath>
|
||||
|
||||
Upload model to repository and into runtime data dictionary. This will also
|
||||
set the model as active.
|
||||
|
||||
e.g. deploy model alfresco/extension/exampleModel.xml
|
||||
|
||||
ok> undeploy model <modelFileName>
|
||||
|
||||
Permanently delete model from repository (all versions) and from runtime data dictionary.
|
||||
|
||||
e.g. undeploy model exampleModel.xml
|
||||
|
||||
ok> reload model <modelFileName>
|
||||
|
||||
Reload (or load for first time) from repository into runtime data dictionary.
|
||||
|
||||
e.g. reload model exampleModel.xml
|
||||
|
||||
##
|
||||
## Message Admin Commands
|
||||
##
|
||||
|
||||
ok> show messages
|
||||
|
||||
Show deployed message resource bundles - that are stored in the repository data dictionary.
|
||||
|
||||
ok> deploy messages <resourceBundleClassPath>
|
||||
|
||||
Upload message resource bundle to repository and runtime message service.
|
||||
|
||||
e.g. deploy messages alfresco/extension/lifecycle-messages
|
||||
|
||||
ok> undeploy messages <resourceBundleBaseName>
|
||||
|
||||
Remove message resource bundle from repository and from runtime message service.
|
||||
|
||||
e.g. undeploy messages lifecycle-messages
|
||||
|
||||
ok> reload messages <resourceBundleBaseName>
|
||||
|
||||
Reload message resource bundle from repository into runtime message service.
|
||||
|
||||
e.g. undeploy messages lifecycle-messages
|
||||
|
||||
##
|
||||
## end
|
||||
##
|
Reference in New Issue
Block a user