Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into WINDUP-3322
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosthe19916 committed Nov 24, 2022
2 parents 2154f6a + 0bb95f0 commit 4e5b97d
Show file tree
Hide file tree
Showing 39 changed files with 132 additions and 82 deletions.
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2
updates:
# Maintain dependencies for pom.xml
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "Maven pom.xml"
include: "scope"
# Maintain dependencies from package.json
- package-ecosystem: "npm"
directory: "/ui-pf4/src/main/webapp"
schedule:
interval: "weekly"
allow:
- dependency-name: "@patternfly/*"
dependency-type: "direct"
2 changes: 1 addition & 1 deletion addons/messaging-executor/addon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web.addons</groupId>
<artifactId>windup-web-messaging-executor-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<artifactId>windup-web-messaging-executor</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion addons/messaging-executor/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web.addons</groupId>
<artifactId>windup-web-messaging-executor-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<artifactId>windup-web-messaging-executor-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion addons/messaging-executor/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web.addons</groupId>
<artifactId>windup-web-messaging-executor-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<artifactId>windup-web-messaging-executor-impl</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion addons/messaging-executor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web.addons</groupId>
<artifactId>windup-web-addons</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<artifactId>windup-web-messaging-executor-parent</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion addons/messaging-executor/tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web.addons</groupId>
<artifactId>windup-web-messaging-executor-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<artifactId>windup-web-messaging-executor-tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion addons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web</groupId>
<artifactId>windup-web-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<groupId>org.jboss.windup.web.addons</groupId>
Expand Down
2 changes: 1 addition & 1 deletion addons/web-support/addon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web.addons</groupId>
<artifactId>windup-web-support-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<artifactId>windup-web-support</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion addons/web-support/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web.addons</groupId>
<artifactId>windup-web-support-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<artifactId>windup-web-support-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion addons/web-support/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web.addons</groupId>
<artifactId>windup-web-support-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<artifactId>windup-web-support-impl</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion addons/web-support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web.addons</groupId>
<artifactId>windup-web-addons</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<artifactId>windup-web-support-parent</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion addons/web-support/tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web.addons</groupId>
<artifactId>windup-web-support-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<artifactId>windup-web-support-tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ear/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web</groupId>
<artifactId>windup-web-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<artifactId>windup-ear</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion executor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web</groupId>
<artifactId>windup-web-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<artifactId>windup-web-executor</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion furnace-service-provider/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web</groupId>
<artifactId>windup-web-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<artifactId>furnace-service-provider</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.windup.web</groupId>
<artifactId>windup-web-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
</parent>

<artifactId>windup-web-jpa-model</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ public class AdvancedOption implements Serializable
@NotNull
private String name;

@Column(length = 8192)
// "value" is a reserved word, hence need to be escaped
@Column(name = "\"value\"", length = 8192)
private String value;

