ok(1)
resulted in success
creating user id.. user id is really 1
is(1, 1)
resulted in success
deploydb_last_version () { | |
perl -e 'my $last = [ sort { $b <=> $a } grep {/^\d{1,4}-/} @ARGV]->[0]; $last =~ s/\.sql$//; print "$last"' `ls deploy_db/deploy/` | |
} | |
deploydb_next_version () { | |
perl -e 'my $name = shift @ARGV; my $last = [ sort { $b <=> $a } grep {/^\d{1,4}-/} @ARGV]->[0]; $last =~ s/\.sql$//; $last =~ s/^(\d+)-.+/sprintf(q{%04d}, $1+1)/e; print "$last-$name"' $1 `ls deploy_db/deploy/` | |
} | |
new_deploy (){ |
use DateTime::Format::Pg; | |
subtype DataStr, as Str, where { | |
eval { DateTime::Format::Pg->parse_datetime($_)->datetime }; | |
return $@ eq ''; | |
}, message { "invalid date [$_]" }; | |
coerce DataStr, from Str, via { | |
DateTime::Format::Pg->parse_datetime($_)->datetime; | |
}; |
root@datapusher:/usr/local/lib/python2.7# grep 'flask-login' * -r | |
dist-packages/ckanserviceprovider-0.1dev.egg-info/requires.txt:flask-login | |
dist-packages/Flask_Admin-1.3.0.egg-info/SOURCES.txt:examples/auth-flask-login/__init__.py | |
dist-packages/Flask_Admin-1.3.0.egg-info/SOURCES.txt:examples/auth-flask-login/app.py | |
dist-packages/Flask_Admin-1.3.0.egg-info/installed-files.txt:../examples/auth-flask-login/__init__.py | |
dist-packages/Flask_Admin-1.3.0.egg-info/installed-files.txt:../examples/auth-flask-login/app.py | |
dist-packages/Flask_Admin-1.3.0.egg-info/installed-files.txt:../examples/auth-flask-login/__init__.pyc | |
dist-packages/Flask_Admin-1.3.0.egg-info/installed-files.txt:../examples/auth-flask-login/app.pyc | |
dist-packages/Flask_Login-0.3.0.egg-info/PKG-INFO:Home-page: https://github.com/maxcountryman/flask-login | |
dist-packages/Flask_Login-0.3.0.egg-info/PKG-INFO: <https://github.com/maxcountryman/flask-login>`_ |
#!/usr/bin/env perl | |
use strict; | |
my $list = { | |
f => 'eokoe/flotum/api # BluMoney ', | |
o => 'eokoe/omicron/api # n-gage ', | |
i => 'aware/RNSP-PCS # iota ', | |
n => 'aware/nueta/api # family ', | |
e => 'aware/etamu/api # b-cam ', | |
y => 'eokoe/yod # premio mao', |
location / { | |
# Setup var defaults | |
set $no_cache ""; | |
# If non GET/HEAD, don't cache & mark user as uncacheable for 1 second via cookie | |
if ($request_method !~ ^(GET|HEAD)$) { | |
set $no_cache "1"; | |
} | |
# Drop no cache cookie if need be | |
# (for some reason, add_header fails if included in prior if-block) | |
if ($no_cache = "1") { |
[2016-02-03 08:50:54,673][DEBUG][action.admin.indices.create] [Raymond Sikorsky] [bloonix-2016-02] failed to create | |
MapperParsingException[Failed to parse mapping [results]: Mapping definition for [data] has unsupported parameters: [index : no]]; nested: MapperParsingException[Mapping definition for [data] has unsupported parameters: [index : no]]; | |
at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$2.execute(MetaDataCreateIndexService.java:381) | |
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:388) | |
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231) | |
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Work |
[Feb 03 2016 12:00:06] ERROR 13060 0.000433 ::ffff:179.34.167.32 rest: request failed to 'http://127.0.0.1:9200/bloonix-2016-02/stats/?routing=9': [400 Bad Request], message: [{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Mapping definition for [data] has unsupported parameters: [index : no]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [results]: Mapping definition for [data] has unsupported parameters: [index : no]","caused_by":{"type":"mapper_parsing_exception","reason":"Mapping definition for [data] has unsupported parameters: [index : no]"}},"status":400}] (host id 9) (/usr/share/perl5/Bloonix/Server.pm, line 2145) | |
[Feb 03 2016 12:00:06] ERROR 13060 0.000265 ::ffff:179.34.167.32 $VAR1 = { | |
'path' => 'bloonix-2016-02/stats/?routing=9', | |
'data' => { | |
'host_id' => '9', | |
'time' => '1454508006000', | |
'service_id' => 59, | |
'data' => { | |
curl 'http://127.0.0.1:9200/bloonix-2016-02?' | |
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","index":"bloonix-2016-02","resource.type":"index_or_alias","resource.id":"bloonix-2016-02"}],"type":"index_not_found_exception","reason":"no such index","index":"bloonix-2016-02","resource.type":"index_or_alias","resource.id":"bloonix-2016-02"},"status":404} |
{ | |
"_shards": { | |
"total": 10, | |
"successful": 5, | |
"failed": 0 | |
}, | |
"_all": { | |
"primaries": { | |
"docs": { | |
"count": 2192145, |