-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create camel infrastructure for external systems and invoke alberta API
refs PR #10685 * move JSON-BPartner classes to de.metas.common and add stub camel project * add first camel stuff + auto-generated alberta client code (UnLicence) * add externalsystem module * add constants for common external system parameters * rearrange code and start implementing GetAlbertaPatientsRouteBuilder * camel-externalsystems in the jenkins-build * add bannter.txt * build the docker image * add rudimentory endpoint for reporting errors Co-authored-by: Tobias Schöneberg <tobias.schoeneberg@metasfresh.com> * include AD_Pinstance_ID when calling camel * prepare the code for the arrival of a second external-system-type * bump up the swagger api-enum plugin "springfox-enum-plugin" * Master camel services adissue (#10684) * create endpoint for ad issue * refs: #10683 Co-authored-by: cif-ps <ci-ps@pevesoft.ro> * refs: #10676 (#10677) * refs: #10676 - small location fix - basic error handling - avoid duplicates ( possible as we retrieve twice ) - send the type of the config as external-system-name - not its type - fix NPE that occurs when we run from ad_scheduler - guard against empty IDs Co-authored-by: adi-stefan <60300682+adi-stefan@users.noreply.github.com> Co-authored-by: cp-ps <77785468+cp-ps@users.noreply.github.com> Co-authored-by: cif-ps <ci-ps@pevesoft.ro>
- Loading branch information
1 parent
c87b3de
commit 9061c9f
Showing
298 changed files
with
19,534 additions
and
4,505 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
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
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
57 changes: 57 additions & 0 deletions
57
...metas.adempiere.adempiere/base/src/main/java/de/metas/error/InsertRemoteIssueRequest.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,57 @@ | ||
/* | ||
* #%L | ||
* de.metas.adempiere.adempiere.base | ||
* %% | ||
* Copyright (C) 2021 metas GmbH | ||
* %% | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as | ||
* published by the Free Software Foundation, either version 2 of the | ||
* License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public | ||
* License along with this program. If not, see | ||
* <http://www.gnu.org/licenses/gpl-2.0.html>. | ||
* #L% | ||
*/ | ||
|
||
package de.metas.error; | ||
|
||
import de.metas.organization.OrgId; | ||
import de.metas.process.PInstanceId; | ||
import lombok.Builder; | ||
import lombok.NonNull; | ||
import lombok.Value; | ||
|
||
import javax.annotation.Nullable; | ||
|
||
@Value | ||
@Builder | ||
public class InsertRemoteIssueRequest | ||
{ | ||
@NonNull | ||
OrgId orgId; | ||
|
||
@NonNull | ||
PInstanceId pInstance_ID; | ||
|
||
@NonNull | ||
String issueSummary; | ||
|
||
@Nullable | ||
String sourceClassName; | ||
|
||
@Nullable | ||
String sourceMethodName; | ||
|
||
@Nullable | ||
String issueCategory; | ||
|
||
@Nullable | ||
String stacktrace; | ||
} |
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
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
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
Oops, something went wrong.