https://github.com/connexta/ion-transformation
https://github.com/connexta/ion-transformation
ion ion-transformation transformation
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/connexta/ion-transformation
- Owner: connexta
- Created: 2019-04-18T18:18:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-16T05:04:41.000Z (over 3 years ago)
- Last Synced: 2025-05-17T00:17:01.814Z (about 1 year ago)
- Topics: ion, ion-transformation, transformation
- Language: Java
- Size: 109 KB
- Stars: 0
- Watchers: 13
- Forks: 11
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Transformation Service Implementation
[](https://dependabot.com)
[](https://snyk.io//test/github/connexta/ion-transformation)
[](https://circleci.com/gh/connexta/ion-transformation)
## Building
### What you need ###
* [Install Java SE 11](https://jdk.java.net/java-se-ri/11).
* Make sure that your JAVA\_HOME environment variable is set to the newly installed JDK location, and that your PATH includes %JAVA\_HOME%\bin (Windows) or $JAVA\_HOME$/bin (\*NIX).
* [Install Maven 3.5.2 \(or later\)](http://maven.apache.org/download.html). Make sure that your PATH includes the MVN\_HOME/bin directory.
* Set the MAVEN_OPTS variable with appropriate memory settings.
### How to build ###
Clone the ION Transformation code repository.
```
git clone git@github.com:connexta/ion-transformation.git
```
Change to the root directory of the cloned ion-transformation repository. Run the following command:
```
mvn clean install
```
## Running in Development
```
cd /distros/spring
```
```
Set the following environment variables for the Lookup Service Endpoint:
${PROTOCOL}://${LOOKUP_SERVICE_HOST}:${LOOKUP_SERVICE_PORT}/lookup
```
```
java "-Dserver.port=8080" "-Dspring.profiles.active=dev" -jar .\target\transformation-distros-spring-.jar
```
## Push a Docker image to a registry
Prerequisite: If using an insecure Docker registry, update ~/.docker/daemon.json to include the appropriate
insecure-registries and restart Docker.
Change to the root directory of the cloned ion-transformation repository. Run the following command:
```
mvn clean install "-Ddocker.push.registry=myPushRegistry" docker:push
```
## Formatting
If during development the build fails for formatting violations:
You can check for formatting violations with the command:
```
mvn initialize spotless:check
```
You can fix formatting violations with the command:
```
mvn initialize spotless:apply
```