Skip to content

Commit 2395961

Browse files
committed
Draft commit of the Fission java core lib
1 parent 7035a0a commit 2395961

File tree

4 files changed

+63
-0
lines changed

4 files changed

+63
-0
lines changed

fission-java-core/.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.project
2+
.mvn
3+
.settings
4+
.classpath
5+
target/
6+
bin/
7+

fission-java-core/pom.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
4+
<groupId>io.fission</groupId>
5+
<artifactId>fission-java-core</artifactId>
6+
<version>0.0.1</version>
7+
<packaging>jar</packaging>
8+
9+
<name>Fission java library</name>
10+
<description>
11+
A library for writing Fission functions using JVM runtime
12+
</description>
13+
<url>https://fission.io/</url>
14+
<licenses>
15+
<license>
16+
<name>Apache License, Version 2.0</name>
17+
<distribution>repo</distribution>
18+
</license>
19+
</licenses>
20+
<scm>
21+
<url>https://github.com/fission/fission-java-libs.git</url>
22+
</scm>
23+
<developers>
24+
<developer>
25+
<name>Fission team</name>
26+
<organization>Platform9</organization>
27+
<organizationUrl>https://platform9.com/</organizationUrl>
28+
</developer>
29+
</developers>
30+
31+
<dependencies>
32+
<dependency>
33+
<groupId>org.springframework</groupId>
34+
<artifactId>spring-web</artifactId>
35+
<version>5.0.5.RELEASE</version>
36+
<scope>provided</scope>
37+
</dependency>
38+
</dependencies>
39+
40+
41+
</project>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package io.fission;
2+
3+
public interface FissionContext {
4+
5+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package io.fission;
2+
3+
import org.springframework.http.RequestEntity;
4+
import org.springframework.http.ResponseEntity;
5+
6+
public interface FissionFunction<RequestEntity, ResponseEntity> {
7+
8+
org.springframework.http.ResponseEntity call(org.springframework.http.RequestEntity req, FissionContext context);
9+
10+
}

0 commit comments

Comments
 (0)