<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
running second | |
err - first: [Error: second] second: undefined | |
running first |
'use strict'; | |
var fs = require('fs'), | |
path = require('path'), | |
exec = require('child_process').exec, | |
_ = require('lodash'), | |
Bluebird = require('bluebird'), | |
gm = require('gm'); | |
var readImageInfo = function(filepath) { |
'use strict'; | |
var mongoose = require('mongoose'), | |
Schema = mongoose.Schema; | |
var PhotoSchema = new Schema({ | |
type: { | |
type: String, | |
enum: ['png', 'jpeg', 'gif'] | |
}, |
'use strict'; | |
var gcm = require('node-gcm'), | |
Q = require('q'), | |
config = localrequire.config(), | |
User = localrequire.service('user'); | |
if (process.env.NODE_ENV === 'production') { | |
var sender = new gcm.Sender(config.gcm.key); |
'use strict'; | |
var request = require('request'), | |
Q = require('q'), | |
config = localrequire.config(); | |
if (process.env.NODE_ENV === 'production') { | |
var BASE_URI = config.gcm.uri, | |
PROJECT_ID = config.gcm.project, |
package image; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import javax.servlet.http.HttpServletResponse; | |
import org.apache.commons.io.IOUtils; | |
import org.springframework.beans.factory.annotation.Value; | |
import org.springframework.core.io.Resource; |
package utils; | |
import java.io.IOException; | |
import javax.servlet.FilterChain; | |
import javax.servlet.FilterConfig; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; |
package sample.utils; | |
import java.io.IOException; | |
import org.apache.hadoop.conf.Configuration; | |
import org.apache.hadoop.hbase.client.HTableInterface; | |
import org.apache.hadoop.hbase.client.HTableInterfaceFactory; | |
import org.apache.hadoop.hbase.client.HTablePool; | |
public class PooledHTableFactory implements HTableInterfaceFactory { |
@Configuration | |
@ImportResource("classpath:/net/kjunine/test.xml") | |
@PropertySource("classpath:/net/kjunine/test.properties") | |
@ComponentScan(basePackages = "net.kjunine", excludeFilters = { @Filter(type = FilterType.CUSTOM, value = { SamplePackageFilter.class }) }) | |
public class TestConfig { | |
@Bean | |
public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() { | |
return new PropertySourcesPlaceholderConfigurer(); | |
} |