public AdvancedOption() {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.hibernate.annotations.ColumnDefault;
import org.hibernate.annotations.Fetch;
import org.hibernate.annotations.FetchMode;
import org.hibernate.annotations.Type;

/**
* Contains information about how Windup analysis should be configured.
Expand Down Expand Up @@ -65,18 +66,22 @@ public class AnalysisContext implements Serializable

@Column(nullable = false)
@ColumnDefault("true")
@Type(type= "yes_no")
private boolean generateStaticReports = true;

/*
* @TODO temporary added for obey single target selection in migration path
*/
@Column(name = "cloudtargets")
@Type(type= "yes_no")
private boolean cloudTargetsIncluded;

@Column(name = "linuxtargets")
@Type(type= "yes_no")
private boolean linuxTargetsIncluded;

@Column(name = "openjdktargets")
@Type(type= "yes_no")
private boolean openJdkTargetsIncluded;

@JsonIgnore
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.jboss.windup.web.services.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.hibernate.annotations.Type;

import java.io.Serializable;
import java.util.Set;
Expand Down Expand Up @@ -48,6 +49,7 @@ public class Configuration implements Serializable
private Long id;

@Column
@Type(type= "yes_no")
private boolean global;

@Version
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.jboss.windup.web.services.model;

import org.hibernate.annotations.ColumnDefault;
import org.hibernate.annotations.Type;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
Expand Down Expand Up @@ -36,6 +37,7 @@ public class LabelsPath implements Serializable
@Column
@NotNull
@ColumnDefault("true")
@Type(type= "yes_no")
private boolean scanRecursively = true;

@Column(length = 2048)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import org.hibernate.annotations.ColumnDefault;
import org.hibernate.annotations.Fetch;
import org.hibernate.annotations.FetchMode;
import org.hibernate.annotations.Type;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
Expand Down Expand Up @@ -62,6 +63,7 @@ public class MigrationProject implements Serializable
*/
@Column(nullable = true)
@ColumnDefault("FALSE")
@Type(type= "yes_no")
private boolean provisional = true;

@Column(length = 120, unique = false, nullable = false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.hibernate.annotations.Type;

import java.io.Serializable;
import java.util.Collection;
Expand Down Expand Up @@ -45,6 +46,7 @@ public class Package implements Serializable
@Column()
private int countClasses;

@Type(type= "yes_no")
private boolean isKnown;

@ManyToOne()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import javax.validation.constraints.Size;

import org.hibernate.annotations.ColumnDefault;
import org.hibernate.annotations.Type;
import org.jboss.windup.web.services.validators.FileExistsConstraint;

import com.fasterxml.jackson.annotation.JsonIdentityInfo;
Expand Down Expand Up @@ -71,6 +72,7 @@ public class RegisteredApplication implements Serializable
*/
@Column(nullable = false)
@ColumnDefault("FALSE")
@Type(type= "yes_no")
private boolean exploded;

@Column(length = 2048)
Expand All @@ -91,6 +93,7 @@ public class RegisteredApplication implements Serializable
private Calendar lastModified;

@Column
@Type(type= "yes_no")
private boolean isDeleted = false;

public RegisteredApplication()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import org.hibernate.annotations.FetchMode;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.hibernate.annotations.Type;

/**
* @author <a href="mailto:dklingenberg@gmail.com">David Klingenberg</a>
Expand Down Expand Up @@ -61,6 +62,7 @@ public class ReportFilter implements Serializable
private WindupExecution windupExecution;

@Column(nullable = false)
@Type(type= "yes_no")
private boolean isEnabled = false;

public ReportFilter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import javax.validation.constraints.Size;

import org.hibernate.annotations.ColumnDefault;
import org.hibernate.annotations.Type;

/**
* Contains the path to a Rules directory.
Expand Down Expand Up @@ -45,6 +46,7 @@ public class RulesPath implements Serializable
@Column
@NotNull
@ColumnDefault("true")
@Type(type= "yes_no")
private boolean scanRecursively = true;

@Column(length = 2048)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import org.hibernate.annotations.FetchMode;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.hibernate.annotations.Type;

/**
* @author <a href="mailto:dklingenberg@gmail.com">David Klingenberg</a>
Expand All @@ -39,9 +40,11 @@ public class Tag
private String name;

@Column
@Type(type= "yes_no")
private boolean isRoot;

@Column
@Type(type= "yes_no")
private boolean isPseudo;

@Column
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>org.jboss.windup.web</groupId>
<artifactId>windup-web-parent</artifactId>
<version>6.0.1-SNAPSHOT</version>
<version>6.2.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Windup Web - Parent</name>
Expand All @@ -24,8 +24,8 @@
<version.findbugs.plugin>3.0.5</version.findbugs.plugin>
<version.forge>3.10.0.Final</version.forge>
<version.furnace>2.29.1.Final</version.furnace>
<version.windup>6.0.1-SNAPSHOT</version.windup>
<version.windup.cli>6.0.1-SNAPSHOT</version.windup.cli>
<version.windup>6.2.0-SNAPSHOT</version.windup>
<version.windup.cli>6.2.0-SNAPSHOT</version.windup.cli>
<version.keycloak>18.0.2</version.keycloak>
<version.wildfly>23.0.2.Final</version.wildfly>
<version.resteasy>3.15.1.Final</version.resteasy>
Expand Down Expand Up @@ -208,7 +208,7 @@
<dependency>
<groupId>org.jboss.arquillian.graphene</groupId>
<artifactId>graphene-webdriver</artifactId>
<version>2.0.3.Final</version>
<version>2.5.4</version>
<type>pom</type>
</dependency>
<dependency>
Expand Down
Loading

0 comments on commit 4e5b97d

Please sign in to comment.