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
java.lang.NullPointerException | |
at org.hibernate.ejb.criteria.path.AbstractPathImpl.unknownAttribute(AbstractPathImpl.java:110) | |
at org.hibernate.ejb.criteria.path.AbstractPathImpl.locateAttribute(AbstractPathImpl.java:218) | |
at org.hibernate.ejb.criteria.path.AbstractPathImpl.get(AbstractPathImpl.java:189) | |
at emi.somase.data.dao.IngestTimelineEntryDao.allForDataset(IngestTimelineEntryDao.java:84) | |
at emi.somase.data.dao.IngestTimelineEntryDao$$FastClassByCGLIB$$6fb5e586.invoke(<generated>) | |
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191) | |
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688) | |
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) | |
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:155) |
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
YUI().use('datasource-io', 'datasource-jsonschema', 'gallery-modellist-datasource', 'model', 'list-view', function (Y) { | |
// Can use any type of DataSource here | |
var ds = new Y.DataSource.IO({ | |
source : '/path?', | |
plugins : [{fn : Y.Plugin.DataSourceJSONSchema}] | |
}); | |
// Just creating a basic model for testing | |
var TestModel = Y.Base.create('test-model', Y.Model, [], {}, { |
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
[greg:~/Projects/emi/code/client-itest ] $ phantomjs --load-plugins=no script.js http://dev-play.emi-lax.vm/client/search.html | |
Finished: Thu Jan 05 2012 10:40:47 GMT-0800 (PST) | |
<?xml version="1.0" encoding="UTF-8" ?> | |
<testsuites> | |
<testsuite name="account" errors="0" tests="8" failures="1" time="12.646" timestamp="2012-01-05T10:40:35"> | |
<testcase classname="account" name="has an account node" time="0.015"></testcase> | |
<testcase classname="account" name="has a browser check node" time="0"></testcase> | |
<testcase classname="account" name="has a username input box" time="0"></testcase> | |
<testcase classname="account" name="has a password input box" time="0"></testcase> | |
<testcase classname="account" name="has a login submit button" time="0.001"></testcase> |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<testsuites> | |
<testsuite name="account" errors="0" tests="8" failures="0" time="3.838" timestamp="2012-01-05T10:56:02"> | |
<testcase classname="account" name="has an account node" time="0.386"></testcase> | |
<testcase classname="account" name="has a browser check node" time="0"></testcase> | |
<testcase classname="account" name="has a username input box" time="0"></testcase> | |
<testcase classname="account" name="has a password input box" time="0.001"></testcase> | |
<testcase classname="account" name="has a login submit button" time="0"></testcase> | |
<testcase classname="account" name="passes the browser check within 10 seconds" time="1.163"></testcase> | |
<testcase classname="account" name="displays an error for bad password" time="0.922"></testcase> |
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
match('/admin/counter_service/init', :method => :get).to(:controller => :admin, :action => :counters_service_init).name(:counters_service_init) | |
metadata_thingies.map{|m| m.table_name.to_s}.each do |res| | |
match("/#{res}/admin", :method => :get).to(:controller => res.to_sym, :action => :admin).name("#{res}_admin") unless res == "view_configurations" # :playlists_admin, :pitches_admin, etc. generated here | |
end |
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
public class AutomatedIngestBoss extends BaseBoss<AutomatedIngestSource> { | |
public static AutomatedIngestBoss INSTANCE; | |
<<<<<<< HEAD | |
private static final Logger LOG = Logger.getLogger(AutomatedIngestBoss.class); | |
@Autowired(required = true) private AutomatedIngestSourceDao automatedIngestSourceDao; | |
@Autowired(required = true) private SftpPollingService sftpPollingService; | |
@Value("${autostart.automated_ingest.boss}") private boolean autostart; | |
======= |
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
public class ManagedDataLineIngestBoss extends BaseBoss<ManagedDataLine> { | |
public static ManagedDataLineIngestBoss INSTANCE; | |
<<<<<<< HEAD | |
private static final Logger LOG = Logger.getLogger(ManagedDataLineIngestBoss.class); | |
@Autowired(required = true) private ManagedDataLineDao dataLineDao; | |
@Autowired(required = true) private IngestTimelineEntryDao timelineEntryDao; | |
@Autowired(required = true) private IngestionService ingestionService; | |
@Autowired(required = true) private AdministrativeNotifier notifier; |
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
------------------------------------------------------------------------------- | |
Test set: emi.emsrest.counters.svc.CookieValidatorTest | |
------------------------------------------------------------------------------- | |
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.829 sec | |
------------------------------------------------------------------------------- | |
Test set: emi.emsrest.counters.svc.CountersCrudTest | |
------------------------------------------------------------------------------- | |
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.901 sec | |
------------------------------------------------------------------------------- | |
Test set: emi.emsrest.counters.svc.CountersExpirationTest |
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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Notification 3.7-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- buildnumber-maven-plugin:1.0-beta-3:create (default) @ notification --- | |
[INFO] Storing buildNumber: 20120606-2119_greg at timestamp: 1339042798936 | |
[INFO] | |
[INFO] --- maven-antrun-plugin:1.4:run (build-info) @ notification --- |
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
def _send(self, email_message): | |
from_email = sanitize_address(email_message.from_email, email_message.encoding) | |
recipients = [sanitize_address(addr, email_message.encoding) | |
for addr in email_message.recipients()] | |
try: | |
post_data = [] | |
post_data.append(('to', (",".join(recipients)),)) | |
post_data.append(('text', email_message.body,)) | |
post_data.append(('subject', email_message.subject,)) |