com.github.dynamicextensionsalfresco.controlpanel.Container.index.get.html.ftl Maven / Gradle / Ivy
Show all versions of control-panel Show documentation
<#import "templates/html-macros.inc.ftl" as html>
<@html.document title="Configuration - Dynamic Extensions" active="container">
System Packages
System Packages are Java libraries from the Alfresco repository. Classes from these packages
are available to OSGi bundles.
Dynamic Extensions scans the System Packages when it starts up for the first time and
caches them to speed up subsequent repository startups. Updating the WEB-INF/lib folder will expire the cache.
Services
<#-- .span6 -->
Restart OSGi container
Restart the OSGi container to reinitialize Dynamic Extensions:
<#if canRestartFramework>
The Control Panel will be unavailable while the OSGI container is restarting.
If you get a "Not Found" or "Service Unavailable" response afterwards, wait a few
seconds, then refresh the page.
<#else>
The OSGi container cannot be restarted.
#if>
REST API
<#assign restartApiUrl = "${url.serviceContext}/dynamic-extensions/osgi/restart" />
You can also restart the OSGi container using the REST API:
POST ${restartApiUrl}
This API requires adminstrator-level access.
Example of using the REST API through cURL:
curl -X POST ${restartApiUrl} -u admin
cURL will prompt you for the password.
<#-- .span6 -->
<#-- .row -->
Settings
Change these settings via the osgi-container.properties
file.
Key
Value
Description
osgi.container.restartable
<@html.check configuration.frameworkRestartEnabled />
Restart OSGi container @ runtime
osgi.container.hot-deploy
<@html.check configuration.hotDeployEnabled />
Installing bundles via control-panel @ runtime
osgi.container.repository-bundles
<@html.check configuration.repositoryBundlesEnabled />
Installing/starting bundles in the repository. (instead of classpath)
osgi.container.system-package-cache.mode
${configuration.systemPackageCacheMode}
System classpath scanning: cache mode
@html.document>