Application Layer
Installation
ALFI is currently in an open beta.
Artifact repository
Gradle
groovy
1repositories {2 maven {3 url 'https://maven.gremlin.com/'4 }5}
Maven
xml
1<repositories>2 <repository>3 <snapshots>4 <enabled>false</enabled>5 </snapshots>6 <id>gremlin</id>7 <name>The Gremlin Repository</name>8 <url>https://maven.gremlin.com/</url>9 </repository>10</repositories>
Note
You must add the above repository to your maven or gradle file. Otherwise, you will encounter an error message similar to Could not find artifact com.gremlin:[client]:pom:[version] in central (https://repo.maven.apache.org/maven2)
alfi-core
Gradle
groovy
1implementation group: 'com.gremlin', name: 'alfi-core', version: '0.5+'
Maven
xml
1<dependency>2 <groupId>com.gremlin</groupId>3 <artifactId>alfi-core</artifactId>4 <version>LATEST</version>5</dependency>
alfi-aws
Gradle
groovy
1// If your application is hosted on AWS EC2 or Lambda, use this to integrate with AWS2// (like Parameter Store Configuration support)3implementation group: 'com.gremlin', name: 'alfi-aws', version: '0.5+'
Maven
xml
1<!-- If your application is hosted on AWS EC2 or Lambda, use this to integrate with AWS2 (like Parameter Store Configuration support) -->3<dependency>4 <groupId>com.gremlin</groupId>5 <artifactId>alfi-aws</artifactId>6 <version>LATEST</version>7</dependency>
alfi-apache-http-client
Gradle
groovy
1// Apache HTTP Client Injection Points2implementation group: 'com.gremlin', name: 'alfi-apache-http-client', version: '0.5+'
Maven
xml
1<dependency>2 <groupId>com.gremlin</groupId>3 <artifactId>alfi-apache-http-client</artifactId>4 <version>LATEST</version>5</dependency>
alfi-http-servlet-filter
Gradle
groovy
1implementation group: 'com.gremlin', name: 'alfi-http-servlet-filter', version: '0.5+'
Maven
xml
1<dependency>2 <groupId>com.gremlin</groupId>3 <artifactId>alfi-http-servlet-filter</artifactId>4 <version>LATEST</version>5</dependency>
alfi-aws-dynamodb-client
Gradle
groovy
1// DynamoDB Injection Points2implementation group: 'com.gremlin', name: 'alfi-aws-dynamodb-client', version: '0.5+'
Maven
xml
1<dependency>2 <groupId>com.gremlin</groupId>3 <artifactId>alfi-aws-dynamodb-client</artifactId>4 <version>LATEST</version>5</dependency>