-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changelog: - Allow to override standalone warp10 configuration in the container.
- Loading branch information
Showing
4 changed files
with
115 additions
and
10 deletions.
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
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
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,52 @@ | ||
<% | ||
SAVE 'context' STORE | ||
|
||
'list' STORE | ||
NOW 'NOW' STORE | ||
|
||
$list SIZE 6 == | ||
'Fetch_after can only have 6 parameters : read_token, class, labels, start, end, active_after' | ||
ASSERTMSG | ||
|
||
$list 0 GET 'rtoken' STORE | ||
$list 1 GET 'class' STORE | ||
$list 2 GET 'labels' STORE | ||
$list 3 GET 'start_ts' STORE | ||
$list 4 GET 'end_ts' STORE | ||
$list 5 GET 'active_after_ts' STORE | ||
|
||
|
||
<% | ||
ISAUTHENTICATED NOT | ||
%> | ||
<% | ||
$rtoken AUTHENTICATE | ||
%> | ||
IFT | ||
|
||
1000000000 LIMIT | ||
|
||
// Activity is taken account after at least 2 h | ||
<% $active_after_ts $NOW 2 h - > %> | ||
<% | ||
{ | ||
'token' $rtoken | ||
'labels' $labels | ||
'class' $class | ||
'start' $start_ts | ||
'end' $end_ts | ||
'active.after' $NOW 2 h - | ||
} FETCH | ||
%> | ||
<% | ||
{ | ||
'token' $rtoken | ||
'active.after' $active_after_ts | ||
'labels' $labels | ||
'class' $class | ||
'start' $start_ts | ||
'end' $end_ts | ||
} FETCH | ||
%> IFTE | ||
$context RESTORE | ||
%> |