Skip to content

Instantly share code, notes, and snippets.

Avatar
🇸🇷
Coding

smlc

🇸🇷
Coding
View GitHub Profile
View test loading file
package services
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.test.web.client.TestRestTemplate
import org.springframework.mock.web.MockMultipartFile
import org.springframework.test.context.ContextConfiguration
import spock.lang.Specification
@smlc
smlc / WebServicesApplication.java
Created Mar 15, 2017
SpringBootServletInitializer
View WebServicesApplication.java
package com.ws;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
@SpringBootApplication
public class WebServiceApplication extends SpringBootServletInitializer{