Commit Graph

280 Commits

Author SHA1 Message Date
Carlos Ruiz 087b6e62d0
IDEMPIERE-4339 Web Services : Automatically fill records on Parameters table (#175)
peer review and tests
2020-07-21 11:41:11 +02:00
Nicolas Micoud b473111bab
Idempiere 4339 (#125)
* IDEMPIERE-4339 : Web Services : Automatically fill records on Parameters table

After saving a new record in WS Security window, linked records in Parameters table are automatically inserted according to the type of the WS.

* IDEMPIERE-4339 : enhancement of the WS security window layout

The 'Method' field has same width as others and Active is on top
When adding records in sub tabs, they remains in detail mode
Columns fields allow to select only 'unused' columns

* Revert "IDEMPIERE-4339 : Web Services : Automatically fill records on Parameters table"

This reverts commit 780c6777877eceeec71554eb524977fdc28e3b65.

* IDEMPIERE-4339 : InsertParameter Process

* IDEMPIERE-4339 : move scripts to 7.1z

* IDEMPIERE-4339 : Web Services : Automatically fill records on Parameters table

following Carlos's advices

Co-Authored-By: Carlos Ruiz <carg67@gmail.com>

* IDEMPIERE-4339 (remove specific columns from migration scripts)

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-07-21 11:38:52 +02:00
Nicolas Micoud 69256ca2a0
IDEMPIERE-4344 : Add a ProcessFactory class to the org.idempiere.webs… (#133)
* IDEMPIERE-4344 : Add a ProcessFactory class to the org.idempiere.webservices package

* IDEMPIERE-4344 : Add a ProcessFactory class to the org.idempiere.webservices package

Changes recommanded by hengsin

Co-Authored-By: hengsin <hengsin@users.noreply.github.com>

Co-authored-by: hengsin <hengsin@users.noreply.github.com>
2020-07-15 18:47:24 +08:00
hieplq beec96b332
IDEMPIERE-4357:ClassLocator.warn: Replicate resource by jetty append lib on standard web folder (#155) 2020-07-04 21:21:49 +08:00
Carlos Ruiz f4337b1b2a
IDEMPIERE-4354 add missing import (#160) 2020-07-04 12:14:53 +02:00
Nicolas Micoud 211d288f47
IDEMPIERE-4354 : Web Services : setDocAction error message not transl… (#151)
* IDEMPIERE-4354 : Web Services : setDocAction error message not translated

Translation of the error message

* IDEMPIERE-4354 : translate full message
2020-07-04 11:53:48 +02:00
Carlos Ruiz 37e82005b5
IDEMPIERE-4329 Cleanup eclipse warnings (#107)
* IDEMPIERE-4329 Cleanup eclipse warnings

Clean unused imports

* IDEMPIERE-4329 Cleanup eclipse warnings

Clean some additional warnings
Make org.adempiere.base to respect the Warnings/Errors level configuration from workspace

* IDEMPIERE-4329 Cleanup eclipse warnings

One more unused import caused by the previous commit
2020-06-09 12:26:36 +02:00
hieplq 9a35f2054d
IDEMPIERE-4314:eclipse project setting independent JDK (#90) 2020-06-01 11:30:00 +08:00
Nicolas Micoud ed7952945a
IDEMPIERE-4313 : WebServices : Yes-No output values not consistent be… (#85)
* IDEMPIERE-4313 : WebServices : Yes-No output values not consistent between Read and Query

* Update code using Carlos's suggestion
2020-05-29 14:49:55 +02:00
Nicolas Micoud 8b6d4e5d19
IDEMPIERE-4303 : 4303 Web Services : Inconsistency for username (doesn't use LDAPUser) that could lead to not reuse previous sessions (#77)
Fix inconsistency with 'standard' Login method to get the username (LDAPUser / Name)
2020-05-24 20:02:17 +02:00
hieplq 595e0df99c
Idempiere-4298:support update jdk (jdk 12 13 14) (#69)
* IDEMPIERE-4298: remove Bundle-RequiredExecutionEnvironment

when build by tycho value of Bundle-RequiredExecutionEnvironment and jdt need to compatibility
in case we use Bundle-RequiredExecutionEnvironment = 11 then can't build by jdk != 11
so stick on fix value isn't good

eclipse now also support Require-Capability, so don't need Bundle-RequiredExecutionEnvironment anymore

* IDEMPIERE-4298:support update jdk (jdk 12 13 14)

default environment still jdk-11 but you can build for any jdk by below command

export JAVA_HOME=path to jdk
mvn verify -Djdk.version=11

in case on JAVA_HOME is jdk 14 then can set jdk.version for 11, 12, 13, 14 and same for other jdk

at moment java 14 just support on eclipse 2020-03 with install plugin
Java 14 Support for Eclipse 2020-03 (4.15)
2020-05-20 11:18:31 +08:00
Nicolas Micoud b7a2b0762e
IDEMPIERE-4272 : Add GW_Sample_WebServices in default seed (#46)
* IDEMPIERE-4272 : Add GW_Sample_WebServices in default seed

Insert content of org.idempiere.webservices\testScripts\GW_Sample_WebServices.zip

* IDEMPIERE-4272 : Add GW_Sample_WebServices in default seed

Update of previous commit following Carlos's comments :
With 'past' migration script names ^^
Fix Sample get BP Standard (using Carlos's patch)
Add Storage Detail process for the role Web Service Execution
2020-05-13 10:20:46 +02:00
Carlos Ruiz 94169c0af4
IDEMPIERE-4260 Web Services : Query should use MRole.addAccessSQL with RO (#20)
Co-authored-by: Nicolas Micoud <nmicoud@tgi.fr>
2020-04-30 16:01:49 +02:00
hengsin c3cad0d1e2
IDEMPIERE-4249 Platform Refresh for 7.1z (#19)
Upgrade to Tycho 1.7.0, Eclipse 2020-03, Zk 9.0.1 and Jetty 9.4.28
2020-04-30 16:01:19 +02:00
Carlos Ruiz 281912af45 IDEMPIERE-2767 Web Services not working with UUID / peer review - implement the same for ModelGetList AD_Reference_ID 2020-04-22 23:32:50 +02:00
Diego Ruiz 7e91d03ac0 IDEMPIERE-2767 Web Services not working with UUID 2020-04-22 23:32:18 +02:00
Carlos Ruiz b719e45c8f IDEMPIERE-2767 Web Services not working with UUID / peer review 2020-04-17 19:48:38 +02:00
Diego Ruiz a88ef127d4 IDEMPIERE-2767 Web Services not working with UUID 2020-04-17 19:48:14 +02:00
Carlos Ruiz ac5a3e7024 IDEMPIERE-4244 Web Services Query : using User Org Access doesn't retrieve records 2020-04-15 14:47:29 +02:00
Nicolas Micoud d368c2583a IDEMPIERE-4239 Web Services : AD_User_OrgAccess table is not used on login 2020-04-11 15:01:45 +02:00
HideakiHagiwara 154d8fb0de IDEMPIERE-4231 2020-04-05 13:04:11 +02:00
hieplq 667c4f7675 IDEMPIERE-4183:Web services is loading spring schema resources from spring web site (after update spring to osgi)
error build with mvn
2020-02-20 16:00:57 +01:00
hieplq 296154af6e IDEMPIERE-4183:Web services is loading spring schema resources from spring web site (after update spring to osgi) 2020-02-19 21:06:32 +01:00
Carlos Ruiz 77a8e349b9 IDEMPIERE-460 Integrate and migrate 3e services
Fix old errors on integration, reporting wrong return type, is not xml but html, and fix some messages in Polish
2020-01-04 18:12:26 +01:00
Carlos Ruiz 64eadf1822 release 7.1 process - set version in configuration files 2019-11-21 23:28:48 +01:00
Carlos Ruiz 36ca02f16d IDEMPIERE-4097 AD_Reference Caching validation 2019-11-13 11:36:21 +01:00
Heng Sin Low f46b8afb5c IDEMPIERE-4098 CLogger usage pattern clean up 2019-11-12 20:49:55 +08:00
Andy Conn 4b6f146344 https://idempiere.atlassian.net/browse/IDEMPIERE-3132 2016-06-24 23:49:25 -04:00
Heng Sin Low 8f3b199b1f IDEMPIERE-4052 Move to Eclipse 2019-09 and ECJ 3.19.0 2019-09-19 19:57:52 +08:00
Murilo Habermann Torquato 042740a2dc IDEMPIERE-3946 - cxf version on webservices and dependencies on target platform 2019-04-30 17:52:38 -03:00
Carlos Ruiz 7753c90af0 hg merge release-6.2 (merge release6.2 into default) 2019-04-27 14:18:37 +02:00
hieplq 29f4a4b830 Jetty vulnerability
https://webtide.com/indexing-listing-vulnerability-in-jetty/

https://www.eclipse.org/lists/jetty-dev/msg03298.html
2019-04-23 19:48:36 +07:00
Heng Sin Low bf2b531267 IDEMPIERE-3946 Upgrade to Tycho 1.4.0 2019-04-11 20:22:24 +08:00
Carlos Ruiz 0a0ad7027c IDEMPIERE-3926 Restrict roles in login by type 2019-03-21 16:04:26 -03:00
hieplq d0ca3eb7be IDEMPIERE-3908:webservice client example
fix conflict of javax.xml.soap from axis
https://idempiere.atlassian.net/browse/IDEMPIERE-3908?focusedCommentId=43048&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-43048
2019-03-05 11:33:04 +07:00
hieplq fb1ebefdf2 IDEMPIERE-3909:update webservice library to jdk-11 2019-03-02 20:22:16 +07:00
Carlos Ruiz b8678da0d1 Backed out changeset bbf1c2b204a5 IDEMPIERE-3946 revert tycho 1.4.0 from release 6.2 2019-04-11 19:05:28 +02:00
Heng Sin Low 83c876bc7a IDEMPIERE-3946 Upgrade to Tycho 1.4.0 2019-04-11 20:22:24 +08:00
Nicolas Micoud 1205178ef0 IDEMPIERE-3904 Harmonize list of component in MANIFEST.MF 2019-02-27 12:51:25 +01:00
Carlos Ruiz e1ce7e9ec9 Backed out changeset c14bc0ce677c - IDEMPIERE-3808 - works fine in 2018-12 but not yet in 2018-09 2019-01-10 15:39:41 +01:00
Carlos Ruiz f79dc728a3 IDEMPIERE-3808:collect info to move idempiere to jdk-11. Fix jdk target environment. As advised by Heng Sin 2019-01-10 15:21:19 +01:00
hieplq c38dcec5cc IDEMPIERE-3531: clean stuff download by download-maven-plugin to resulve issue report at group also auto run clean
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/idempiere/4hSPHBqk1oo
2019-01-07 23:54:47 +07:00
Carlos Ruiz 090a34eb88 IDEMPIERE-3808:collect info to move idempiere to jdk-11. Fix jdk target environment. / eclipse still doesn't fully support - avoid annoying warning on launcher 2019-01-07 17:58:10 +01:00
Carlos Ruiz d14338729b IDEMPIERE-3808:collect info to move idempiere to jdk-11. Fix jdk target environment. 2019-01-07 13:22:58 +01:00
Carlos Ruiz 9487335169 Preparing release 6.2 - upgrade versions 2019-01-05 23:56:28 +01:00
Carlos Ruiz 8b73a1b743 hg merge experimental (merge experimental into default) 2018-12-27 16:57:47 +01:00
Carlos Ruiz 50943b09dd hg merge release-6.1 (merge release6.1 into default) 2018-12-26 17:19:01 +01:00
hieplq e00b022e12 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (move file server to github) 2018-12-21 19:08:06 +07:00
hieplq 45e54b5da0 IDEMPIERE-3808:collect info to move idempiere to jdk-11 (update lib j2ee take out from jdk)
https://github.com/eclipse-ee4j
some already release so update, some not yet release so wait

https://eclipse-ee4j.github.io/javamail/
https://eclipse-ee4j.github.io/jaf/
2018-12-23 11:08:13 +07:00
hieplq f39116d95d IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (delete buckminster stuff) 2018-11-10 10:32:38 +07:00
Carlos Ruiz 4aba73b917 Change sourceforge folder for seed database and jarfiles 2018-11-04 20:09:44 -02:00
Carlos Ruiz 7eeb4a8463 More versioning for 6.1 2018-11-04 18:32:21 -02:00
Carlos Ruiz ee4303d453 set version to 6.1 2018-11-04 14:47:53 -02:00
Carlos Ruiz a78bb93284 Merged idempiere/idempiere-experimental/default into default 2018-10-31 15:27:30 +01:00
Carlos Ruiz 0c9838f464 IDEMPIERE-941 soapUI tests not working / fix 2pack for last version 2018-10-31 15:19:47 +01:00
hieplq 79613e7a07 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (rest/launcher) 2018-10-31 15:09:16 +07:00
hieplq 59dbbf1d7f IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (web service/tycho ok, eclipse conflic)
back to online mode/new service configuration file, get from spring osgi bundle
2018-10-31 10:37:28 +07:00
hieplq 7ddd9b9692 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (web service/tycho ok, eclipse conflic)
use javax.activation bundle from eclipse can resolve issue conflic between tycho buil/eclipse build/eclipse runtime
2018-10-31 10:25:17 +07:00
hieplq 8a04f3e303 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (web service/tycho ok, eclipse conflic)
1. new version of cxf need new version of spring so get osgi version from org.apache.servicemix but spring of cxf limit to 4.0 so take 4.3.19.RELEASE_1
http://cxf.apache.org/docs/30-migration-guide.html

2. eclipse auto add --add-modules=ALL-SYSTEM when run eclipse launcher, so when run idempiere server from eclipse encounter bellow condition
   javax.activity, javax.xml.ws is depricate package to remove on jdk11
   that why this module is exclusive from build class path (but by --add-modules=ALL-SYSTEM it appear at runtime)
   we use some replace jar for that package (com.sun.activation for javax.activation)
2018-10-31 04:03:57 +07:00
hieplq 23530a00e2 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (web service)
use osgi version
2018-10-29 21:28:53 +07:00
hieplq 783827e94a IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (web service)
use osgi version
2018-10-29 08:22:06 +07:00
hieplq 7426cd54d1 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (tycho access restriction on classpath entry of jaxws-api)
jaxws-api look same javax.xml.ws but when build with tycho it said about access restriction on package javax.xml.ws,..
(i guess jaxws-api is new and it follow jdk mudule)
javax.xml.ws is special package, it's marked for remove on next jdk release.

it can't resolve ever i use <arg>-warn:+discouraged,forbidden</arg>
2018-10-27 16:04:38 +07:00
hieplq 69c91e1111 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (build by tycho issue)
https://bugs.eclipse.org/bugs/show_bug.cgi
https://bugs.eclipse.org/bugs/show_bug.cgi?id=537016

1. use latest jdt for support jdk10

2. tycho resolve dependency to javax.activation, javax.xml.bind from jdk, but jdk don't public it.
eclipse resolve by get highest version from com.sun.activation.javax.activation, jaxb-api
so need use Require-Bundle to force tycho choose com.sun.activation.javax.activation

2.1 if keep both import javax.activation and Require-Bundle com.sun.activation.javax.activation with get bellow exception on tycho but org.adempiere.base don't have this issue
[ERROR] /home/hieplq/1Dev/project/native/idempiere-dev-11/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/factory/DefaultFeedbackService.java:[16]
[ERROR] 	import javax.activation.DataSource;
[ERROR] 	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Access restriction: The type 'DataSource' is not API (restriction on classpath entry '/home/hieplq/.m2/repository/p2/osgi/bundle/com.sun.activation.javax.activation/1.2.0/com.sun.activation.javax.activation-1.2.0.jar')

3. pass --add-exports for org.adempiere.base, install, server and swing
2018-10-25 23:59:10 +07:00
hieplq 5e5d79f614 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (add Vendor info to bundle) 2018-10-24 13:07:45 +07:00
hieplq cfa2705b25 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:29:49 +07:00
hieplq 0e5becb6c8 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:28:04 +07:00
hieplq 52a4a836c8 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:26:40 +07:00
hieplq 155810c3f1 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:25:50 +07:00
hieplq bb6005c5c2 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:23:59 +07:00
hieplq 733ad1c89f IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:17:22 +07:00
hieplq b7aada7a1b IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with static value
2018-10-24 09:02:12 +07:00
hieplq 0a010a526d IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (update maven project)
run auto update maven projec (side effect from 15ccf00c09f5).
2018-10-24 08:56:57 +07:00
hieplq 2d6d70ef06 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (update lib)
spring to osgi, deduce install configuration
2018-10-24 08:48:02 +07:00
hieplq 6bc86a754c IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (update lib)
spring, service, xml http://openjdk.java.net/jeps/320
2018-10-23 22:27:06 +07:00
hieplq 1c5a89128b IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (Bundle-RequiredExecutionEnvironment)
eclipse don't reconize Bundle-RequiredExecutionEnvironment 10
2018-10-23 17:29:35 +07:00
hieplq b2fa99b192 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (update lib)
update jetty to 12
update almost library to latest version
change org.eclipse.jdt.core.compiler.batch to org.eclipse.jdt.core
change javax.management.j2ee-api to org.apache.geronimo.specs.geronimo-j2ee-management_1.1_spec, reduce dependency and correct dependency of activeMQ
javax.activation to com.sun.activation.javax.activation
lib for service will take from library instea of jdk
groovy to date
2018-10-23 09:36:53 +07:00
hieplq 82c8c5b31d IDEMPIERE-3798:Move iDempiere default branch to openjdk 10
change targetPlatform and classpath to JavaSE-10
2018-10-16 07:08:34 +07:00
hieplq fe0f36668b IDEMPIERE-3531: add manifest for java 9 warning 2018-09-11 09:04:49 +07:00
Carlos Ruiz ac0b824eee hg merge release-5.1 (merge release5.1 into default) 2018-08-29 20:42:42 +02:00
Carlos Ruiz 588eed01e3 IDEMPIERE-3712 Webservices broken in 5.1z 2018-08-24 13:09:45 +02:00
Carlos Ruiz 6144a1b8ff IDEMPIERE-3712 Webservices broken in 5.1z 2018-08-24 12:12:29 +02:00
Carlos Ruiz 2fce02d02e IDEMPIERE-2944 Preserve iDempiere session between sucessive webservice calls / integrate peer review from hengsin
AP2-330 Web services loggin. Fix thread safety.
2018-07-30 16:24:05 +02:00
Carlos Ruiz 48b927327a IDEMPIERE-2944 Preserve iDempiere session between sucessive webservice calls / found the previous sessions was not being closed properly 2018-07-27 11:36:11 +02:00
Heng Sin Low 4c644268e1 IDEMPIERE-2944 AP2-330 Web services logging. Access to csMap is not thread safe. ctxMap should not cache full context of previous service execution. 2018-07-23 15:52:58 +08:00
Carlos Ruiz 40bcba3ce2 hg merge release-5.1 (merge release5.1 into default) 2018-07-14 18:03:36 +02:00
Carlos Ruiz 3f1026519f IDEMPIERE-2944 Preserve iDempiere session between sucessive webservice calls / fix Context Lost issue 2018-07-09 14:43:18 +02:00
Carlos Ruiz 919b6f34db hg merge release-5.1 (merge release5.1 into default) 2018-05-17 21:59:23 +02:00
hieplq 31ad04d7ef IDEMPIERE-3531:auto update by eclipse when import project to new workspace by choose import exists maven project 2018-02-18 23:41:09 +07:00
hieplq 9482f02dec IDEMPIERE-3531:add maven tycho configuration 2018-02-10 16:42:06 +07:00
hieplq 50271ce883 IDEMPIERE-3531:standard maven repository url 2018-02-03 10:50:12 +07:00
hieplq d7808da56a IDEMPIERE-3531:setting output build, jdk follow project convert from pure plugin to maven
a mavent project convert from plugin have flow default rule
   1. maven project prefer setting JRE to Execution environment, so .classpath is updated
   2. java class compliment to target/classes/, so build.propertie is updated
   3. JDK compliance configuration setting per project (only this option), so .settings/org.eclipse.jdt.core.prefs is created

extra setting about warning done manual to resolved
https://bugs.eclipse.org/bugs/show_bug.cgi?id=367431

   it happend on bundle use non-standard java package
      org.adempiere.base/.settings/org.eclipse.jdt.core.prefs
      org.adempiere.ui.swing/.settings/org.eclipse.jdt.core.prefs

   on org.adempiere.server, old method add accessrules to classpathentry don't work for maven build.
   so change to warning method make it consitent with other
      org.adempiere.server/.settings/org.eclipse.jdt.core.prefs
2018-02-03 01:39:47 +07:00
hieplq 34741c7d87 IDEMPIERE-3531:standard maven repository url
find out origin reposiroty for almost library
maven url include maven2 part
2018-02-03 16:38:23 +07:00
hieplq b6d9886732 IDEMPIERE-3531:standard lib folder
on all project, put library into lib folder, so easy apply parametrize
remove some unuse (don't see reference) library
2018-02-02 13:47:07 +07:00
Carlos Ruiz af3d52045f Point copyjars to new release 2017-11-01 01:14:36 +01:00
Carlos Ruiz d63062d0d0 New version 2017-10-31 23:12:29 +01:00
Carlos Ruiz a036839491 hg merge release-4.1 (merge release4.1 into default) 2017-10-31 17:55:06 +01:00
Carlos Ruiz 5dbdbc93aa IDEMPIERE-3534 Webservice error - Cannot Access 2017-10-31 17:30:55 +01:00
Carlos Ruiz 9bfe040d9b Integrate patches from hengsin - IDEMPIERE-3416 Implement the ability to track open DB connections (1007726/1008135) 2017-06-30 15:57:15 +02:00
hieplq c8c2f1592a IDEMPIERE-2544: on equinox osgi, bundle have service should be active 2017-04-26 10:06:46 +07:00
Carlos Ruiz ba7348f6a4 IDEMPIERE-3394 Allow defining web service type in System and extend in Tenant 2017-06-14 00:57:10 +02:00