-
Java 8
-
Create
nexus.secret.propertieswith content:nexusSnapshotUrl=http://<your-nexus-server>/repository/maven-snapshots/ nexusReleaseURL=http://<your-nexus-server>/repository/maven-releases/ nexusUsername=<your-nexus-user> nexusPassword=<your-nexus-password>
-
Build local: compile and build to
jarfile, then push artifact tolocal mavenrepository.gradle clean build uberJar
-
Publish artifacts to
Nexusserver:gradle publish
-
Copy theses artifacts to
demofolder: (will be removed when I standardize build and bundle script)cp -rf dashboard/connector/edge/build/libs/nube-dashboard-connector-edge-1.0.0-SNAPSHOT-fat.jar demo/bios-connector.jarcp -rf edge/bios/build/libs/nube-edge-bios-1.0.0-SNAPSHOT-fat.jar demo/bios.jarcp -rf dashboard/server/build/libs/nube-dashboard-server-1.0.0-SNAPSHOT-fat.jar demo/dashboard.jar
-
Start services (replace
${your-ip})java -Dlogback.configurationFile=logback-bios-connector.xml -jar bios-connector.jar -conf bios-connector.json java -Dlogback.configurationFile=logback-bios.xml -jar bios.jar -conf bios.json java -Dlogback.configurationFile=logback-dashboard.xml -jar dashboard.jar -conf dashboard.json
Will be part of Swagger UI soon. Try Postman version first.
Start application in IDE for debug purpose
-
Install
BuildShip -
Run:
gradle eclipse
-
Import Gradle project into Eclipse
-
Use
launcherscript in same directory name to start application. The configuration is indemofolderBIOS.launch: Foredge > biosBIOS-Connector.launch: Fordashboard > connector > edgeDashboard.launch: Fordashboard > server
TBD
TBD