@cronapp/templates 3.2.1 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/file/blockly/JavaBlocklyAI/__ClassName__.java.ftl +23 -0
- package/file/blockly/JavaBlocklyAI/java.svg +21 -0
- package/file/blockly/JavaBlocklyAI/template.properties +21 -0
- package/file/blockly/JavaBlocklyAI/template_pt_BR.properties +7 -0
- package/file/blockly/JavaScriptBlocklyAI/__ClassName__.blockly.js.ftl +6 -0
- package/file/blockly/JavaScriptBlocklyAI/javascript.svg +21 -0
- package/file/blockly/JavaScriptBlocklyAI/template.properties +12 -0
- package/file/blockly/JavaScriptBlocklyAI/template_pt_BR.properties +7 -0
- package/file/java/JavaBlocklyAI/__ClassName__.java.ftl +23 -0
- package/file/java/JavaBlocklyAI/java.svg +21 -0
- package/file/java/JavaBlocklyAI/template.properties +20 -0
- package/file/java/JavaBlocklyAI/template_pt_BR.properties +7 -0
- package/file/js/JavaScriptBlocklyAI/__ClassName__.blockly.js.ftl +6 -0
- package/file/js/JavaScriptBlocklyAI/javascript.svg +21 -0
- package/file/js/JavaScriptBlocklyAI/template.properties +11 -0
- package/file/js/JavaScriptBlocklyAI/template_pt_BR.properties +7 -0
- package/file/report/Blank/Blank.png +0 -0
- package/file/report/Blank/__FileName__.report.ftl +0 -0
- package/file/report/CrossTabWithDetailing/CrossTabWithDetailing.png +0 -0
- package/file/report/CrossTabWithDetailing/__FileName__.report.ftl +0 -0
- package/file/report/Indicators/Indicators.png +0 -0
- package/file/report/Indicators/__FileName__.report.ftl +0 -0
- package/file/report/InsuranceWithSelectingCountry/InsuranceWithSelectingCountry.png +0 -0
- package/file/report/InsuranceWithSelectingCountry/__FileName__.report.ftl +0 -0
- package/file/report/InvoiceQuotation/InvoiceQuotation.png +0 -0
- package/file/report/InvoiceQuotation/__FileName__.report.ftl +0 -0
- package/file/report/InvoiceSoftware/InvoiceSoftware.png +0 -0
- package/file/report/InvoiceSoftware/__FileName__.report.ftl +0 -0
- package/file/report/Labels/Labels.png +0 -0
- package/file/report/Labels/__FileName__.report.ftl +0 -0
- package/file/report/MasterDetail/MasterDetail.png +0 -0
- package/file/report/MasterDetail/__FileName__.report.ftl +0 -0
- package/file/report/MultiColumnList/MultiColumnList.png +0 -0
- package/file/report/MultiColumnList/__FileName__.report.ftl +0 -0
- package/file/report/PurchaseOrder/PurchaseOrder.png +0 -0
- package/file/report/PurchaseOrder/__FileName__.report.ftl +0 -0
- package/file/report/SimpleGroup/SimpleGroup.png +0 -0
- package/file/report/SimpleGroup/__FileName__.report.ftl +0 -0
- package/file/report/Tree/Tree.png +0 -0
- package/file/report/Tree/__FileName__.report.ftl +0 -0
- package/file/report/TreeWithHeadersAndFooters/TreeWithHeadersAndFooters.png +0 -0
- package/file/report/TreeWithHeadersAndFooters/__FileName__.report.ftl +0 -0
- package/file/report/TwoMastersOnOneDetail/TwoMastersOnOneDetail.png +0 -0
- package/file/report/TwoMastersOnOneDetail/__FileName__.report.ftl +0 -0
- package/file/view.html/Login1ViewHtml/__FileName__.view.html.ftl +6 -6
- package/file/view.html/Login2ViewHtml/__FileName__.view.html.ftl +6 -6
- package/package-lock.json +5 -0
- package/package.json +2 -2
- package/project/C/Aplicacao Vazia/config/context.xml.ftl +2 -2
- package/project/C/Aplicacao com CRUD/config/context.xml.ftl +2 -2
- package/project/C/cronos/config/context.xml.ftl +2 -2
- package/project/L/report-custom/template.properties +0 -0
- package/project/L/report-custom/template_pt_BR.properties +0 -0
- package/project/M/cronapp-lyceum-project-mobile-cordova/template.properties +2 -2
- package/project/M/cronapp-rad-project-mobile-cordova/src/__copydata.ftl +7 -0
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/java/__linksInherit +3 -0
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/components/.gitkeep +0 -0
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/login.view.html.ftl +6 -6
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/assets/.gitkeep +0 -0
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/components/.gitkeep +0 -0
- package/project/M/cronapp-rad-project-mobile-cordova/src/test/java/blockly/.gitkeep +0 -0
- package/project/M/cronapp-rad-project-mobile-cordova/template.properties +3 -3
- package/project/M/cronapp-rad-project-mobile-cordova/template_en_US.properties +2 -2
- package/project/S/business-service/README.md +0 -0
- package/project/S/business-service/template.properties +0 -0
- package/project/S/business-service/template_en_US.properties +0 -0
- package/project/S/business-service/template_pt_BR.properties +0 -0
- package/project/S/data-service/README.md +0 -0
- package/project/S/data-service/config/context.xml.ftl +2 -2
- package/project/S/data-service/src/main/java/META-INF/persistence.xml.ftl +1 -1
- package/project/S/data-service/src/main/java/app/dao/SampleDAO.java +2 -5
- package/project/S/data-service/src/main/java/app/entity/Sample.java +4 -5
- package/project/S/data-service/template.properties +0 -0
- package/project/S/data-service/template_en_US.properties +0 -0
- package/project/S/data-service/template_pt_BR.properties +0 -0
- package/project/W/cronapp-rad-project/README.md +0 -0
- package/project/W/cronapp-rad-project/config/context.xml.ftl +2 -2
- package/project/W/cronapp-rad-project/diagram/app.umlcd +1 -1
- package/project/W/cronapp-rad-project/spring-boot.png +0 -0
- package/project/W/cronapp-rad-project/src/main/java/META-INF/persistence.xml.ftl +2 -8
- package/project/W/cronapp-rad-project/src/main/java/SpringBootMain.java.ftl +2 -8
- package/project/W/cronapp-rad-project/src/main/java/__copydata.ftl +4 -0
- package/project/W/cronapp-rad-project/src/main/java/app/entity/Application.java +3 -3
- package/project/W/cronapp-rad-project/src/main/java/app/entity/ApplicationUser.java +3 -3
- package/project/W/cronapp-rad-project/src/main/java/app/entity/AuditLog.java +3 -3
- package/project/W/cronapp-rad-project/src/main/java/app/entity/Device.java +3 -3
- package/project/W/cronapp-rad-project/src/main/java/app/entity/InvalidatedToken.java +3 -3
- package/project/W/cronapp-rad-project/src/main/java/app/entity/Login.java +3 -3
- package/project/W/cronapp-rad-project/src/main/java/app/entity/Role.java +3 -3
- package/project/W/cronapp-rad-project/src/main/java/app/entity/RoleSecurable.java +3 -3
- package/project/W/cronapp-rad-project/src/main/java/app/entity/Securable.java +3 -3
- package/project/W/cronapp-rad-project/src/main/java/app/entity/User.java +3 -3
- package/project/W/cronapp-rad-project/src/main/java/app/entity/UserRole.java +3 -3
- package/project/W/cronapp-rad-project/src/main/java/app/entity/UserSecurable.java +3 -3
- package/project/W/cronapp-rad-project/src/main/java/app/entity/View.java +3 -3
- package/project/W/cronapp-rad-project/src/main/java/dashboards/.gitkeep +0 -0
- package/project/W/cronapp-rad-project/src/main/java/reports/.gitkeep +0 -0
- package/project/W/cronapp-rad-project/src/main/resources/__copydata.ftl +3 -1
- package/project/W/cronapp-rad-project/src/main/resources/application.properties.ftl +1 -1
- package/project/W/cronapp-rad-project/src/main/resources/assets/.gitkeep +0 -0
- package/project/W/cronapp-rad-project/src/main/resources/bpm/.gitkeep +0 -0
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/components/.gitkeep +0 -0
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/index.html.ftl +41 -62
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/admin/user.view.html +2 -2
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/login.view.html.ftl +6 -6
- package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/components/.gitkeep +0 -0
- package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/index.html.ftl +42 -51
- package/project/W/cronapp-rad-project/src/test/java/blockly/.gitkeep +0 -0
- package/project/W/cronapp-rad-project/template.properties +1 -4
- package/project/W/cronapp-rad-project/template_en_US.properties +2 -4
- package/project/W/cronapp-rad-project/template_pt_BR.properties +3 -5
- package/templates/low-code/data-layer/ENTITIES.ftl +6 -6
- package/templates/low-code/data-layer/ENTITIESPK.ftl +2 -2
- package/templates/low-code/data-layer/SpringBootMain.java.ftl +2 -7
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/bowerscripts/clean_dependencies.js +0 -3
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/bowerscripts/package-lock.json +0 -187
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/bowerscripts/package.json +0 -14
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/bowerscripts/clean_dependencies.js +0 -3
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/bowerscripts/package-lock.json +0 -187
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/bowerscripts/package.json +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
description=Template
|
|
1
|
+
description=Template for creating Mobile and Web applications using Cronapp IDE
|
|
2
2
|
parameter.page.1.string.0.appid=Application Id
|
|
3
3
|
parameter.page.1.boolean.1.frontend=Include Web Front-End
|
|
4
4
|
parameter.page.1.boolean.2.backend=Include Back-End
|
|
@@ -30,4 +30,4 @@ themeDescription.United=The theme United uses standard HTML and CSS Bootstrap
|
|
|
30
30
|
themeDescription.Yeti=Yeti theme uses standard HTML and CSS Bootstrap
|
|
31
31
|
themeDescription.Material-Round=Material Round theme uses standard HTML and CSS Bootstrap 🆕
|
|
32
32
|
themeDescription.Nature=Nature theme uses standard HTML and CSS Bootstrap 🆕
|
|
33
|
-
themeDescription.Krypton=The Krypton theme uses standard HTML and CSS Bootstrap 🆕
|
|
33
|
+
themeDescription.Krypton=The Krypton theme uses standard HTML and CSS Bootstrap 🆕
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
removeAbandoned="false"
|
|
23
23
|
removeAbandonedTimeout="60"
|
|
24
24
|
logAbandoned="true"
|
|
25
|
-
url="jdbc:h2:file:~/${workCopyInfo.rootPath[workCopyInfo.rootPath?replace("/", "\\")?last_index_of("\\")+1..]};
|
|
25
|
+
url="jdbc:h2:file:~/${workCopyInfo.rootPath[workCopyInfo.rootPath?replace("/", "\\")?last_index_of("\\")+1..]};AUTO_SERVER=TRUE;MODE=LEGACY" />
|
|
26
26
|
</#if>
|
|
27
|
-
</Context>
|
|
27
|
+
</Context>
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<#else>
|
|
17
17
|
<properties>
|
|
18
18
|
<property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
|
|
19
|
-
<property name="javax.persistence.jdbc.url" value="jdbc:h2:file:~/${workCopyInfo.rootPath[workCopyInfo.rootPath?replace("/", "\\")?last_index_of("\\")+1..]};
|
|
19
|
+
<property name="javax.persistence.jdbc.url" value="jdbc:h2:file:~/${workCopyInfo.rootPath[workCopyInfo.rootPath?replace("/", "\\")?last_index_of("\\")+1..]};AUTO_SERVER=TRUE;MODE=LEGACY"/>
|
|
20
20
|
<property name="javax.persistence.jdbc.user" value="root"/>
|
|
21
21
|
<property name="javax.persistence.jdbc.password" value="root"/>
|
|
22
22
|
<property name="eclipselink.ddl-generation" value="create-or-extend-tables"/>
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
package app.dao;
|
|
2
2
|
|
|
3
3
|
import app.entity.*;
|
|
4
|
-
import java.util.*;
|
|
5
4
|
import org.springframework.stereotype.*;
|
|
6
5
|
import org.springframework.data.jpa.repository.*;
|
|
7
|
-
import org.springframework.data.domain.*;
|
|
8
|
-
import org.springframework.data.repository.query.*;
|
|
9
6
|
import org.springframework.transaction.annotation.*;
|
|
10
7
|
|
|
11
8
|
|
|
12
9
|
/**
|
|
13
10
|
* Realiza operação de Create, Read, Update e Delete no banco de dados.
|
|
14
11
|
* Os métodos de create, edit, delete e outros estão abstraídos no JpaRepository
|
|
15
|
-
*
|
|
12
|
+
*
|
|
16
13
|
* @see org.springframework.data.jpa.repository.JpaRepository
|
|
17
|
-
*
|
|
14
|
+
*
|
|
18
15
|
* @generated
|
|
19
16
|
*/
|
|
20
17
|
@Repository("app-SampleDAO")
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
package app.entity;
|
|
3
3
|
|
|
4
4
|
import java.io.*;
|
|
5
|
-
import
|
|
5
|
+
import jakarta.persistence.*;
|
|
6
6
|
import java.util.*;
|
|
7
|
-
import
|
|
8
|
-
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
7
|
+
import jakarta.xml.bind.annotation.*;
|
|
9
8
|
import com.fasterxml.jackson.annotation.JsonFilter;
|
|
10
9
|
import cronapi.rest.security.CronappSecurity;
|
|
11
10
|
import cronapi.swagger.CronappSwagger;
|
|
@@ -40,7 +39,7 @@ public class Sample implements Serializable {
|
|
|
40
39
|
* @generated
|
|
41
40
|
*/
|
|
42
41
|
@Column(name = "name", nullable = true, unique = false, insertable=true, updatable=true)
|
|
43
|
-
|
|
42
|
+
|
|
44
43
|
private java.lang.String name;
|
|
45
44
|
|
|
46
45
|
|
|
@@ -110,4 +109,4 @@ Sample object = (Sample)obj;
|
|
|
110
109
|
return result;
|
|
111
110
|
}
|
|
112
111
|
|
|
113
|
-
}
|
|
112
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
removeAbandoned="false"
|
|
23
23
|
removeAbandonedTimeout="60"
|
|
24
24
|
logAbandoned="true"
|
|
25
|
-
url="jdbc:h2:file:~/${workCopyInfo.rootPath[workCopyInfo.rootPath?replace("/", "\\")?last_index_of("\\")+1..]};
|
|
25
|
+
url="jdbc:h2:file:~/${workCopyInfo.rootPath[workCopyInfo.rootPath?replace("/", "\\")?last_index_of("\\")+1..]};AUTO_SERVER=TRUE;MODE=LEGACY" />
|
|
26
26
|
</#if>
|
|
27
|
-
</Context>
|
|
27
|
+
</Context>
|
|
File without changes
|
|
@@ -18,23 +18,17 @@
|
|
|
18
18
|
<class>app.entity.View</class>
|
|
19
19
|
<class>app.entity.Application</class>
|
|
20
20
|
<class>app.entity.ApplicationUser</class>
|
|
21
|
+
<class>app.entity.Session</class>
|
|
22
|
+
<class>app.entity.SessionAttributes</class>
|
|
21
23
|
</#if>
|
|
22
24
|
</#if>
|
|
23
25
|
<#if database??>
|
|
24
26
|
<#assign databaseConfig = database?split("|")>
|
|
25
27
|
<properties>
|
|
26
|
-
<property name="javax.persistence.jdbc.driver" value="${databaseConfig[5]}"/>
|
|
27
|
-
<property name="javax.persistence.jdbc.url" value="${databaseConfig[4]}"/>
|
|
28
|
-
<property name="javax.persistence.jdbc.user" value="${databaseConfig[1]}"/>
|
|
29
|
-
<property name="javax.persistence.jdbc.password" value="${databaseConfig[2]}"/>
|
|
30
28
|
<property name="eclipselink.ddl-generation" value="create-or-extend-tables"/>
|
|
31
29
|
</properties>
|
|
32
30
|
<#else>
|
|
33
31
|
<properties>
|
|
34
|
-
<property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
|
|
35
|
-
<property name="javax.persistence.jdbc.url" value="jdbc:h2:file:~/${workCopyInfo.rootPath[workCopyInfo.rootPath?replace("/", "\\")?last_index_of("\\")+1..]};ALIAS_COLUMN_NAME=true;AUTO_SERVER=TRUE"/>
|
|
36
|
-
<property name="javax.persistence.jdbc.user" value="root"/>
|
|
37
|
-
<property name="javax.persistence.jdbc.password" value="root"/>
|
|
38
32
|
<property name="eclipselink.ddl-generation" value="create-or-extend-tables"/>
|
|
39
33
|
</properties>
|
|
40
34
|
</#if>
|
|
@@ -14,15 +14,9 @@ import cronapp.framework.boot.CronappInitializer;
|
|
|
14
14
|
|
|
15
15
|
@SpringBootApplication
|
|
16
16
|
@ComponentScan(basePackages = {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
<#if (service!"false")?boolean>"cronapp.framework.authentication.token",</#if>
|
|
20
|
-
"cronapp.framework.authentication.security",
|
|
17
|
+
"cronapp.framework.core",
|
|
18
|
+
"cronapp.framework.security",
|
|
21
19
|
"cronapp.framework.rest",
|
|
22
|
-
<#if mutual?? && mutual?lower_case == "sim" && (enterprise)!false>
|
|
23
|
-
"cronapp.framework.authentication.mutual",
|
|
24
|
-
</#if>
|
|
25
|
-
"cronapp.framework.scheduler",
|
|
26
20
|
"auth.permission",
|
|
27
21
|
"api.rest.events",
|
|
28
22
|
"api.rest.webservices",
|
|
@@ -7,6 +7,8 @@ path=/app
|
|
|
7
7
|
path=/i18n
|
|
8
8
|
path=/META-INF
|
|
9
9
|
path=/blockly
|
|
10
|
+
path=/dashboards
|
|
11
|
+
path=/reports
|
|
10
12
|
file=SpringBootMain.java.ftl
|
|
11
13
|
<#if social?? && social?lower_case == "sim">
|
|
12
14
|
file=social.properties
|
|
@@ -23,6 +25,8 @@ path=/app
|
|
|
23
25
|
path=/i18n
|
|
24
26
|
path=/META-INF
|
|
25
27
|
path=/blockly
|
|
28
|
+
path=/dashboards
|
|
29
|
+
path=/reports
|
|
26
30
|
file=SpringBootMain.java.ftl
|
|
27
31
|
<#if social?? && social?lower_case == "sim">
|
|
28
32
|
file=social.properties
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
package app.entity;
|
|
2
2
|
|
|
3
3
|
import java.io.*;
|
|
4
|
-
import
|
|
4
|
+
import jakarta.persistence.*;
|
|
5
5
|
import java.util.*;
|
|
6
6
|
import javax.xml.bind.annotation.*;
|
|
7
7
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
@@ -13,8 +13,8 @@ import cronapi.rest.security.CronappSecurity;
|
|
|
13
13
|
* Classe que representa a tabela APPLICATION
|
|
14
14
|
* @generated
|
|
15
15
|
*/
|
|
16
|
-
@
|
|
17
|
-
@
|
|
16
|
+
@jakarta.persistence.Entity
|
|
17
|
+
@jakarta.persistence.Table(name = "\"APPLICATION\"")
|
|
18
18
|
@XmlRootElement
|
|
19
19
|
@CronappSecurity
|
|
20
20
|
@JsonFilter("app.entity.Application")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
package app.entity;
|
|
2
2
|
|
|
3
3
|
import java.io.*;
|
|
4
|
-
import
|
|
4
|
+
import jakarta.persistence.*;
|
|
5
5
|
import java.util.*;
|
|
6
6
|
import javax.xml.bind.annotation.*;
|
|
7
7
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
@@ -13,8 +13,8 @@ import cronapi.rest.security.CronappSecurity;
|
|
|
13
13
|
* Classe que representa a tabela APPLICATION_USER
|
|
14
14
|
* @generated
|
|
15
15
|
*/
|
|
16
|
-
@
|
|
17
|
-
@
|
|
16
|
+
@jakarta.persistence.Entity
|
|
17
|
+
@jakarta.persistence.Table(name = "\"APPLICATION_USER\"")
|
|
18
18
|
@XmlRootElement
|
|
19
19
|
@CronappSecurity
|
|
20
20
|
@JsonFilter("app.entity.ApplicationUser")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
package app.entity;
|
|
2
2
|
|
|
3
3
|
import java.io.*;
|
|
4
|
-
import
|
|
4
|
+
import jakarta.persistence.*;
|
|
5
5
|
import java.util.*;
|
|
6
6
|
import javax.xml.bind.annotation.*;
|
|
7
7
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
@@ -13,8 +13,8 @@ import cronapi.rest.security.CronappSecurity;
|
|
|
13
13
|
* Classe que representa a tabela AUDIT_LOG
|
|
14
14
|
* @generated
|
|
15
15
|
*/
|
|
16
|
-
@
|
|
17
|
-
@
|
|
16
|
+
@jakarta.persistence.Entity
|
|
17
|
+
@jakarta.persistence.Table(name = "\"AUDIT_LOG\"")
|
|
18
18
|
@XmlRootElement
|
|
19
19
|
@CronappSecurity(post = "Administrators", get = "Administrators", delete = "Administrators", put = "Administrators")
|
|
20
20
|
@JsonFilter("app.entity.AuditLog")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
package app.entity;
|
|
2
2
|
|
|
3
3
|
import java.io.*;
|
|
4
|
-
import
|
|
4
|
+
import jakarta.persistence.*;
|
|
5
5
|
import java.util.*;
|
|
6
6
|
import javax.xml.bind.annotation.*;
|
|
7
7
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
@@ -13,8 +13,8 @@ import cronapi.rest.security.CronappSecurity;
|
|
|
13
13
|
* Classe que representa a tabela DEVICE
|
|
14
14
|
* @generated
|
|
15
15
|
*/
|
|
16
|
-
@
|
|
17
|
-
@
|
|
16
|
+
@jakarta.persistence.Entity
|
|
17
|
+
@jakarta.persistence.Table(name = "\"DEVICE\"")
|
|
18
18
|
@XmlRootElement
|
|
19
19
|
@CronappSecurity
|
|
20
20
|
@JsonFilter("app.entity.Device")
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
package app.entity;
|
|
3
3
|
|
|
4
4
|
import java.io.*;
|
|
5
|
-
import
|
|
5
|
+
import jakarta.persistence.*;
|
|
6
6
|
import java.util.*;
|
|
7
7
|
import javax.xml.bind.annotation.*;
|
|
8
8
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
@@ -15,8 +15,8 @@ import cronapi.swagger.CronappSwagger;
|
|
|
15
15
|
* Classe que representa a tabela INVALIDATED_TOKEN
|
|
16
16
|
* @generated
|
|
17
17
|
*/
|
|
18
|
-
@
|
|
19
|
-
@
|
|
18
|
+
@jakarta.persistence.Entity
|
|
19
|
+
@jakarta.persistence.Table(name = "\"INVALIDATED_TOKEN\"")
|
|
20
20
|
@XmlRootElement
|
|
21
21
|
@CronappSecurity
|
|
22
22
|
@JsonFilter("app.entity.InvalidatedToken")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
package app.entity;
|
|
2
2
|
|
|
3
3
|
import java.io.*;
|
|
4
|
-
import
|
|
4
|
+
import jakarta.persistence.*;
|
|
5
5
|
import java.util.*;
|
|
6
6
|
import javax.xml.bind.annotation.*;
|
|
7
7
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
@@ -13,8 +13,8 @@ import cronapi.rest.security.CronappSecurity;
|
|
|
13
13
|
* Classe que representa a tabela LOGIN
|
|
14
14
|
* @generated
|
|
15
15
|
*/
|
|
16
|
-
@
|
|
17
|
-
@
|
|
16
|
+
@jakarta.persistence.Entity
|
|
17
|
+
@jakarta.persistence.Table(name = "\"LOGIN\"")
|
|
18
18
|
@XmlRootElement
|
|
19
19
|
@CronappSecurity(post = "Administrators", get = "Administrators", delete = "Administrators", put = "Administrators")
|
|
20
20
|
@JsonFilter("app.entity.Login")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
package app.entity;
|
|
2
2
|
|
|
3
3
|
import java.io.*;
|
|
4
|
-
import
|
|
4
|
+
import jakarta.persistence.*;
|
|
5
5
|
import java.util.*;
|
|
6
6
|
import javax.xml.bind.annotation.*;
|
|
7
7
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
@@ -13,8 +13,8 @@ import cronapi.rest.security.CronappSecurity;
|
|
|
13
13
|
* Classe que representa a tabela ROLE
|
|
14
14
|
* @generated
|
|
15
15
|
*/
|
|
16
|
-
@
|
|
17
|
-
@
|
|
16
|
+
@jakarta.persistence.Entity
|
|
17
|
+
@jakarta.persistence.Table(name = "\"ROLE\"")
|
|
18
18
|
@XmlRootElement
|
|
19
19
|
@CronappSecurity(post = "Administrators", get = "Administrators", delete = "Administrators", put = "Administrators")
|
|
20
20
|
@JsonFilter("app.entity.Role")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
package app.entity;
|
|
2
2
|
|
|
3
3
|
import java.io.*;
|
|
4
|
-
import
|
|
4
|
+
import jakarta.persistence.*;
|
|
5
5
|
import java.util.*;
|
|
6
6
|
import javax.xml.bind.annotation.*;
|
|
7
7
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
@@ -13,8 +13,8 @@ import cronapi.rest.security.CronappSecurity;
|
|
|
13
13
|
* Classe que representa a tabela ROLE_SECURABLE
|
|
14
14
|
* @generated
|
|
15
15
|
*/
|
|
16
|
-
@
|
|
17
|
-
@
|
|
16
|
+
@jakarta.persistence.Entity
|
|
17
|
+
@jakarta.persistence.Table(name = "\"ROLE_SECURABLE\"")
|
|
18
18
|
@XmlRootElement
|
|
19
19
|
@CronappSecurity(post = "Administrators", get = "Administrators", delete = "Administrators", put = "Administrators")
|
|
20
20
|
@JsonFilter("app.entity.RoleSecurable")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
package app.entity;
|
|
2
2
|
|
|
3
3
|
import java.io.*;
|
|
4
|
-
import
|
|
4
|
+
import jakarta.persistence.*;
|
|
5
5
|
import java.util.*;
|
|
6
6
|
import javax.xml.bind.annotation.*;
|
|
7
7
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
@@ -13,8 +13,8 @@ import cronapi.rest.security.CronappSecurity;
|
|
|
13
13
|
* Classe que representa a tabela SECURABLE
|
|
14
14
|
* @generated
|
|
15
15
|
*/
|
|
16
|
-
@
|
|
17
|
-
@
|
|
16
|
+
@jakarta.persistence.Entity
|
|
17
|
+
@jakarta.persistence.Table(name = "\"SECURABLE\"")
|
|
18
18
|
@XmlRootElement
|
|
19
19
|
@CronappSecurity(post = "Administrators", get = "Administrators", delete = "Administrators", put = "Administrators")
|
|
20
20
|
@JsonFilter("app.entity.Securable")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
package app.entity;
|
|
2
2
|
|
|
3
3
|
import java.io.*;
|
|
4
|
-
import
|
|
4
|
+
import jakarta.persistence.*;
|
|
5
5
|
import java.util.*;
|
|
6
6
|
import javax.xml.bind.annotation.*;
|
|
7
7
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
@@ -14,8 +14,8 @@ import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
|
|
14
14
|
*
|
|
15
15
|
* @generated
|
|
16
16
|
*/
|
|
17
|
-
@
|
|
18
|
-
@
|
|
17
|
+
@jakarta.persistence.Entity
|
|
18
|
+
@jakarta.persistence.Table(name = "\"USER\"")
|
|
19
19
|
@XmlRootElement
|
|
20
20
|
@CronappSecurity(post = "Administrators", get = "Administrators", delete = "Administrators", put = "Administrators")
|
|
21
21
|
@JsonFilter("app.entity.User")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
package app.entity;
|
|
2
2
|
|
|
3
3
|
import java.io.*;
|
|
4
|
-
import
|
|
4
|
+
import jakarta.persistence.*;
|
|
5
5
|
import java.util.*;
|
|
6
6
|
import javax.xml.bind.annotation.*;
|
|
7
7
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
@@ -13,8 +13,8 @@ import cronapi.rest.security.CronappSecurity;
|
|
|
13
13
|
* Classe que representa a tabela USER_ROLE
|
|
14
14
|
* @generated
|
|
15
15
|
*/
|
|
16
|
-
@
|
|
17
|
-
@
|
|
16
|
+
@jakarta.persistence.Entity
|
|
17
|
+
@jakarta.persistence.Table(name = "\"USER_ROLE\"")
|
|
18
18
|
@XmlRootElement
|
|
19
19
|
@CronappSecurity(post = "Administrators", get = "Administrators", delete = "Administrators", put = "Administrators")
|
|
20
20
|
@JsonFilter("app.entity.UserRole")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
package app.entity;
|
|
2
2
|
|
|
3
3
|
import java.io.*;
|
|
4
|
-
import
|
|
4
|
+
import jakarta.persistence.*;
|
|
5
5
|
import java.util.*;
|
|
6
6
|
import javax.xml.bind.annotation.*;
|
|
7
7
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
@@ -13,8 +13,8 @@ import cronapi.rest.security.CronappSecurity;
|
|
|
13
13
|
* Classe que representa a tabela USER_SECURABLE
|
|
14
14
|
* @generated
|
|
15
15
|
*/
|
|
16
|
-
@
|
|
17
|
-
@
|
|
16
|
+
@jakarta.persistence.Entity
|
|
17
|
+
@jakarta.persistence.Table(name = "\"USER_SECURABLE\"")
|
|
18
18
|
@XmlRootElement
|
|
19
19
|
@CronappSecurity(post = "Administrators", get = "Administrators", delete = "Administrators", put = "Administrators")
|
|
20
20
|
@JsonFilter("app.entity.UserSecurable")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
package app.entity;
|
|
2
2
|
|
|
3
3
|
import java.io.*;
|
|
4
|
-
import
|
|
4
|
+
import jakarta.persistence.*;
|
|
5
5
|
import java.util.*;
|
|
6
6
|
import javax.xml.bind.annotation.*;
|
|
7
7
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
@@ -13,8 +13,8 @@ import cronapi.rest.security.CronappSecurity;
|
|
|
13
13
|
* Classe que representa a tabela VIEW
|
|
14
14
|
* @generated
|
|
15
15
|
*/
|
|
16
|
-
@
|
|
17
|
-
@
|
|
16
|
+
@jakarta.persistence.Entity
|
|
17
|
+
@jakarta.persistence.Table(name = "\"VIEW\"")
|
|
18
18
|
@XmlRootElement
|
|
19
19
|
@CronappSecurity
|
|
20
20
|
@JsonFilter("app.entity.View")
|
|
File without changes
|
|
File without changes
|
|
@@ -25,4 +25,4 @@ security.oauth2.saml.maxAuthenticationAge=7200
|
|
|
25
25
|
security.oauth2.saml.forceAuthN=false
|
|
26
26
|
security.oauth2.sso.login-path=/login
|
|
27
27
|
spring.output.ansi.enabled=ALWAYS
|
|
28
|
-
cronapp.security.authentication=${(!(service
|
|
28
|
+
cronapp.security.authentication=${((!(service?default("false")?boolean) && (authentication?lower_case != "nenhuma"))?string)}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|