Skip to content

Commit

Permalink
Release 0.6.0 for cuba 7.1.0 #9
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Tsarev committed Sep 3, 2019
1 parent 82519a5 commit 0a207c7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 32 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ JavaMelody: monitoring of JavaEE applications

| Add-on | Platform |
|:------------- |:------------- |
| 0.6.0 | 7.1.0 |
| 0.5.1 | 7.0.0 |
| 0.4.0 | 6.10.0 |
| 0.3.1 | 6.9.0 |
Expand All @@ -27,7 +28,7 @@ JavaMelody: monitoring of JavaEE applications

1. Add custom application component to your project (change the version part if needed):

`com.haulmont.addon.cubajm:cuba-jm-global:0.5.1`
`com.haulmont.addon.cubajm:cuba-jm-global:0.6.0`

2. Configure monitoring URLs with the `cubajm.monitoringUrl` application
property. Default values are `/core-jm/` and `/web-jm/` for middleware
Expand Down
11 changes: 5 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

buildscript {
ext.cubaVersion = '7.0.0'
ext.cubaVersion = '7.1.0'
repositories {
jcenter()
maven { url "https://dl.bintray.com/cuba-platform/main" }
Expand All @@ -40,7 +40,7 @@ apply(plugin: 'cuba')
cuba {
artifact {
group = 'com.haulmont.addon.cubajm'
version = '0.5.0'
version = '0.6.0'
isSnapshot = true
}
tomcat {
Expand Down Expand Up @@ -75,7 +75,7 @@ dependencies {
appComponent("com.haulmont.cuba:cuba-global:$cubaVersion")
}

def hsql = 'org.hsqldb:hsqldb:2.2.9'
def hsql = 'org.hsqldb:hsqldb:2.4.1'

configure([globalModule, coreModule, webModule, jmModule]) {
apply(plugin: 'java')
Expand Down Expand Up @@ -122,7 +122,6 @@ configure(coreModule) {
dependencies {
compile(globalModule)
compile(jmModule)
compileOnly(servletApi)
jdbc(hsql)
testRuntime(hsql)
}
Expand Down Expand Up @@ -167,7 +166,6 @@ configure(webModule) {

dependencies {
compile(globalModule)
compileOnly(servletApi)
compile(jmModule)
}

Expand Down Expand Up @@ -212,7 +210,8 @@ configure(webModule) {
configure(jmModule) {
dependencies {
compile(globalModule)
compile('net.bull.javamelody:javamelody-core:1.76.0')
compile('net.bull.javamelody:javamelody-core:1.79.0')
compileOnly(servletApi)
}
}

Expand Down
25 changes: 0 additions & 25 deletions modules/web/web/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@
<servlet-class>com.haulmont.cuba.web.sys.CubaDispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>rest_api</servlet-name>
<servlet-class>com.haulmont.restapi.sys.CubaRestApiServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>dispatcher</servlet-name>
<url-pattern>/dispatch/*</url-pattern>
Expand All @@ -61,10 +56,6 @@
<servlet-name>app_servlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>rest_api</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>
<filter>
<filter-name>cuba_filter</filter-name>
<filter-class>com.haulmont.cuba.web.sys.CubaHttpFilter</filter-class>
Expand All @@ -74,20 +65,4 @@
<filter-name>cuba_filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter>
<filter-name>restSpringSecurityFilterChain</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
<init-param>
<param-name>contextAttribute</param-name>
<param-value>org.springframework.web.servlet.FrameworkServlet.CONTEXT.rest_api</param-value>
</init-param>
<init-param>
<param-name>targetBeanName</param-name>
<param-value>springSecurityFilterChain</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>restSpringSecurityFilterChain</filter-name>
<url-pattern>/rest/*</url-pattern>
</filter-mapping>
</web-app>

0 comments on commit 0a207c7

Please sign in to comment.