-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementation of the external object GXDynamicCall (#553)
* Implementation of the external object GXDynamicCall * Fix errors array in create method * Refactoring EODynamicCall * Update to version 2.6 * Unit test and minors changes * Change array for vector * Fix convertion type * Fixe External class call scenario * Fix test for DynamicCall * GxDynamicCall pom fix Co-authored-by: José Echagüe <[email protected]>
- Loading branch information
1 parent
ce5c841
commit cc76afa
Showing
11 changed files
with
791 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
[Client] | ||
MODEL_NUM= 2 | ||
GENERATOR_NUM= 12 | ||
LOGIN_AS_USERID=0 | ||
SMTP_HOST= | ||
NAME_SPACE= com.genexus.gxdynamiccall.test | ||
NAME_HOST= | ||
CORBA_SERVER_NAME= | ||
DCOM_GUID= | ||
CONN_TIMEOUT=300 | ||
HELP_MODE=WINHTML | ||
HELP_BASEURL= | ||
PREFERRED_UI=BEST | ||
JFC_LF=NATIVE | ||
CALENDAR=1 | ||
CALC=1 | ||
WP_RESIZE=1 | ||
SHOW_STATUS=1 | ||
FIELD_EXIT=Tab | ||
ESCAPE_FUNCTION=Exit_form | ||
KEY_REFRESH=5 | ||
KEY_PROMPT=4 | ||
MDI_FORMS=1 | ||
REMOTE_CALLS=NEVER | ||
IMAGE_SUBST=0 | ||
CS_CONNECT=First | ||
CS_REORG=1 | ||
CS_REORGJAVA=1 | ||
SUBFILE_ORDER=Y | ||
FC_READONLY=GRAYED | ||
PACKAGE=com.genexus.gxdynamiccall.test | ||
DECIMAL_POINT=. | ||
DATE_FMT= MDY | ||
CTOD_DATE_FMT= L | ||
BLANK_EMPTY_DATE=0 | ||
TIME_FMT=12 | ||
YEAR_LIMIT=40 | ||
COMPRESS_HTML=1 | ||
DocumentType=HTML5 | ||
IE_COMPATIBILITY_VIEW=EmulateIE7 | ||
EXPOSE_METADATA= 0 | ||
WEB_IMAGE_DIR=/static | ||
HTTP_BACKEND_URL= | ||
WEB_STATIC_DIR= | ||
ORQ_CLIENT_URL= | ||
ORQ_SERVER_DIR= | ||
TMPMEDIA_DIR=PrivateTempStorage | ||
PRINT_LAYOUT_METADATA_DIR=LayoutMetadata | ||
HTTP_PROTOCOL=Unsecure | ||
SAMESITE_COOKIE=Lax | ||
StorageTimeZone= 1 | ||
GX_BUILD_NUMBER=1302769 | ||
ODBC_CALLS=0 | ||
NameSpace1= com.genexus.gxdynamiccall.test | ||
LANGUAGE=eng | ||
LANG_NAME=English | ||
Theme=Carmine | ||
CS_BLOB_PATH=PublicTempStorage | ||
SUBMIT_POOL_SIZE=5 | ||
CACHE_TTL_0=-1 | ||
CACHE_TTL_1=60 | ||
CACHE_TTL_2=600 | ||
CACHE_TTL_3=0 | ||
CACHE_STORAGE_SIZE=0 | ||
CACHING=0 | ||
SMART_CACHING=0 | ||
CACHE_INVALIDATION_TOKEN=20224512174246 | ||
EVENT_BEFORE_COMMIT= | ||
EVENT_AFTER_COMMIT= | ||
EVENT_BEFORE_ROLLBACK= | ||
EVENT_AFTER_ROLLBACK= | ||
EVENT_BEFORE_CONNECT= | ||
EVENT_AFTER_CONNECT= | ||
ENABLE_MANAGEMENT=0 | ||
EnableIntegratedSecurity=0 | ||
IntegratedSecurityLoginWeb= | ||
IntegratedSecurityNotAuthorizedWeb= | ||
HTTPCLIENT_MAX_SIZE=1000 | ||
HTTPCLIENT_MAX_PER_ROUTE=1000 | ||
VER_STAMP= | ||
[language|English] | ||
code= eng | ||
time_fmt= 12 | ||
decimal_point= . | ||
thousand_sep= , | ||
date_fmt= MDY | ||
culture= en-US | ||
[com.genexus.gxdynamiccall.test] | ||
GXDB_LOCATION= | ||
JTA=0 | ||
DataSource1=DEFAULT | ||
JDBC_LOG= | ||
JDBCLogEnabled=0 | ||
JDBCUniqueName=0 | ||
JDBCLogPath= | ||
JDBCLogLevel=0 | ||
JDBCLogBuffer=0 | ||
JDBCLogDetail=0 | ||
[com.genexus.gxdynamiccall.test|DEFAULT] | ||
CS_DBNAME=KbPrueba | ||
INFORMIX_DB=ANSI | ||
CS_LIBL400= | ||
CS_PACKAGE400= | ||
DB2400_DATE_DATATYPE= | ||
CS_SCHEMA= | ||
USER_ID=Elj20MqY44RPdvT8FEpDD0== | ||
USER_PASSWORD=tjRYpiaJ+HYQ0GpWgRGwfo8w59nKWO7H1rRFYPoZo/w= | ||
CS_CONNECT=First | ||
WAIT_RECORD=0 | ||
LOCK_RETRY=10 | ||
LoginInServer=1 | ||
JDBC_DRIVER=net.sourceforge.jtds.jdbc.Driver | ||
DB_URL=jdbc:jtds:sqlserver://GXN1088:1433/KbPrueba | ||
USE_JDBC_DATASOURCE=0 | ||
JDBC_DATASOURCE= | ||
MAX_CURSOR=100 | ||
INITIALIZE_NEW=1 | ||
ISOLATION_LEVEL=CR | ||
XBASE_TINT=1 | ||
DBMS=sqlserver | ||
UnlimitedRWPool=1 | ||
PoolRWEnabled=1 | ||
RecycleRW=1 | ||
RecycleRWType=1 | ||
RecycleRWMin=30 | ||
POOLSIZE_RW=10 | ||
POOL_STARTUP=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>com.genexus</groupId> | ||
<artifactId>parent</artifactId> | ||
<version>${revision}${changelist}</version> | ||
</parent> | ||
|
||
<artifactId>gxdynamiccall</artifactId> | ||
<name>GeneXus DynamicCall external object</name> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>gxcommon</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>${project.groupId}</groupId> | ||
<artifactId>gxclassR</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
</dependencies> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
[Client] | ||
MODEL_NUM= 2 | ||
GENERATOR_NUM= 12 | ||
LOGIN_AS_USERID=0 | ||
SMTP_HOST= | ||
NAME_SPACE= com.genexus.gxdynamiccall.test | ||
NAME_HOST= | ||
CORBA_SERVER_NAME= | ||
DCOM_GUID= | ||
CONN_TIMEOUT=300 | ||
HELP_MODE=WINHTML | ||
HELP_BASEURL= | ||
PREFERRED_UI=BEST | ||
JFC_LF=NATIVE | ||
CALENDAR=1 | ||
CALC=1 | ||
WP_RESIZE=1 | ||
SHOW_STATUS=1 | ||
FIELD_EXIT=Tab | ||
ESCAPE_FUNCTION=Exit_form | ||
KEY_REFRESH=5 | ||
KEY_PROMPT=4 | ||
MDI_FORMS=1 | ||
REMOTE_CALLS=NEVER | ||
IMAGE_SUBST=0 | ||
CS_CONNECT=First | ||
CS_REORG=1 | ||
CS_REORGJAVA=1 | ||
SUBFILE_ORDER=Y | ||
FC_READONLY=GRAYED | ||
PACKAGE=com.genexus.gxdynamiccall.test | ||
DECIMAL_POINT=. | ||
DATE_FMT= MDY | ||
CTOD_DATE_FMT= L | ||
BLANK_EMPTY_DATE=0 | ||
TIME_FMT=12 | ||
YEAR_LIMIT=40 | ||
COMPRESS_HTML=1 | ||
DocumentType=HTML5 | ||
IE_COMPATIBILITY_VIEW=EmulateIE7 | ||
EXPOSE_METADATA= 0 | ||
WEB_IMAGE_DIR=/static | ||
HTTP_BACKEND_URL= | ||
WEB_STATIC_DIR= | ||
ORQ_CLIENT_URL= | ||
ORQ_SERVER_DIR= | ||
TMPMEDIA_DIR=PrivateTempStorage | ||
PRINT_LAYOUT_METADATA_DIR=LayoutMetadata | ||
HTTP_PROTOCOL=Unsecure | ||
SAMESITE_COOKIE=Lax | ||
StorageTimeZone= 1 | ||
GX_BUILD_NUMBER=1302769 | ||
ODBC_CALLS=0 | ||
NameSpace1= com.genexus.gxdynamiccall.test | ||
LANGUAGE=eng | ||
LANG_NAME=English | ||
Theme=Carmine | ||
CS_BLOB_PATH=PublicTempStorage | ||
SUBMIT_POOL_SIZE=5 | ||
CACHE_TTL_0=-1 | ||
CACHE_TTL_1=60 | ||
CACHE_TTL_2=600 | ||
CACHE_TTL_3=0 | ||
CACHE_STORAGE_SIZE=0 | ||
CACHING=0 | ||
SMART_CACHING=0 | ||
CACHE_INVALIDATION_TOKEN=20224512174246 | ||
EVENT_BEFORE_COMMIT= | ||
EVENT_AFTER_COMMIT= | ||
EVENT_BEFORE_ROLLBACK= | ||
EVENT_AFTER_ROLLBACK= | ||
EVENT_BEFORE_CONNECT= | ||
EVENT_AFTER_CONNECT= | ||
ENABLE_MANAGEMENT=0 | ||
EnableIntegratedSecurity=0 | ||
IntegratedSecurityLoginWeb= | ||
IntegratedSecurityNotAuthorizedWeb= | ||
HTTPCLIENT_MAX_SIZE=1000 | ||
HTTPCLIENT_MAX_PER_ROUTE=1000 | ||
VER_STAMP= | ||
[language|English] | ||
code= eng | ||
time_fmt= 12 | ||
decimal_point= . | ||
thousand_sep= , | ||
date_fmt= MDY | ||
culture= en-US | ||
[com.genexus.gxdynamiccall.test] | ||
GXDB_LOCATION= | ||
JTA=0 | ||
DataSource1=DEFAULT | ||
JDBC_LOG= | ||
JDBCLogEnabled=0 | ||
JDBCUniqueName=0 | ||
JDBCLogPath= | ||
JDBCLogLevel=0 | ||
JDBCLogBuffer=0 | ||
JDBCLogDetail=0 | ||
[com.genexus.gxdynamiccall.test|DEFAULT] | ||
CS_DBNAME=KbPrueba | ||
INFORMIX_DB=ANSI | ||
CS_LIBL400= | ||
CS_PACKAGE400= | ||
DB2400_DATE_DATATYPE= | ||
CS_SCHEMA= | ||
USER_ID=Elj20MqY44RPdvT8FEpDD0== | ||
USER_PASSWORD=tjRYpiaJ+HYQ0GpWgRGwfo8w59nKWO7H1rRFYPoZo/w= | ||
CS_CONNECT=First | ||
WAIT_RECORD=0 | ||
LOCK_RETRY=10 | ||
LoginInServer=1 | ||
JDBC_DRIVER=net.sourceforge.jtds.jdbc.Driver | ||
DB_URL=jdbc:jtds:sqlserver://GXN1088:1433/KbPrueba | ||
USE_JDBC_DATASOURCE=0 | ||
JDBC_DATASOURCE= | ||
MAX_CURSOR=100 | ||
INITIALIZE_NEW=1 | ||
ISOLATION_LEVEL=CR | ||
XBASE_TINT=1 | ||
DBMS=sqlserver | ||
UnlimitedRWPool=1 | ||
PoolRWEnabled=1 | ||
RecycleRW=1 | ||
RecycleRWType=1 | ||
RecycleRWMin=30 | ||
POOLSIZE_RW=10 | ||
POOL_STARTUP=0 |
27 changes: 27 additions & 0 deletions
27
gxdynamiccall/src/main/java/com/genexus/gxdynamiccall/GXDynCallMethodConf.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.genexus.gxdynamiccall; | ||
|
||
public class GXDynCallMethodConf { | ||
private boolean isStatic; | ||
private String methodName; | ||
|
||
public GXDynCallMethodConf(){ | ||
isStatic=false; | ||
methodName="execute"; | ||
} | ||
|
||
public void setIsStatic(boolean is){ | ||
isStatic=is; | ||
} | ||
public boolean getIsStatic(){ | ||
return isStatic; | ||
} | ||
|
||
public void setMethodName(String mn){ | ||
methodName=mn; | ||
} | ||
|
||
public String getMethodName(){ | ||
return methodName; | ||
} | ||
|
||
} |
23 changes: 23 additions & 0 deletions
23
gxdynamiccall/src/main/java/com/genexus/gxdynamiccall/GXDynCallProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.genexus.gxdynamiccall; | ||
|
||
public class GXDynCallProperties { | ||
private String externalName; | ||
private String packageName; | ||
|
||
public String getExternalName() { | ||
return externalName; | ||
} | ||
public void setExternalName(String name) { | ||
externalName = name; | ||
} | ||
public String getPackageName() { | ||
return packageName; | ||
} | ||
public void setPackageName(String packageN) { | ||
packageName = packageN; | ||
} | ||
|
||
|
||
|
||
|
||
} |
Oops, something went wrong.