Skip to content
This repository has been archived by the owner on Aug 2, 2019. It is now read-only.

Refactor templates (remove the need for Java code) #127

Merged
merged 1 commit into from
Feb 8, 2013
Merged

Refactor templates (remove the need for Java code) #127

merged 1 commit into from
Feb 8, 2013

Conversation

andreisavu
Copy link
Member

No Java code should be required to define a new template. It should be possible to add a new template just by placing a file under templates/ with a special format (probably .yml).

@ghost ghost assigned andreisavu Jan 26, 2013
@andreisavu
Copy link
Member Author

http://felix.apache.org/site/apache-felix-file-install.html

Custom artifacts

Apache Felix File Install can support deployment of custom artifacts. By default, 
configurations and plain OSGi bundles are supported, but other kind of artifacts can 
be deployed through custom artifact handlers.

To add support for a custom artifact, a service implementing one of 
org.apache.felix.fileinstall.ArtifactListener's sub interfaces must be registered in 
the OSGi registry.

@andreisavu
Copy link
Member Author

@andreisavu
Copy link
Member Author

No need to recompile the code or install new bundles. You
can even edit / add new templates while the application
server is running or during bundle / feature installation.

Changes:

* replaced Java pool templates with xml file (still part of core)
* implemented file system watcher based on Felix fileinstall for pool templates
* downgraded osgi framework from 4.3.2 (1.6) to 4.2.0 (1.5)
* removed Activiti process engine test code (used just for learning)
* disabled kar deployer
* improved listing for provisionr:templates
* the final distribution no longer installs by default
axemblr-provisionr-console and axemblr-provisionr-cloudstack
@buildhive
Copy link

Axemblr.com » axemblr-provisionr #46 SUCCESS
This pull request looks good
(what's this?)

andreisavu pushed a commit that referenced this pull request Feb 8, 2013
Refactor templates (remove the need for Java code)
@andreisavu andreisavu merged commit a07bf09 into axemblr:master Feb 8, 2013
@andreisavu andreisavu deleted the issue-127 branch February 8, 2013 12:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants