Skip to content

Commit

Permalink
Raise project to 12.0.0-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 24, 2024
1 parent df89c9f commit 98c87a9
Show file tree
Hide file tree
Showing 45 changed files with 205 additions and 269 deletions.
7 changes: 1 addition & 6 deletions genderize-io-connector-demo/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**/*.ivyClass|**/*.mod|**/*.rddescriptor|**/*.xhtml" kind="src" path="src_hd">
<attributes>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src_wsproc">
<classpathentry kind="src" path="src_wsproc">
<attributes>
<attribute name="optional" value="true"/>
</attributes>
Expand Down
8 changes: 6 additions & 2 deletions genderize-io-connector-demo/.project
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>ch.ivyteam.ivy.dialog.form.build.ivyDialogFormBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>ch.ivyteam.ivy.designer.ide.ivyModelValidationBuilder</name>
<arguments>
Expand All @@ -44,6 +49,5 @@
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.jem.beaninfo.BeanInfoNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
</projectDescription>
12 changes: 0 additions & 12 deletions genderize-io-connector-demo/.settings/.jsdtscope

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=com.axonivy.connector.genderize.io.connector.demo.Data
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.connector.genderize.io.connector.demo
ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=100000
ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=120001
eclipse.preferences.version=1
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
org.eclipse.jdt.core.compiler.compliance=21
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17
org.eclipse.jdt.core.compiler.source=21
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">

<wb-module deploy-name="genderize-io-connector-demo">

<wb-resource deploy-path="/" source-path="/webContent" tag="defaultRootSource"/>

<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>

<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_hd"/>

<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_wsproc"/>

<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_dataClasses"/>

<property name="context-root" value="genderize-io-connector-demo"/>

<property name="java-output-path" value="/genderize-io-connector-demo/classes"/>

</wb-module>

</project-modules>
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="genderize-io-connector-demo">
<wb-resource deploy-path="/" source-path="/webContent" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_wsproc"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_dataClasses"/>
<property name="context-root" value="genderize-io-connector-demo"/>
<property name="java-output-path" value="/genderize-io-connector-demo/classes"/>
</wb-module>
</project-modules>
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="wst.jsdt.web"/>
<installed facet="java" version="17"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="wst.jsdt.web" version="1.0"/>
<installed facet="jst.jsf" version="2.1"/>
</faceted-project>
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<installed facet="java" version="21"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="jst.jsf" version="2.1"/>
</faceted-project>

This file was deleted.

This file was deleted.

3 changes: 2 additions & 1 deletion genderize-io-connector-demo/config/variables.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# yaml-language-server: $schema=https://json-schema.axonivy.com/app/12.0.0/variables.json
# == Variables ==
#
# You can define here your project Variables.
# If you want to define/override a Variable for a specific Environment,
# please add a 'variables.yaml' in the sub directory '_<environment>'.
#
Variables:
#myVariable: value
#myVariable: value
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json",
"simpleName" : "Data",
"namespace" : "com.axonivy.connector.genderize.io.connector.demo",
"isBusinessCaseData" : false,
"fields" : [ {
"name" : "firstname",
"type" : "String"
}, {
"name" : "lastname",
"type" : "String"
}, {
"name" : "saluation",
"type" : "String"
}, {
"name" : "birthday",
"type" : "Date"
} ]
}

This file was deleted.

