-
Notifications
You must be signed in to change notification settings - Fork 940
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compile issue - updating framework
- Loading branch information
philip
committed
Jul 3, 2019
1 parent
b0587c8
commit 25ab7e8
Showing
999 changed files
with
15,033 additions
and
3,484 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,3 @@ org.eclipse.jdt.core.compiler.source=1.8 | |
|
||
|
||
|
||
|
||
|
||
|
32 changes: 32 additions & 0 deletions
32
bizcore/WEB-INF/caf_core_src/com/skynet/bootstrap/AppEntrance.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package com.skynet.bootstrap; | ||
|
||
import com.terapico.uccaf.UCInvocationServlet; | ||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
//import org.springframework.boot.autoconfigure.elasticsearch.rest.RestClientAutoConfiguration; | ||
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; | ||
import org.springframework.boot.web.servlet.ServletComponentScan; | ||
import org.springframework.boot.web.servlet.ServletRegistrationBean; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.ImportResource; | ||
import org.springframework.web.servlet.DispatcherServlet; | ||
|
||
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) | ||
@ImportResource(locations = {"classpath:/META-INF/spring.xml", "classpath:/META-INF/online-system.xml"}) | ||
@ServletComponentScan(basePackageClasses = {UCInvocationServlet.class}) | ||
public class AppEntrance { | ||
public static void main(String[] args) { | ||
SpringApplication.run(AppEntrance.class, args); | ||
} | ||
|
||
@Bean | ||
public ServletRegistrationBean dispatcherRegistration(DispatcherServlet dispatcherServlet) { | ||
ServletRegistrationBean reg = new ServletRegistrationBean(dispatcherServlet); | ||
reg.getUrlMappings().clear(); | ||
reg.addUrlMappings("*.css"); | ||
reg.addUrlMappings("*.txt"); | ||
reg.addUrlMappings("*.js"); | ||
reg.addUrlMappings("*.jpg"); | ||
return reg; | ||
} | ||
} |
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
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
5 changes: 5 additions & 0 deletions
5
bizcore/WEB-INF/caf_core_src/com/terapico/caf/RemoteInitiable.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.terapico.caf; | ||
|
||
public interface RemoteInitiable { | ||
|
||
} |
Oops, something went wrong.