-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Unix Stream codec, Split flow from FDK, update integration tests #150
Merged
Merged
Changes from 10 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
dd87c35
http input codec
zootalures 8ab3af4
add jetty-core and UDS deps
zootalures 348792e
PoC jetty core UDS event codec
d722ebb
revise FDK contract for initial relase, split flow from fn, support n…
zootalures 08d2a4c
First pass of refactor
zootalures f483f85
added annotations for for features to support flow
zootalures e1ab94d
moving flow feature to runtime package
zootalures fc707dd
rename flow testing and add docs, fix race in Stream testing
zootalures fc9886d
fixing failing tests
zootalures 666cb3f
Update to reflect FN_ID
zootalures 146e83c
more integration test fixing
zootalures 9089035
fix up format name
zootalures e2a3b90
first stab at home-grown UDS implementation
zootalures 0942c6a
docker build fix
zootalures f478257
UDS rework, remove old UDS dep and test new one
zootalures f4abf59
adjust permissions on file on start
zootalures 029f400
new integration tests
zootalures e5242d7
simlify build and integration tests, add tests for http-stream
zootalures 552d5f2
fix ci
zootalures c941cdf
typo
zootalures 311d58d
make igntests standalone
zootalures 5b40435
itests run 1.8
zootalures 0fd287d
fix itest result
zootalures 3dbc3ee
env for itests
zootalures 846eeb6
add createDir
zootalures 7ddd360
test failures in circle
zootalures b3fa77a
fix test interference
zootalures 64f0cbd
Use standard properties in fdk tests, fix versions in itests
zootalures d878986
hmm no entropy on circle boxes :)
zootalures 561a51a
use consistent properties for versions everywhere
zootalures de7e460
add waits for start
zootalures 8e2096b
this time with feeling
zootalures bf7248d
diagnosing timeout
zootalures 16f6802
close input, try more aggressive testing
zootalures 97ffadb
C errors
zootalures 42ea541
fixing up accept and twiddling with integration test start
zootalures b8abc5c
set DOCKER_LOCALHOST
zootalures ce96bea
integration test fixing/finessing
zootalures ff729f2
cludge docker localhost
zootalures e463adb
no_proxy messing
zootalures e3f8d1d
set fnserver IP correctly
zootalures 43cf9b5
typo
zootalures 755c69d
nits in C code
zootalures a4bf3df
review nits
zootalures 78d745a
more C fix nits
zootalures 14d1b46
Make mandatory headers mandatory again
zootalures e2209d7
minus comment
zootalures fef06de
remove Content-Length from stripped input
zootalures df25e51
fix call test
zootalures File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.fnproject.fn.api; | ||
|
||
import java.lang.annotation.ElementType; | ||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.RetentionPolicy; | ||
import java.lang.annotation.Target; | ||
|
||
/** | ||
* Annotation to be used in user function classes to enable runtime-wide feature. | ||
* | ||
* Runtime features are initialized at the point that the function class is loaded but prior to the call chain. | ||
*/ | ||
@Retention(RetentionPolicy.RUNTIME) | ||
@Target(ElementType.TYPE) | ||
public @interface FnFeature { | ||
/** | ||
* The feature class to load this must have a zero-arg public constructor | ||
* @return feature class | ||
*/ | ||
Class<? extends RuntimeFeature> value(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo