@cronapp/templates 2.9.5 → 2.9.6
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/crud/angular_crud_input/__FileName__.view.html.ftl +63 -0
- package/file/crud/angular_crud_input/template.properties +4 -0
- package/file/crud/angular_crud_input/template_en_US.properties +1 -0
- package/file/crud/phonegap_crud_input/__FileName__.view.html.ftl +122 -0
- package/file/crud/phonegap_crud_input/template.properties +4 -0
- package/file/crud/phonegap_crud_input/template_en_US.properties +1 -0
- package/file/report/Blank/Blank.png +0 -0
- package/file/report/Blank/__FileName__.report.ftl +44 -0
- package/file/report/Blank/template.properties +6 -0
- package/file/report/Blank/template_pt_BR.properties +2 -0
- package/file/report/CrossTabWithDetailing/CrossTabWithDetailing.png +0 -0
- package/file/report/CrossTabWithDetailing/__FileName__.report.ftl +1900 -0
- package/file/report/CrossTabWithDetailing/template.properties +6 -0
- package/file/report/CrossTabWithDetailing/template_pt_BR.properties +2 -0
- package/file/report/Indicators/Indicators.png +0 -0
- package/file/report/Indicators/__FileName__.report.ftl +2074 -0
- package/file/report/Indicators/template.properties +6 -0
- package/file/report/Indicators/template_pt_BR.properties +2 -0
- package/file/report/InsuranceWithSelectingCountry/InsuranceWithSelectingCountry.png +0 -0
- package/file/report/InsuranceWithSelectingCountry/__FileName__.report.ftl +1875 -0
- package/file/report/InsuranceWithSelectingCountry/template.properties +6 -0
- package/file/report/InsuranceWithSelectingCountry/template_pt_BR.properties +2 -0
- package/file/report/InvoiceQuotation/InvoiceQuotation.png +0 -0
- package/file/report/InvoiceQuotation/__FileName__.report.ftl +900 -0
- package/file/report/InvoiceQuotation/template.properties +6 -0
- package/file/report/InvoiceQuotation/template_pt_BR.properties +2 -0
- package/file/report/InvoiceSoftware/InvoiceSoftware.png +0 -0
- package/file/report/InvoiceSoftware/__FileName__.report.ftl +665 -0
- package/file/report/InvoiceSoftware/template.properties +6 -0
- package/file/report/InvoiceSoftware/template_pt_BR.properties +2 -0
- package/file/report/Labels/Labels.png +0 -0
- package/file/report/Labels/__FileName__.report.ftl +675 -0
- package/file/report/Labels/template.properties +6 -0
- package/file/report/Labels/template_pt_BR.properties +2 -0
- package/file/report/MasterDetail/MasterDetail.png +0 -0
- package/file/report/MasterDetail/__FileName__.report.ftl +816 -0
- package/file/report/MasterDetail/template.properties +6 -0
- package/file/report/MasterDetail/template_pt_BR.properties +2 -0
- package/file/report/MultiColumnList/MultiColumnList.png +0 -0
- package/file/report/MultiColumnList/__FileName__.report.ftl +536 -0
- package/file/report/MultiColumnList/template.properties +6 -0
- package/file/report/MultiColumnList/template_pt_BR.properties +2 -0
- package/file/report/PurchaseOrder/PurchaseOrder.png +0 -0
- package/file/report/PurchaseOrder/__FileName__.report.ftl +1541 -0
- package/file/report/PurchaseOrder/template.properties +6 -0
- package/file/report/PurchaseOrder/template_pt_BR.properties +2 -0
- package/file/report/SimpleGroup/SimpleGroup.png +0 -0
- package/file/report/SimpleGroup/__FileName__.report.ftl +697 -0
- package/file/report/SimpleGroup/template.properties +6 -0
- package/file/report/SimpleGroup/template_pt_BR.properties +2 -0
- package/file/report/Tree/Tree.png +0 -0
- package/file/report/Tree/__FileName__.report.ftl +525 -0
- package/file/report/Tree/template.properties +6 -0
- package/file/report/Tree/template_pt_BR.properties +2 -0
- package/file/report/TreeWithHeadersAndFooters/TreeWithHeadersAndFooters.png +0 -0
- package/file/report/TreeWithHeadersAndFooters/__FileName__.report.ftl +698 -0
- package/file/report/TreeWithHeadersAndFooters/template.properties +6 -0
- package/file/report/TreeWithHeadersAndFooters/template_pt_BR.properties +2 -0
- package/file/report/TwoMastersOnOneDetail/TwoMastersOnOneDetail.png +0 -0
- package/file/report/TwoMastersOnOneDetail/__FileName__.report.ftl +1297 -0
- package/file/report/TwoMastersOnOneDetail/template.properties +6 -0
- package/file/report/TwoMastersOnOneDetail/template_pt_BR.properties +2 -0
- package/file/report/group.properties +6 -0
- package/file/report/report.png +0 -0
- package/package.json +1 -1
- package/project/M/cronapp-lyceum-project-mobile-cordova/template.properties +4 -1
- package/project/M/cronapp-lyceum-project-mobile-cordova/template_en_US.properties +2 -0
- package/project/M/cronapp-lyceum-project-mobile-cordova/template_pt_BR.properties +2 -0
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/logged/user.view.html +12 -2
- package/project/M/cronapp-rad-project-mobile-cordova/template.properties +3 -1
- package/project/M/cronapp-rad-project-mobile-cordova/template_en_US.properties +3 -1
- package/project/M/cronapp-rad-project-mobile-cordova/template_pt_BR.properties +3 -1
- package/project/S/business-service/src/main/java/META-INF/authorities.json.ftl +26 -0
- package/project/S/business-service/template.properties +6 -3
- package/project/S/business-service/template_en_US.properties +1 -2
- package/project/S/business-service/template_pt_BR.properties +1 -1
- package/project/S/data-service/README.md +24 -0
- package/project/S/data-service/__linksInherit +1 -0
- package/project/S/data-service/config/context.xml.ftl +27 -0
- package/project/S/data-service/diagram/app.umlcd +233 -0
- package/project/S/data-service/project.svg +116 -0
- package/project/S/data-service/src/main/java/META-INF/persistence.xml.ftl +26 -0
- package/project/S/data-service/src/main/java/app/AppConfiguration.java +63 -0
- package/project/S/data-service/src/main/java/app/dao/SampleDAO.java +24 -0
- package/project/S/data-service/src/main/java/app/entity/Sample.java +112 -0
- package/project/S/data-service/template.properties +81 -0
- package/project/S/data-service/template_en_US.properties +4 -0
- package/project/S/data-service/template_pt_BR.properties +4 -0
- package/project/W/cronapp-rad-project/__copydata.ftl +1 -1
- package/project/W/cronapp-rad-project/config/__copydata.ftl +1 -1
- package/project/W/cronapp-rad-project/config/app.config.ftl +1 -1
- package/project/W/cronapp-rad-project/diagram/app.umlcd +1 -1
- package/project/W/cronapp-rad-project/diagram/app.umlcd.ftl +1 -1
- package/project/W/cronapp-rad-project/pom.xml.ftl +1 -1
- package/project/W/cronapp-rad-project/src/main/__copydata.ftl +2 -2
- package/project/W/cronapp-rad-project/src/main/java/META-INF/__copydata.ftl +2 -2
- package/project/W/cronapp-rad-project/src/main/java/META-INF/customQuery.json.ftl +1 -1
- package/project/W/cronapp-rad-project/src/main/java/META-INF/datasources/__copydata.ftl +2 -2
- package/project/W/cronapp-rad-project/src/main/java/META-INF/persistence.xml.ftl +1 -1
- package/project/W/cronapp-rad-project/src/main/java/SpringBootMain.java.ftl +2 -2
- package/project/W/cronapp-rad-project/src/main/java/__copydata.ftl +2 -2
- package/project/W/cronapp-rad-project/src/main/java/app/AppConfiguration.java.ftl +1 -1
- package/project/W/cronapp-rad-project/src/main/java/app/__copydata.ftl +1 -1
- package/project/W/cronapp-rad-project/src/main/java/app/dao/__copydata.ftl +1 -1
- package/project/W/cronapp-rad-project/src/main/java/app/entity/AuditLog.java +1 -1
- package/project/W/cronapp-rad-project/src/main/java/app/entity/__copydata.ftl +1 -1
- package/project/W/cronapp-rad-project/src/main/java/app/populate.json.ftl +0 -4
- package/project/W/cronapp-rad-project/src/main/java/blockly/__copydata.ftl +1 -1
- package/project/W/cronapp-rad-project/src/main/resources/__copydata.ftl +1 -1
- package/project/W/cronapp-rad-project/src/main/resources/application.properties.ftl +1 -1
- package/project/W/cronapp-rad-project/template.properties +4 -3
- package/project/W/cronapp-rad-project/template_en_US.properties +3 -2
- package/project/W/cronapp-rad-project/template_pt_BR.properties +3 -2
- package/templates/low-code/data-layer/RESTWebService.ftl +28 -23
- /package/templates/low-code/{krypton-thumb.png → krypton.png} +0 -0
|
Binary file
|
package/package.json
CHANGED
|
@@ -27,7 +27,8 @@ parameter.page.1.string.6.tenant=
|
|
|
27
27
|
parameter.page.1.string.7.token=
|
|
28
28
|
parameter.page.1.string.8.accessid=
|
|
29
29
|
|
|
30
|
-
parameter.page.2.theme.6.theme=Material|Aquamarine|Fuse|DsGov|Cerulean|Cosmo|Cyborg|Darkly|Flatly|Journal|Lumen|Paper|Readable|Sandstone|Simplex|Slate|Spacelab|Superhero|United|Yeti
|
|
30
|
+
parameter.page.2.theme.6.theme=Material|Aquamarine|Fuse|DsGov|Material-Round|Krypton|Cerulean|Cosmo|Cyborg|Darkly|Flatly|Journal|Lumen|Paper|Readable|Sandstone|Simplex|Slate|Spacelab|Superhero|United|Yeti
|
|
31
|
+
|
|
31
32
|
themeDescription.Aquamarine=O tema Aquamarine utiliza o padrão de HTML e CSS do Bootstrap 🆕
|
|
32
33
|
themeDescription.Fuse=O tema Fuse utiliza o padrão de HTML e CSS do Bootstrap 🆕
|
|
33
34
|
themeDescription.DsGov=O tema DsGov utiliza o padrão de HTML e CSS do Gov.br 🆕
|
|
@@ -48,6 +49,8 @@ themeDescription.Spacelab=O tema Spacelab utiliza o padrão de HTML e CSS do Boo
|
|
|
48
49
|
themeDescription.Superhero=O tema Superhero utiliza o padrão de HTML e CSS do Bootstrap
|
|
49
50
|
themeDescription.United=O tema United utiliza o padrão de HTML e CSS do Bootstrap
|
|
50
51
|
themeDescription.Yeti=O tema Yeti utiliza o padrão de HTML e CSS do Bootstrap
|
|
52
|
+
themeDescription.Material-Round=Material Round theme uses standard HTML and CSS Bootstrap 🆕
|
|
53
|
+
themeDescription.Krypton=The Krypton theme uses standard HTML and CSS Bootstrap 🆕
|
|
51
54
|
|
|
52
55
|
parameter.dependency.dcyauthentication.authentication.backend.false=Token
|
|
53
56
|
parameter.hidden.lyceum=true
|
|
@@ -30,3 +30,5 @@ themeDescription.Spacelab=Spacelab theme uses standard HTML and CSS Bootstrap
|
|
|
30
30
|
themeDescription.Superhero=The Superhero theme uses standard HTML and CSS Bootstrap
|
|
31
31
|
themeDescription.United=The theme United uses standard HTML and CSS Bootstrap
|
|
32
32
|
themeDescription.Yeti=Yeti theme uses standard HTML and CSS Bootstrap
|
|
33
|
+
themeDescription.Material-Round=Material Round theme uses standard HTML and CSS Bootstrap 🆕
|
|
34
|
+
themeDescription.Krypton=The Krypton theme uses standard HTML and CSS Bootstrap 🆕
|
|
@@ -29,3 +29,5 @@ themeDescription.Spacelab=O tema Spacelab utiliza o padrão de HTML e CSS do Boo
|
|
|
29
29
|
themeDescription.Superhero=O tema Superhero utiliza o padrão de HTML e CSS do Bootstrap
|
|
30
30
|
themeDescription.United=O tema United utiliza o padrão de HTML e CSS do Bootstrap
|
|
31
31
|
themeDescription.Yeti=O tema Yeti utiliza o padrão de HTML e CSS do Bootstrap
|
|
32
|
+
themeDescription.Material-Round=Material Round theme uses standard HTML and CSS Bootstrap 🆕
|
|
33
|
+
themeDescription.Krypton=The Krypton theme uses standard HTML and CSS Bootstrap 🆕
|
|
@@ -16,9 +16,19 @@
|
|
|
16
16
|
<h1 class="title" align-title="text-align: center;" style="text-align: center;">
|
|
17
17
|
{{"Home.view.Users" | translate}}</h1>
|
|
18
18
|
<div side="right" class="buttons buttons-right header-item" data-component="crn-header-button">
|
|
19
|
-
<button class="button button-clear"
|
|
19
|
+
<button aria-labelledby="right_plus_sr" class="button button-clear"
|
|
20
|
+
ng-if="!User.inserting && !User.editing"
|
|
21
|
+
ng-click="User.startInserting()" data-component="crn-button"
|
|
22
|
+
xattr-type="button-clear">
|
|
23
|
+
<i class="icon ion-ios-plus-empty"></i>
|
|
24
|
+
<span id="right_plus_sr" class="sr-only">{{'Accessibility.Button.Aria.Label.Add' | translate}}</span>
|
|
25
|
+
</button>
|
|
26
|
+
<button aria-labelledby="right_checkmark_sr" class="button button-clear"
|
|
27
|
+
ng-if="User.inserting || User.editing"
|
|
28
|
+
ng-click="User.post()" data-component="crn-button" xattr-type="button-clear">
|
|
20
29
|
<i class="icon ion-ios-checkmark"></i>
|
|
21
|
-
<span id="right_checkmark_sr"
|
|
30
|
+
<span id="right_checkmark_sr"
|
|
31
|
+
class="sr-only">{{'Accessibility.Button.Aria.Label.Save' | translate}}</span>
|
|
22
32
|
</button>
|
|
23
33
|
</div>
|
|
24
34
|
</ion-header-bar>
|
|
@@ -104,7 +104,7 @@ parameter.page.1.boolean.2.backend=true
|
|
|
104
104
|
parameter.page.1.list.3.authentication=Token|SSO|Saml|Nenhuma
|
|
105
105
|
parameter.page.1.list.6.social=Não|Sim
|
|
106
106
|
parameter.page.1.list.7.mutual=Não|Sim
|
|
107
|
-
parameter.page.2.theme.6.theme=Material|Aquamarine|Fuse|DsGov|Cerulean|Cosmo|Cyborg|Darkly|Flatly|Journal|Lumen|Paper|Readable|Sandstone|Simplex|Slate|Spacelab|Superhero|United|Yeti
|
|
107
|
+
parameter.page.2.theme.6.theme=Material|Aquamarine|Fuse|DsGov|Material-Round|Krypton|Cerulean|Cosmo|Cyborg|Darkly|Flatly|Journal|Lumen|Paper|Readable|Sandstone|Simplex|Slate|Spacelab|Superhero|United|Yeti
|
|
108
108
|
|
|
109
109
|
themeDescription.Aquamarine=O tema Aquamarine utiliza o padrão de HTML e CSS do Bootstrap 🆕
|
|
110
110
|
themeDescription.Fuse=O tema Fuse utiliza o padrão de HTML e CSS do Bootstrap 🆕
|
|
@@ -126,5 +126,7 @@ themeDescription.Spacelab=O tema Spacelab utiliza o padrão de HTML e CSS do Boo
|
|
|
126
126
|
themeDescription.Superhero=O tema Superhero utiliza o padrão de HTML e CSS do Bootstrap
|
|
127
127
|
themeDescription.United=O tema United utiliza o padrão de HTML e CSS do Bootstrap
|
|
128
128
|
themeDescription.Yeti=O tema Yeti utiliza o padrão de HTML e CSS do Bootstrap
|
|
129
|
+
themeDescription.Material-Round=Material Round theme uses standard HTML and CSS Bootstrap 🆕
|
|
130
|
+
themeDescription.Krypton=The Krypton theme uses standard HTML and CSS Bootstrap 🆕
|
|
129
131
|
|
|
130
132
|
parameter.dependency.dcyauthentication.authentication.backend.false=Token
|
|
@@ -26,4 +26,6 @@ themeDescription.Slate=Slate theme uses standard HTML and CSS Bootstrap
|
|
|
26
26
|
themeDescription.Spacelab=Spacelab theme uses standard HTML and CSS Bootstrap
|
|
27
27
|
themeDescription.Superhero=The Superhero theme uses standard HTML and CSS Bootstrap
|
|
28
28
|
themeDescription.United=The theme United uses standard HTML and CSS Bootstrap
|
|
29
|
-
themeDescription.Yeti=Yeti theme uses standard HTML and CSS Bootstrap
|
|
29
|
+
themeDescription.Yeti=Yeti theme uses standard HTML and CSS Bootstrap
|
|
30
|
+
themeDescription.Material-Round=Material Round theme uses standard HTML and CSS Bootstrap 🆕
|
|
31
|
+
themeDescription.Krypton=The Krypton theme uses standard HTML and CSS Bootstrap 🆕
|
|
@@ -25,4 +25,6 @@ themeDescription.Slate=O tema Slate utiliza o padrão de HTML e CSS do Bootstrap
|
|
|
25
25
|
themeDescription.Spacelab=O tema Spacelab utiliza o padrão de HTML e CSS do Bootstrap
|
|
26
26
|
themeDescription.Superhero=O tema Superhero utiliza o padrão de HTML e CSS do Bootstrap
|
|
27
27
|
themeDescription.United=O tema United utiliza o padrão de HTML e CSS do Bootstrap
|
|
28
|
-
themeDescription.Yeti=O tema Yeti utiliza o padrão de HTML e CSS do Bootstrap
|
|
28
|
+
themeDescription.Yeti=O tema Yeti utiliza o padrão de HTML e CSS do Bootstrap
|
|
29
|
+
themeDescription.Material-Round=Material Round theme uses standard HTML and CSS Bootstrap 🆕
|
|
30
|
+
themeDescription.Krypton=The Krypton theme uses standard HTML and CSS Bootstrap 🆕
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<#assign administratorsSecurable = "fdce3bb0-59a5-11eb-95ba-0242ac110002" >
|
|
2
|
+
<#assign publicSecurable = statics["java.util.UUID"].randomUUID() >
|
|
3
|
+
<#assign authenticatedSecurable = statics["java.util.UUID"].randomUUID() >
|
|
4
|
+
[
|
|
5
|
+
{
|
|
6
|
+
"id": "${publicSecurable}",
|
|
7
|
+
"name": "Public",
|
|
8
|
+
"application": {
|
|
9
|
+
"id": "${appguid}"
|
|
10
|
+
},
|
|
11
|
+
"_class": "app.entity.Securable"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "${authenticatedSecurable}",
|
|
15
|
+
"name": "Authenticated",
|
|
16
|
+
"application": {
|
|
17
|
+
"id": "${appguid}"
|
|
18
|
+
},
|
|
19
|
+
"_class": "app.entity.Securable"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "${administratorsSecurable}",
|
|
23
|
+
"name": "Administrators",
|
|
24
|
+
"_class": "app.entity.Securable"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
@@ -13,6 +13,9 @@ template.id=business-service
|
|
|
13
13
|
|
|
14
14
|
parameter.hidden.frontend=false
|
|
15
15
|
parameter.hidden.backend=true
|
|
16
|
+
parameter.hidden.service=true
|
|
17
|
+
parameter.hidden.businessService=true
|
|
18
|
+
parameter.hidden.dataService=false
|
|
16
19
|
|
|
17
20
|
bower.required=cronapp-common-js;cronapp-lib-js
|
|
18
21
|
maven.required=olingo-odata2-jpa-processor-core;cronapp-compile-plugin
|
|
@@ -71,8 +74,8 @@ maven.dependecies.new.dependency.10.artifactId=spring-boot-starter-security
|
|
|
71
74
|
maven.dependecies.new.dependency.10.version=1.3.5.RELEASE
|
|
72
75
|
maven.dependecies.new.dependency.10.scope=provided
|
|
73
76
|
|
|
74
|
-
features=
|
|
75
|
-
authenticationTypes=
|
|
77
|
+
features=maven|springboot
|
|
78
|
+
authenticationTypes=Token
|
|
76
79
|
|
|
77
80
|
parameter.page.1.string.0.appid=${generateAppId}
|
|
78
|
-
parameter.page.1.list.1.authentication=Token
|
|
81
|
+
parameter.page.1.list.1.authentication=Token
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
name=Business Service
|
|
2
2
|
description=A modular and independent component to support the overall business goals of an organization
|
|
3
3
|
parameter.page.1.string.0.appid=Application Id
|
|
4
|
-
parameter.page.1.list.1.authentication=
|
|
5
|
-
parameter.page.2.list.0.selectdatabase=Select the database|Available only when the "Include Backend" option is selected. \n\nIn the "Use temporary disk (H2) database" option: \nYou will have a database created automatically within your project. \n\nIn the "Create or use existing database in the CronApp cloud": \nYou can add/select a database in the CronApp cloud. \n\nIn the "Use another existing database" option: \nYou can enter data from a database Already exists.
|
|
4
|
+
parameter.page.1.list.1.authentication=Authorization Type|Token
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
name=Serviço de negócio
|
|
2
2
|
description=Um componente modular e independente que suporta os objetivos gerais de negócios de uma organização
|
|
3
3
|
parameter.page.1.string.0.appid=Id da Aplicação
|
|
4
|
-
parameter.page.1.list.1.authentication=Tipo de
|
|
4
|
+
parameter.page.1.list.1.authentication=Tipo de Autorização|Token
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Introdução
|
|
2
|
+
|
|
3
|
+
Esta é uma aplicação criada com o CronApp IDE.
|
|
4
|
+
|
|
5
|
+
## Pré-Requisitos
|
|
6
|
+
|
|
7
|
+
1. CronApp IDE
|
|
8
|
+
|
|
9
|
+
## Como rodar com o CronApp
|
|
10
|
+
|
|
11
|
+
1. Crie um projeto do tipo Web na categoria Low-Code no CronApp IDE (www.cronapp.io)
|
|
12
|
+
2. Digite o nome desejado para o projeto e escolha que o projeto está em um controle de versão
|
|
13
|
+
3. Clique em Finalizar
|
|
14
|
+
4. Aguarde a preparação do ambiente
|
|
15
|
+
3. Ao ser apresentado as informações sobre o Controle de Versão, escoha git
|
|
16
|
+
4. Preencha com a url de clone deste repositório
|
|
17
|
+
5. Preencha seu usuário e senha do git
|
|
18
|
+
6. Clique Importar
|
|
19
|
+
7. Aceite as atualizações de bibliotecas sugeridas pela IDE
|
|
20
|
+
8. Para rodar, vá em Executar > Rodar
|
|
21
|
+
|
|
22
|
+
## Referências
|
|
23
|
+
|
|
24
|
+
[CronApp IDE](http://www.cronapp.io/)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
business-service/.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<Context>
|
|
3
|
+
<#if database??>
|
|
4
|
+
<#assign databaseConfig = database?split("|")>
|
|
5
|
+
<Resource accessToUnderlyingConnectionAllowed="true"
|
|
6
|
+
type="javax.sql.DataSource"
|
|
7
|
+
driverClassName="${databaseConfig[5]}"
|
|
8
|
+
name="jdbc/main"
|
|
9
|
+
username="${databaseConfig[1]}"
|
|
10
|
+
password="${databaseConfig[2]}"
|
|
11
|
+
removeAbandoned="false"
|
|
12
|
+
removeAbandonedTimeout="60"
|
|
13
|
+
logAbandoned="true"
|
|
14
|
+
url="${databaseConfig[4]}" />
|
|
15
|
+
<#else>
|
|
16
|
+
<Resource accessToUnderlyingConnectionAllowed="true"
|
|
17
|
+
type="javax.sql.DataSource"
|
|
18
|
+
driverClassName="org.h2.Driver"
|
|
19
|
+
name="jdbc/main"
|
|
20
|
+
username="root"
|
|
21
|
+
password="root"
|
|
22
|
+
removeAbandoned="false"
|
|
23
|
+
removeAbandonedTimeout="60"
|
|
24
|
+
logAbandoned="true"
|
|
25
|
+
url="jdbc:h2:file:~/${workCopyInfo.rootPath[workCopyInfo.rootPath?replace("/", "\\")?last_index_of("\\")+1..]};ALIAS_COLUMN_NAME=true;AUTO_SERVER=TRUE" />
|
|
26
|
+
</#if>
|
|
27
|
+
</Context>
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cells": [
|
|
3
|
+
{
|
|
4
|
+
"allowConfiguration": false,
|
|
5
|
+
"angle": 0,
|
|
6
|
+
"apiPath": "src/main/webapp/raml/app/api.raml",
|
|
7
|
+
"async": {
|
|
8
|
+
"batchSize": 500
|
|
9
|
+
},
|
|
10
|
+
"attrs": {
|
|
11
|
+
".uml-class-attrs-rect": {
|
|
12
|
+
"fill": "#F0F0F0",
|
|
13
|
+
"font-family": "\u0027Fira Sans\u0027, sans-serif",
|
|
14
|
+
"stroke": "#C2C2C2",
|
|
15
|
+
"stroke-width": 1
|
|
16
|
+
},
|
|
17
|
+
".uml-class-attrs-text": {
|
|
18
|
+
"fill": "#666",
|
|
19
|
+
"font-family": "\u0027Fira Sans\u0027, sans-serif",
|
|
20
|
+
"font-size": 11
|
|
21
|
+
},
|
|
22
|
+
".uml-class-attrs-value": {
|
|
23
|
+
"fill": "#0066FF",
|
|
24
|
+
"font-family": "\u0027Fira Sans\u0027, sans-serif",
|
|
25
|
+
"font-size": 11
|
|
26
|
+
},
|
|
27
|
+
".uml-class-methods-rect": {
|
|
28
|
+
"fill": "#F0F0F0",
|
|
29
|
+
"stroke": "#C2C2C2",
|
|
30
|
+
"stroke-width": 1
|
|
31
|
+
},
|
|
32
|
+
".uml-class-methods-text": {
|
|
33
|
+
"fill": "#0066FF",
|
|
34
|
+
"font-family": "\u0027Fira Sans\u0027, sans-serif",
|
|
35
|
+
"font-size": 11
|
|
36
|
+
},
|
|
37
|
+
".uml-class-name-rect": {
|
|
38
|
+
"fill": "#F0F0F0",
|
|
39
|
+
"font-family": "\u0027Fira Sans\u0027, sans-serif",
|
|
40
|
+
"stroke": "#C2C2C2",
|
|
41
|
+
"stroke-width": 1
|
|
42
|
+
},
|
|
43
|
+
".uml-class-name-text": {
|
|
44
|
+
"fill": "#000",
|
|
45
|
+
"font-family": "\u0027Fira Sans\u0027, sans-serif",
|
|
46
|
+
"font-size": 12,
|
|
47
|
+
"font-weight": "bold"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"chkApi": false,
|
|
51
|
+
"dataSource": "jdbc/main",
|
|
52
|
+
"disableCache": false,
|
|
53
|
+
"id": "paperCell",
|
|
54
|
+
"methods": [],
|
|
55
|
+
"namespace": "app",
|
|
56
|
+
"position": {
|
|
57
|
+
"x": 0,
|
|
58
|
+
"y": 0
|
|
59
|
+
},
|
|
60
|
+
"queries": [],
|
|
61
|
+
"runtimeClass": "cronos.widgets.joint.uml.Paper",
|
|
62
|
+
"size": {
|
|
63
|
+
"height": 0,
|
|
64
|
+
"width": 0
|
|
65
|
+
},
|
|
66
|
+
"sqlDebugging": false,
|
|
67
|
+
"type": "basic.Rect",
|
|
68
|
+
"visionLikePackage": false,
|
|
69
|
+
"z": 1
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"angle": 0,
|
|
73
|
+
"attributes": [
|
|
74
|
+
"id:java.lang.String",
|
|
75
|
+
"name:java.lang.String"
|
|
76
|
+
],
|
|
77
|
+
"attrs": {
|
|
78
|
+
".uml-class-attrs-rect": {
|
|
79
|
+
"fill": "#F0F0F0",
|
|
80
|
+
"font-family": "\u0027Fira Sans\u0027, sans-serif",
|
|
81
|
+
"height": 60,
|
|
82
|
+
"stroke": "#C2C2C2",
|
|
83
|
+
"transform": "translate(0,40)"
|
|
84
|
+
},
|
|
85
|
+
".uml-class-attrs-text": {
|
|
86
|
+
"font-family": "\u0027Fira Sans\u0027, sans-serif",
|
|
87
|
+
"font-size": 11,
|
|
88
|
+
"text": "* id\nname\n"
|
|
89
|
+
},
|
|
90
|
+
".uml-class-attrs-value": {
|
|
91
|
+
"font-family": "\u0027Fira Sans\u0027, sans-serif",
|
|
92
|
+
"font-size": 11,
|
|
93
|
+
"ref-x": 156,
|
|
94
|
+
"text": "Texto\nTexto\n"
|
|
95
|
+
},
|
|
96
|
+
".uml-class-methods-rect": {
|
|
97
|
+
"fill": "#F0F0F0",
|
|
98
|
+
"height": 20,
|
|
99
|
+
"stroke": "#C2C2C2",
|
|
100
|
+
"stroke-width": 1,
|
|
101
|
+
"transform": "translate(0,100)"
|
|
102
|
+
},
|
|
103
|
+
".uml-class-methods-text": {
|
|
104
|
+
"font-family": "\u0027Fira Sans\u0027, sans-serif",
|
|
105
|
+
"font-size": 11,
|
|
106
|
+
"text": ""
|
|
107
|
+
},
|
|
108
|
+
".uml-class-name-rect": {
|
|
109
|
+
"fill": "#F0F0F0",
|
|
110
|
+
"font-family": "\u0027Fira Sans\u0027, sans-serif",
|
|
111
|
+
"height": 40,
|
|
112
|
+
"stroke": "#C2C2C2",
|
|
113
|
+
"transform": "translate(0,0)"
|
|
114
|
+
},
|
|
115
|
+
".uml-class-name-text": {
|
|
116
|
+
"font-family": "\u0027Fira Sans\u0027, sans-serif",
|
|
117
|
+
"text": "Sample"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"audit": false,
|
|
121
|
+
"fields": [
|
|
122
|
+
{
|
|
123
|
+
"name": "id",
|
|
124
|
+
"type": "java.lang.String",
|
|
125
|
+
"dbName": "id",
|
|
126
|
+
"dbLength": "",
|
|
127
|
+
"dbPrecision": "",
|
|
128
|
+
"dbScale": "",
|
|
129
|
+
"dbDefaultValue": "UUID.randomUUID().toString().toUpperCase()",
|
|
130
|
+
"label": "Id",
|
|
131
|
+
"mask": "",
|
|
132
|
+
"isPrimaryKey": true,
|
|
133
|
+
"isUniqueKey": false,
|
|
134
|
+
"isNullable": false,
|
|
135
|
+
"pkType": "UUID",
|
|
136
|
+
"multitenantContext": "",
|
|
137
|
+
"jsonIgnore": false,
|
|
138
|
+
"isTransient": false,
|
|
139
|
+
"isInsertable": true,
|
|
140
|
+
"isUpdatable": true,
|
|
141
|
+
"isEncryption": false,
|
|
142
|
+
"passwordPolicy": "none",
|
|
143
|
+
"referencedColumnName": "",
|
|
144
|
+
"isSearchable": false,
|
|
145
|
+
"sequence": "",
|
|
146
|
+
"isCascade": false,
|
|
147
|
+
"isVersion": false,
|
|
148
|
+
"storageId": "",
|
|
149
|
+
"storageKey": "",
|
|
150
|
+
"storageType": "",
|
|
151
|
+
"storageSecret": "",
|
|
152
|
+
"foreignKeyName": "",
|
|
153
|
+
"joins": "",
|
|
154
|
+
"isIndex": false,
|
|
155
|
+
"useOuterJoin": false,
|
|
156
|
+
"regionAWS": ""
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "name",
|
|
160
|
+
"type": "java.lang.String",
|
|
161
|
+
"dbName": "name",
|
|
162
|
+
"dbLength": "",
|
|
163
|
+
"dbPrecision": "",
|
|
164
|
+
"dbScale": "",
|
|
165
|
+
"dbDefaultValue": "",
|
|
166
|
+
"label": "Name",
|
|
167
|
+
"mask": "",
|
|
168
|
+
"isPrimaryKey": false,
|
|
169
|
+
"isUniqueKey": false,
|
|
170
|
+
"isNullable": true,
|
|
171
|
+
"pkType": "",
|
|
172
|
+
"multitenantContext": "",
|
|
173
|
+
"jsonIgnore": false,
|
|
174
|
+
"isTransient": false,
|
|
175
|
+
"isInsertable": true,
|
|
176
|
+
"isUpdatable": true,
|
|
177
|
+
"isEncryption": false,
|
|
178
|
+
"passwordPolicy": "none",
|
|
179
|
+
"referencedColumnName": "",
|
|
180
|
+
"isSearchable": false,
|
|
181
|
+
"sequence": "",
|
|
182
|
+
"isCascade": false,
|
|
183
|
+
"isVersion": false,
|
|
184
|
+
"storageId": "",
|
|
185
|
+
"storageKey": "",
|
|
186
|
+
"storageType": "",
|
|
187
|
+
"storageSecret": "",
|
|
188
|
+
"foreignKeyName": "",
|
|
189
|
+
"joins": "",
|
|
190
|
+
"isIndex": false,
|
|
191
|
+
"useOuterJoin": false,
|
|
192
|
+
"regionAWS": ""
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"generateView": "Auto",
|
|
196
|
+
"id": "996c9e7d-c795-4e2a-baa4-90a4780d4ecd",
|
|
197
|
+
"isRest": "true",
|
|
198
|
+
"methods": [],
|
|
199
|
+
"modelType": "Table",
|
|
200
|
+
"name": "Sample",
|
|
201
|
+
"position": {
|
|
202
|
+
"x": 79,
|
|
203
|
+
"y": 76
|
|
204
|
+
},
|
|
205
|
+
"queries": [],
|
|
206
|
+
"realName": "",
|
|
207
|
+
"restSecurity": null,
|
|
208
|
+
"role": "Class",
|
|
209
|
+
"runtimeClass": "cronos.widgets.joint.uml.Class",
|
|
210
|
+
"size": {
|
|
211
|
+
"height": 120,
|
|
212
|
+
"width": 195
|
|
213
|
+
},
|
|
214
|
+
"swagger": false,
|
|
215
|
+
"tableName": "sample",
|
|
216
|
+
"tableScheme": null,
|
|
217
|
+
"type": "uml.Class",
|
|
218
|
+
"usePhysicalNames": false,
|
|
219
|
+
"z": 2
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"selectedGroup": "",
|
|
223
|
+
"groups": [
|
|
224
|
+
{
|
|
225
|
+
"name": "",
|
|
226
|
+
"id": "bb6711fc-a302-4824-a0b7-0387b978b036",
|
|
227
|
+
"cells": [
|
|
228
|
+
"996c9e7d-c795-4e2a-baa4-90a4780d4ecd"
|
|
229
|
+
],
|
|
230
|
+
"groupPositions": []
|
|
231
|
+
}
|
|
232
|
+
]
|
|
233
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 27.4.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
viewBox="0 0 588 354" style="enable-background:new 0 0 588 354;" xml:space="preserve"
|
|
5
|
+
width="140px" height="84px">
|
|
6
|
+
<style type="text/css">
|
|
7
|
+
.st0{fill:#E1E1E0;}
|
|
8
|
+
.st1{fill:#E6E9ED;}
|
|
9
|
+
.st2{fill:#73BDA8;}
|
|
10
|
+
.st3{fill:#EB7E70;}
|
|
11
|
+
.st4{fill:#FCD872;}
|
|
12
|
+
.st5{fill:#FEEAA8;}
|
|
13
|
+
.st6{fill:#030202;}
|
|
14
|
+
</style>
|
|
15
|
+
<path class="st0" d="M555.56,346.03H35.27c-13.75,0-24.89-11.14-24.89-24.89V36.69c0-13.75,11.14-24.89,24.89-24.89h520.3
|
|
16
|
+
c13.75,0,24.89,11.14,24.89,24.89v284.44C580.45,334.88,569.31,346.03,555.56,346.03z"/>
|
|
17
|
+
<g>
|
|
18
|
+
<g>
|
|
19
|
+
<g>
|
|
20
|
+
<path class="st1" d="M167.53,127.76V85.13h102.31v8.53v34.1c0,4.69-3.84,8.53-8.53,8.53h-42.63h-42.63
|
|
21
|
+
C171.37,136.29,167.53,132.45,167.53,127.76z"/>
|
|
22
|
+
</g>
|
|
23
|
+
<g>
|
|
24
|
+
<path class="st1" d="M269.84,195.97v42.63c0,4.69-3.84,8.53-8.53,8.53h-42.63h-42.63c-4.69,0-8.53-3.84-8.53-8.53v-42.63H269.84z
|
|
25
|
+
"/>
|
|
26
|
+
</g>
|
|
27
|
+
<g>
|
|
28
|
+
<path class="st1" d="M419.04,255.65v42.63c0,4.69-3.84,8.53-8.53,8.53h-85.26c-4.69,0-8.53-3.84-8.53-8.53V272.7v-17.05H419.04z"
|
|
29
|
+
/>
|
|
30
|
+
</g>
|
|
31
|
+
<g>
|
|
32
|
+
<path class="st2" d="M167.53,85.13V59.55c0-4.69,3.84-8.53,8.53-8.53h85.26c4.69,0,8.53,3.84,8.53,8.53v25.58H167.53z"/>
|
|
33
|
+
</g>
|
|
34
|
+
<g>
|
|
35
|
+
<path class="st2" d="M269.84,187.44v8.53H167.53v-25.58c0-4.69,3.84-8.53,8.53-8.53h42.63h42.63c4.69,0,8.53,3.84,8.53,8.53
|
|
36
|
+
V187.44z"/>
|
|
37
|
+
</g>
|
|
38
|
+
<g>
|
|
39
|
+
<path class="st2" d="M316.73,255.65v-25.58c0-4.69,3.84-8.53,8.53-8.53h42.63h42.63c4.69,0,8.53,3.84,8.53,8.53v25.58H316.73z"/>
|
|
40
|
+
</g>
|
|
41
|
+
<g>
|
|
42
|
+
<path class="st3" d="M235.73,102.18h17.05v17.05h-17.05V102.18z"/>
|
|
43
|
+
</g>
|
|
44
|
+
<g>
|
|
45
|
+
<circle class="st3" cx="342.31" cy="281.22" r="8.53"/>
|
|
46
|
+
</g>
|
|
47
|
+
<g>
|
|
48
|
+
<path class="st4" d="M423.3,114.97v25.58c0,7.08-24.81,12.79-55.42,12.79s-55.42-5.71-55.42-12.79v-25.58
|
|
49
|
+
c0,7.08,24.81,12.79,55.42,12.79S423.3,122.05,423.3,114.97z"/>
|
|
50
|
+
</g>
|
|
51
|
+
<g>
|
|
52
|
+
<path class="st4" d="M423.3,63.82v25.58c0,7.08-24.81,12.79-55.42,12.79s-55.42-5.71-55.42-12.79V63.82
|
|
53
|
+
c0,7.08,24.81,12.79,55.42,12.79S423.3,70.89,423.3,63.82z"/>
|
|
54
|
+
</g>
|
|
55
|
+
<g>
|
|
56
|
+
<path class="st5" d="M312.47,89.39c0,7.08,24.81,12.79,55.42,12.79s55.42-5.71,55.42-12.79v25.58c0,7.08-24.81,12.79-55.42,12.79
|
|
57
|
+
s-55.42-5.71-55.42-12.79V93.66V89.39z"/>
|
|
58
|
+
</g>
|
|
59
|
+
<g>
|
|
60
|
+
<ellipse class="st5" cx="367.88" cy="63.82" rx="55.42" ry="12.79"/>
|
|
61
|
+
</g>
|
|
62
|
+
<g>
|
|
63
|
+
<circle class="st3" cx="218.68" cy="272.7" r="8.53"/>
|
|
64
|
+
</g>
|
|
65
|
+
<g>
|
|
66
|
+
<circle class="st3" cx="367.88" cy="187.44" r="8.53"/>
|
|
67
|
+
</g>
|
|
68
|
+
</g>
|
|
69
|
+
<g>
|
|
70
|
+
<path class="st6" d="M367.88,46.77c-6.11,0-59.68,0.48-59.68,17.05v25.58h-34.1V59.55c0-7.05-5.74-12.79-12.79-12.79h-85.26
|
|
71
|
+
c-7.05,0-12.79,5.74-12.79,12.79v68.21c0,7.05,5.74,12.79,12.79,12.79h38.37v17.05h-38.37c-7.05,0-12.79,5.74-12.79,12.79v68.21
|
|
72
|
+
c0,7.05,5.74,12.79,12.79,12.79h38.37v9.31c-4.95,1.76-8.53,6.45-8.53,12c0,7.05,5.74,12.79,12.79,12.79
|
|
73
|
+
c5.55,0,10.24-3.58,12-8.53h81.78v21.31c0,7.05,5.74,12.79,12.79,12.79h85.26c7.05,0,12.79-5.74,12.79-12.79v-68.21
|
|
74
|
+
c0-7.05-5.74-12.79-12.79-12.79h-38.37v-17.84c4.95-1.76,8.53-6.45,8.53-12c0-5.55-3.58-10.24-8.53-12v-17.89
|
|
75
|
+
c14.29-0.32,55.42-2.48,55.42-17V63.82C427.56,47.24,373.99,46.77,367.88,46.77z M419.04,89.07c-2.07,3.23-20.59,8.85-51.15,8.85
|
|
76
|
+
s-49.09-5.62-51.15-8.85V73.5c15.38,7.1,46.58,7.37,51.15,7.37c4.57,0,35.78-0.27,51.15-7.37V89.07z M419.04,114.64
|
|
77
|
+
c-2.07,3.23-20.59,8.85-51.15,8.85s-49.09-5.62-51.15-8.85V99.08c15.38,7.1,46.58,7.37,51.15,7.37c4.57,0,35.78-0.27,51.15-7.37
|
|
78
|
+
V114.64z M367.88,55.29c29.54,0,47.87,5.26,50.92,8.53c-3.05,3.27-21.38,8.53-50.92,8.53s-47.87-5.26-50.92-8.53
|
|
79
|
+
C320.01,60.55,338.34,55.29,367.88,55.29z M176.05,55.29h85.26c2.35,0,4.26,1.91,4.26,4.26v21.31h-93.78V59.55
|
|
80
|
+
C171.79,57.2,173.7,55.29,176.05,55.29z M171.79,127.76V89.39h93.78v38.37c0,2.35-1.91,4.26-4.26,4.26h-85.26
|
|
81
|
+
C173.7,132.02,171.79,130.11,171.79,127.76z M222.95,140.55h38.37c7.05,0,12.79-5.74,12.79-12.79V97.92h34.1v42.63
|
|
82
|
+
c0,14.52,41.12,16.68,55.42,17v17.89c-3.61,1.29-6.45,4.13-7.74,7.74H274.1v-12.79c0-7.05-5.74-12.79-12.79-12.79h-38.37V140.55z
|
|
83
|
+
M176.05,166.13h85.26c2.35,0,4.26,1.91,4.26,4.26v21.31h-93.78v-21.31C171.79,168.04,173.7,166.13,176.05,166.13z M171.79,238.59
|
|
84
|
+
v-38.37h93.78v38.37c0,2.35-1.91,4.26-4.26,4.26h-85.26C173.7,242.86,171.79,240.95,171.79,238.59z M218.68,276.96
|
|
85
|
+
c-2.35,0-4.26-1.91-4.26-4.26s1.91-4.26,4.26-4.26s4.26,1.91,4.26,4.26S221.04,276.96,218.68,276.96z M410.51,302.54h-85.26
|
|
86
|
+
c-2.35,0-4.26-1.91-4.26-4.26v-38.37h93.78v38.37C414.77,300.63,412.86,302.54,410.51,302.54z M414.77,230.07v21.31h-93.78v-21.31
|
|
87
|
+
c0-2.35,1.91-4.26,4.26-4.26h85.26C412.86,225.81,414.77,227.72,414.77,230.07z M325.25,217.28c-7.05,0-12.79,5.74-12.79,12.79
|
|
88
|
+
v38.37h-81.78c-1.29-3.61-4.13-6.45-7.74-7.74v-9.31h38.37c7.05,0,12.79-5.74,12.79-12.79V191.7h81.78
|
|
89
|
+
c1.29,3.61,4.13,6.45,7.74,7.74v17.84H325.25z M367.88,191.7c-2.35,0-4.26-1.91-4.26-4.26c0-2.35,1.91-4.26,4.26-4.26
|
|
90
|
+
s4.26,1.91,4.26,4.26C372.15,189.79,370.24,191.7,367.88,191.7z M367.88,149.07c-30.44,0-48.96-5.58-51.15-8.82v-15.61
|
|
91
|
+
c15.38,7.1,46.58,7.37,51.15,7.37c4.57,0,35.78-0.27,51.15-7.37v15.61C416.84,143.49,398.32,149.07,367.88,149.07z"/>
|
|
92
|
+
<path class="st6" d="M214.42,63.82h8.53v8.53h-8.53V63.82z"/>
|
|
93
|
+
<path class="st6" d="M197.37,63.82h8.53v8.53h-8.53V63.82z"/>
|
|
94
|
+
<path class="st6" d="M180.32,63.82h8.53v8.53h-8.53V63.82z"/>
|
|
95
|
+
<path class="st6" d="M214.42,174.65h8.53v8.53h-8.53V174.65z"/>
|
|
96
|
+
<path class="st6" d="M180.32,174.65h8.53v8.53h-8.53V174.65z"/>
|
|
97
|
+
<path class="st6" d="M197.37,174.65h8.53v8.53h-8.53V174.65z"/>
|
|
98
|
+
<path class="st6" d="M346.57,234.33h8.53v8.53h-8.53V234.33z"/>
|
|
99
|
+
<path class="st6" d="M363.62,234.33h8.53v8.53h-8.53V234.33z"/>
|
|
100
|
+
<path class="st6" d="M329.52,234.33h8.53v8.53h-8.53V234.33z"/>
|
|
101
|
+
<path class="st6" d="M342.31,268.43c-7.05,0-12.79,5.74-12.79,12.79c0,7.05,5.74,12.79,12.79,12.79s12.79-5.74,12.79-12.79
|
|
102
|
+
C355.09,274.17,349.36,268.43,342.31,268.43z M342.31,285.49c-2.35,0-4.26-1.91-4.26-4.26c0-2.35,1.91-4.26,4.26-4.26
|
|
103
|
+
s4.26,1.91,4.26,4.26C346.57,283.58,344.66,285.49,342.31,285.49z"/>
|
|
104
|
+
<path class="st6" d="M363.62,268.43h42.63v8.53h-42.63V268.43z"/>
|
|
105
|
+
<path class="st6" d="M363.62,285.49h25.58v8.53h-25.58V285.49z"/>
|
|
106
|
+
<path class="st6" d="M397.72,285.49h8.53v8.53h-8.53V285.49z"/>
|
|
107
|
+
<path class="st6" d="M180.32,208.75h8.53v8.53h-8.53V208.75z"/>
|
|
108
|
+
<path class="st6" d="M197.37,208.75h59.68v8.53h-59.68V208.75z"/>
|
|
109
|
+
<path class="st6" d="M180.32,225.81h76.73v8.53h-76.73V225.81z"/>
|
|
110
|
+
<path class="st6" d="M231.47,123.5h25.58V97.92h-25.58V123.5z M240,106.45h8.53v8.53H240V106.45z"/>
|
|
111
|
+
<path class="st6" d="M180.32,97.92h42.63v8.53h-42.63V97.92z"/>
|
|
112
|
+
<path class="st6" d="M180.32,114.97h25.58v8.53h-25.58V114.97z"/>
|
|
113
|
+
<path class="st6" d="M214.42,114.97h8.53v8.53h-8.53V114.97z"/>
|
|
114
|
+
</g>
|
|
115
|
+
</g>
|
|
116
|
+
</svg>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
2
|
+
<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
|
|
3
|
+
<persistence-unit name="app" transaction-type="RESOURCE_LOCAL">
|
|
4
|
+
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
|
|
5
|
+
<jta-data-source>java:comp/env/jdbc/main</jta-data-source>
|
|
6
|
+
<class>app.entity.Sample</class>
|
|
7
|
+
<#if database??>
|
|
8
|
+
<#assign databaseConfig = database?split("|")>
|
|
9
|
+
<properties>
|
|
10
|
+
<property name="javax.persistence.jdbc.driver" value="${databaseConfig[5]}"/>
|
|
11
|
+
<property name="javax.persistence.jdbc.url" value="${databaseConfig[4]}"/>
|
|
12
|
+
<property name="javax.persistence.jdbc.user" value="${databaseConfig[1]}"/>
|
|
13
|
+
<property name="javax.persistence.jdbc.password" value="${databaseConfig[2]}"/>
|
|
14
|
+
<property name="eclipselink.ddl-generation" value="create-or-extend-tables"/>
|
|
15
|
+
</properties>
|
|
16
|
+
<#else>
|
|
17
|
+
<properties>
|
|
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..]};ALIAS_COLUMN_NAME=true;AUTO_SERVER=TRUE"/>
|
|
20
|
+
<property name="javax.persistence.jdbc.user" value="root"/>
|
|
21
|
+
<property name="javax.persistence.jdbc.password" value="root"/>
|
|
22
|
+
<property name="eclipselink.ddl-generation" value="create-or-extend-tables"/>
|
|
23
|
+
</properties>
|
|
24
|
+
</#if>
|
|
25
|
+
</persistence-unit>
|
|
26
|
+
</persistence>
|