Skip to content

Spring boot support in Java Generator #751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Sep 1, 2023
Merged

Spring boot support in Java Generator #751

merged 19 commits into from
Sep 1, 2023

Conversation

iroqueta
Copy link
Collaborator

First commit
Issue: 103655

First commit
Issue: 103655
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

String jsonResponse = jObj.toString();
builder = Response.statusWrapped(201).entityWrapped(jsonResponse);
builder.header("GeneXus-Object-Id", keyId);
jsonResponse = jObj.toString();

Check failure

Code scanning / Fortify on Demand

Race Condition: Singleton Member Field

The class GXObjectUploadServices is a singleton, so the member field jsonResponse is shared between users. The result is that one user could see another user's data.Servlet member fields might allow one user to see another user's data.
…execute command line, execute reorgs, model property to select Framework

Now JDK 17 is needed to build standar classes
Issue: 103655
@iroqueta iroqueta requested a review from a team as a code owner August 7, 2023 18:41
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

iroqueta and others added 2 commits August 7, 2023 16:07
Read application.gam and connection.gam when Springboot ir run as jar.
Issue: 103655
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit fef4600
  • java/src/main/java/com/genexus/util/GXServices.java

fileInputStream = resource.getInputStream();
}
else
{

Check failure

Code scanning / Fortify on Demand

Unreleased Resource: Streams

The function open() in XMLReader.java sometimes fails to release a system resource allocated by getInputStream() on line 783.The program can potentially fail to release a system resource.
@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit fef4600
  • java/src/main/java/com/genexus/util/GXServices.java

…equest body, and return a json message with bad request

Issue: 103655
@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit fef4600
  • java/src/main/java/com/genexus/util/GXServices.java

@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit fef4600
  • java/src/main/java/com/genexus/util/GXServices.java

@iroqueta iroqueta removed the conflict label Aug 18, 2023
@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit fef4600
  • java/src/main/java/com/genexus/util/GXServices.java

@iroqueta iroqueta removed the conflict label Aug 28, 2023
@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit fef4600
  • java/src/main/java/com/genexus/util/GXServices.java

… REST services using Spring Boot

Image.Link() in Spring Boot cames without contextPath
Issue: 103655
@genexusbot
Copy link
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit fef4600
  • java/src/main/java/com/genexus/util/GXServices.java

@iroqueta iroqueta merged commit 62c55b6 into master Sep 1, 2023
@iroqueta iroqueta deleted the SpringBootRest branch September 1, 2023 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants