Skip to content

Commit a0960b4

Browse files
authored
Merge pull request #14 from mariodavid/cuba-7.1-support
CUBA 7.1 support
2 parents f7368c5 + 8ba13ee commit a0960b4

7 files changed

Lines changed: 18 additions & 32 deletions

File tree

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
language: groovy
22
jdk:
3-
- oraclejdk8
3+
- openjdk8
44
cache:
55
directories:
6-
- $HOME/.gradle/caches/
7-
- $HOME/.gradle/wrapper/
6+
- "$HOME/.gradle/caches/"
7+
- "$HOME/.gradle/wrapper/"
8+
before_install:
9+
- "chmod +x ./gradlew"
810
script:
9-
- ./gradlew check
11+
- "./gradlew --no-daemon check --info"

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [0.9.0] - 18.09.2019
8+
9+
### Dependencies
10+
- CUBA 7.1.x
11+
712
## [0.8.0] - 01.02.2019
813

914
### Added

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CUBA component that allows to write generic features for a Controller and use th
1414

1515
| Platform Version | Add-on Version |
1616
| ---------------- | -------------- |
17+
| 7.1.x | 0.9.x |
1718
| 7.0.x | 0.8.x |
1819
| 6.10.x | 0.7.x |
1920
| 6.9.x | 0.6.x |

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
buildscript {
3-
ext.cubaVersion = '7.0.0'
3+
ext.cubaVersion = '7.1.0'
44
repositories {
55
maven {
66
url 'https://repo.cuba-platform.com/content/groups/work'
@@ -34,7 +34,7 @@ apply(plugin: 'cuba')
3434
cuba {
3535
artifact {
3636
group = 'de.balvi.cuba.declarativecontrollers'
37-
version = "0.8.0"
37+
version = "0.9.0"
3838
isSnapshot = false
3939
}
4040
tomcat {
@@ -50,7 +50,7 @@ dependencies {
5050

5151
}
5252

53-
def hsql = 'org.hsqldb:hsqldb:2.2.9'
53+
def hsql = 'org.hsqldb:hsqldb:2.4.1'
5454

5555

5656
allprojects {

modules/core/src/de/balvi/cuba/declarativecontrollers/core/messages.properties

Whitespace-only changes.

modules/web/src/de/balvi/cuba/declarativecontrollers/web-app.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,6 @@ cuba.availableLocales = English|en
4545
cuba.localeSelectVisible = false
4646
cuba.restApiUrl = http://localhost:8080/declarativecontrollers-portal/api
4747
cuba.webAppUrl = http://localhost:8080/declarativecontrollers
48+
cuba.web.loginScreenId=loginWindow
49+
cuba.web.mainScreenId=mainWindow
50+
cuba.gui.genericFilterApplyImmediately=false

modules/web/web/WEB-INF/web.xml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@
3131
<servlet-class>com.haulmont.cuba.web.sys.CubaDispatcherServlet</servlet-class>
3232
<load-on-startup>1</load-on-startup>
3333
</servlet>
34-
<servlet>
35-
<servlet-name>rest_api</servlet-name>
36-
<servlet-class>com.haulmont.restapi.sys.CubaRestApiServlet</servlet-class>
37-
<load-on-startup>2</load-on-startup>
38-
</servlet>
3934
<servlet-mapping>
4035
<servlet-name>dispatcher</servlet-name>
4136
<url-pattern>/dispatch/*</url-pattern>
@@ -44,10 +39,6 @@
4439
<servlet-name>app_servlet</servlet-name>
4540
<url-pattern>/*</url-pattern>
4641
</servlet-mapping>
47-
<servlet-mapping>
48-
<servlet-name>rest_api</servlet-name>
49-
<url-pattern>/rest/*</url-pattern>
50-
</servlet-mapping>
5142
<filter>
5243
<filter-name>cuba_filter</filter-name>
5344
<filter-class>com.haulmont.cuba.web.sys.CubaHttpFilter</filter-class>
@@ -57,20 +48,4 @@
5748
<filter-name>cuba_filter</filter-name>
5849
<url-pattern>/*</url-pattern>
5950
</filter-mapping>
60-
<filter>
61-
<filter-name>restSpringSecurityFilterChain</filter-name>
62-
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
63-
<init-param>
64-
<param-name>contextAttribute</param-name>
65-
<param-value>org.springframework.web.servlet.FrameworkServlet.CONTEXT.rest_api</param-value>
66-
</init-param>
67-
<init-param>
68-
<param-name>targetBeanName</param-name>
69-
<param-value>springSecurityFilterChain</param-value>
70-
</init-param>
71-
</filter>
72-
<filter-mapping>
73-
<filter-name>restSpringSecurityFilterChain</filter-name>
74-
<url-pattern>/rest/*</url-pattern>
75-
</filter-mapping>
7651
</web-app>

0 commit comments

Comments
 (0)