This file contains hidden or 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
[{ | |
"brand": "Toyota", | |
"make": "Corolla", | |
"year": "2015", | |
"imageUrl": "http://s3.caradvice.com.au/thumb/1000/562/wp-content/uploads/2015/06/2015-toyota-corolla-zr-4.jpg", | |
"price": "19200" | |
}, | |
{ | |
"brand": "Honda", | |
"make": "Civic", |
This file contains hidden or 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
Running with gitlab-runner 11.0.0-rc1 (6dcccded) | |
on docker-auto-scale ed2dce3a | |
Using Docker executor with image node:latest ... | |
Pulling docker image node:latest ... | |
Using docker image sha256:8753edeb1aa342081179474cfe5449f1b7d101d92d2799a7840da744b9bbb3ca for node:latest ... | |
Running on runner-ed2dce3a-project-7178756-concurrent-0 via runner-ed2dce3a-srm-1529715076-36abbbfe... | |
Cloning repository... | |
Cloning into '/builds/conceptteam/gyshido-sim-ui'... | |
Checking out 32f9528d as master... | |
Skipping Git submodules setup |
This file contains hidden or 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
spring: | |
appContextType: app | |
configLocationsType: classpath | |
configLocations: | |
- api-dao.xml | |
- api-datasource-jdbc.xml | |
- application-context.xml | |
- dropwizard-services.xml |
This file contains hidden or 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
“Spring + Jersey” Gist: http://goo.gl/G63DJK | |
HMS Online Spring Jersey: https://github.com/hmsonline/dropwizard-spring | |
"Overriding Spring Service Gist": | |
http://goo.gl/GJSI1V | |
See hmsonline project for example yaml configuration: | |
https://github.com/hmsonline/dropwizard-spring/blob/master/example/config.yaml | |
or my example: | |
http://goo.gl/lrEOCI |
This file contains hidden or 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
package com.hotelone.api.rs | |
import org.glassfish.hk2.api.ServiceLocator | |
import org.glassfish.jersey.client.ClientConfig | |
import org.glassfish.jersey.filter.LoggingFilter | |
import org.glassfish.jersey.internal.ServiceFinderBinder | |
import org.glassfish.jersey.internal.inject.Providers | |
import org.glassfish.jersey.internal.util.PropertiesHelper | |
import org.glassfish.jersey.internal.util.ReflectionHelper | |
import org.glassfish.jersey.server.ApplicationHandler |
This file contains hidden or 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
package com.hotelone.rs.resources | |
import javax.ws.rs.GET; | |
import javax.ws.rs.Path; | |
import javax.ws.rs.Produces; | |
import javax.ws.rs.core.MediaType; | |
@Path("/ws") | |
@Component | |
public class HelloWorldResource { |
This file contains hidden or 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
import com.github.jengelman.gradle.plugins.shadow.transformers.AppendingTransformer | |
import com.github.jengelman.gradle.plugins.shadow.transformers.ManifestResourceTransformer | |
import com.github.jengelman.gradle.plugins.shadow.transformers.ServiceFileTransformer | |
buildscript { | |
repositories { | |
mavenLocal() | |
mavenCentral() | |
jcenter() | |
maven { |
This file contains hidden or 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
package com.hotelone.api.service | |
import com.codahale.metrics.* | |
import com.codahale.metrics.graphite.Graphite | |
import com.codahale.metrics.graphite.GraphiteReporter | |
import com.hotelone.api.adapters.TimedResourceMethodDispatchAdapter | |
import com.hotelone.api.auth.ExampleAuthenticator | |
import com.hotelone.api.auth.User | |
import com.hotelone.api.bundles.SwaggerBundle | |
import com.hmsonline.dropwizard.spring.SpringService |
This file contains hidden or 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
initComponent: function() { | |
var me = this, | |
scroll = me.scroll, | |
vertical = false, | |
horizontal = false, | |
headerCtCfg = me.columns || me.colModel, | |
view, | |
border = me.border, |
This file contains hidden or 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
/* | |
Jasmine-Ajax : a set of helpers for testing AJAX requests under the Jasmine | |
BDD framework for JavaScript. | |
Supports both Prototype.js and jQuery. | |
http://github.com/pivotal/jasmine-ajax | |
Jasmine Home page: http://pivotal.github.com/jasmine |
NewerOlder