53 changes: 19 additions & 34 deletions genderize-io-connector-demo/processes/genderizeDemo.p.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"format" : "10.0.0",
"$schema" : "https://json-schema.axonivy.com/process/12.0.0/process.json",
"id" : "17646F3A476DCB66",
"config" : {
"data" : "com.axonivy.connector.genderize.io.connector.demo.Data"
Expand All @@ -9,16 +9,21 @@
"type" : "RequestStart",
"name" : "salutationDemo.ivp",
"config" : {
"callSignature" : "salutationDemo",
"outLink" : "salutationDemo.ivp",
"startName" : "Genderize.io Connector Demo",
"tags" : "demo"
"signature" : "salutationDemo",
"request" : {
"name" : "Genderize.io Connector Demo"
}
},
"tags" : [
"demo"
],
"visual" : {
"at" : { "x" : 96, "y" : 64 },
"labelOffset" : { "x" : 16, "y" : 43 }
},
"connect" : { "id" : "f4", "to" : "f3" }
"connect" : [
{ "id" : "f4", "to" : "f3" }
]
}, {
"id" : "f1",
"type" : "TaskEnd",
Expand All @@ -33,20 +38,8 @@
"personal data"
],
"config" : {
"dialogId" : "com.axonivy.connector.genderize.io.connector.demo.enterForm",
"startMethod" : "start(com.axonivy.connector.genderize.io.connector.demo.Data)",
"output" : {
"map" : {
"out" : [
"in",
"result.data"
]
}
},
"dialog" : "com.axonivy.connector.genderize.io.connector.demo.enterForm:start(com.axonivy.connector.genderize.io.connector.demo.Data)",
"call" : {
"params" : [
{ "name" : "data", "type" : "com.axonivy.connector.genderize.io.connector.demo.Data" }
],
"map" : {
"param.data" : "in"
}
Expand All @@ -55,7 +48,9 @@
"visual" : {
"at" : { "x" : 224, "y" : 64 }
},
"connect" : { "id" : "f6", "to" : "f5" }
"connect" : [
{ "id" : "f6", "to" : "f5" }
]
}, {
"id" : "f5",
"type" : "DialogCall",
Expand All @@ -64,20 +59,8 @@
"salutation"
],
"config" : {
"dialogId" : "com.axonivy.connector.genderize.io.connector.demo.showSalutationForm",
"startMethod" : "start(com.axonivy.connector.genderize.io.connector.demo.Data)",
"output" : {
"map" : {
"out" : [
"in",
"result.data"
]
}
},
"dialog" : "com.axonivy.connector.genderize.io.connector.demo.showSalutationForm:start(com.axonivy.connector.genderize.io.connector.demo.Data)",
"call" : {
"params" : [
{ "name" : "data", "type" : "com.axonivy.connector.genderize.io.connector.demo.Data" }
],
"map" : {
"param.data" : "in"
}
Expand All @@ -86,6 +69,8 @@
"visual" : {
"at" : { "x" : 384, "y" : 64 }
},
"connect" : { "id" : "f2", "to" : "f1" }
"connect" : [
{ "id" : "f2", "to" : "f1" }
]
} ]
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema" : "https://json-schema.axonivy.com/data-class/12.0.0/data-class.json",
"simpleName" : "enterFormData",
"namespace" : "com.axonivy.connector.genderize.io.connector.demo.enterForm",
"isBusinessCaseData" : false,
"fields" : [ {
"name" : "data",
"type" : "com.axonivy.connector.genderize.io.connector.demo.Data",
"modifiers" : [ "PERSISTENT" ]
} ]
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"format" : "10.0.0",
"$schema" : "https://json-schema.axonivy.com/process/12.0.0/process.json",
"id" : "17D80AB951163DA2",
"kind" : "HTML_DIALOG",
"config" : {
Expand All @@ -10,21 +10,21 @@
"type" : "HtmlDialogStart",
"name" : "start(Data)",
"config" : {
"callSignature" : "start",
"result" : {
"signature" : "start",
"input" : {
"params" : [
{ "name" : "data", "type" : "com.axonivy.connector.genderize.io.connector.demo.Data" }
{ "name" : "data", "type" : "com.axonivy.connector.genderize.io.connector.demo.Data", "desc" : "" }
],
"map" : {
"result.data" : "in.data"
"out.data" : "param.data"
}
},
"input" : {
"result" : {
"params" : [
{ "name" : "data", "type" : "com.axonivy.connector.genderize.io.connector.demo.Data" }
{ "name" : "data", "type" : "com.axonivy.connector.genderize.io.connector.demo.Data", "desc" : "" }
],
"map" : {
"out.data" : "param.data"
"result.data" : "in.data"
}
},
"guid" : "17D80AB9515E3F11"
Expand All @@ -33,7 +33,9 @@
"at" : { "x" : 96, "y" : 64 },
"labelOffset" : { "x" : 27, "y" : 35 }
},
"connect" : { "id" : "f2", "to" : "f1" }
"connect" : [
{ "id" : "f2", "to" : "f1" }
]
}, {
"id" : "f1",
"type" : "HtmlDialogEnd",
Expand All @@ -51,7 +53,9 @@
"at" : { "x" : 96, "y" : 160 },
"labelOffset" : { "x" : 9, "y" : 35 }
},
"connect" : { "id" : "f7", "to" : "f6" }
"connect" : [
{ "id" : "f7", "to" : "f6" }
]
}, {
"id" : "f4",
"type" : "HtmlDialogExit",
Expand All @@ -63,22 +67,28 @@
"type" : "RestClientCall",
"name" : "getGender",
"config" : {
"path" : "/",
"clientId" : "f056a122-aaf1-4271-90eb-9d0cc81e0743",
"clientErrorCode" : "ivy:error:rest:client",
"queryParams" : {
"name" : "in.data.firstname",
"country_id" : ""
},
"statusErrorCode" : "ivy:error:rest:client",
"responseMapping" : {
"out.data.saluation" : "result.gender == \"male\" ? \"Mr.\" : \"Mrs.\";"
"target" : {
"clientId" : "f056a122-aaf1-4271-90eb-9d0cc81e0743",
"path" : "/",
"queryParams" : {
"name" : "in.data.firstname",
"country_id" : ""
}
},
"resultType" : "io.genderize.api.client.Gender"
"response" : {
"entity" : {
"type" : "io.genderize.api.client.Gender",
"map" : {
"out.data.saluation" : "result.gender == \"male\" ? \"Mr.\" : \"Mrs.\";"
}
}
}
},
"visual" : {
"at" : { "x" : 224, "y" : 160 }
},
"connect" : { "id" : "f5", "to" : "f4" }
"connect" : [
{ "id" : "f5", "to" : "f4" }
]
} ]
}

This file was deleted.

Loading

0 comments on commit 98c87a9

Please sign in to comment.