This unofficial GreenVulcano extension (currently work in progress) adds a new placeholder: the sqljson
, which acts both as sql
and sqltable
placeholders, depending on how many results it has to fetch.
Expect more features coming soon!
First, you need to have installed Java Development Kit (JDK) 1.7 or above.
Then, you need to have installed Apache Maven (3.5.4 or higher) and Apache Karaf 4.1.5. Please refer to the following links for further reference:
- Apache Maven 3.5.4:
- Apache Karaf 4.2.6:
- Download
- Installation steps: simply extract the Apache Karaf directory in any path you want. Verify that the Apache Karaf installation is operational by running the executable
./bin/karaf
from the Apache Karaf root directory (a Karaf shell should be displayed).
Next, you need to install the GreenVulcano engine on the Apache Karaf container. Please refer to this link for further reference.
Clone or download this repository on your computer, and then run mvn install
in its root folder:
git clone https://github.com/kylan11/gv-properties-plus
cd gv-properties-plus
mvn install
In order to install the bundle in Apache Karaf to use it for a GreenVulcano application project, you need to install its dependencies. Open the Apache Karaf terminal by running the Karaf executable and type the following command:
karaf@root()> bundle:install -s wrap:mvn:ognl/ognl/3.2.11
Then, run this command to install the actual expansion component:
bundle:install -l 96 mvn:it.greenvulcano.gvesb.util/gv-properties-plus/4.1.0-SNAPSHOT
That's it! You can now make use of the new placeholders in your GreenVulcano project.