-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved GCF entry point to a separate project.
- Loading branch information
1 parent
ebbc422
commit 7b871a2
Showing
9 changed files
with
255 additions
and
34 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This microservice exposes a Google Cloud Functions interface. It is exposed as a separate project because the | ||
GCF dependencies do not support native compilation. |
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,9 @@ | ||
<?xml version="1.0"?> | ||
|
||
<!DOCTYPE suppressions PUBLIC | ||
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN" | ||
"https://checkstyle.org/dtds/suppressions_1_2.dtd"> | ||
<suppressions> | ||
<suppress checks="LineLength" files=".*\.java"/> | ||
<suppress checks="ImportOrder" files=".*\.java"/> | ||
</suppressions> |
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,224 @@ | ||
<?xml version="1.0"?> | ||
<project | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>com.octopus</groupId> | ||
<artifactId>content-team-apps</artifactId> | ||
<version>1.0</version> | ||
</parent> | ||
<artifactId>products-microservice-gcf</artifactId> | ||
<version>0.1.0</version> | ||
<properties> | ||
<compiler-plugin.version>3.8.1</compiler-plugin.version> | ||
<jacoco.minimum.coverage>0.90</jacoco.minimum.coverage> | ||
<maven.compiler.parameters>true</maven.compiler.parameters> | ||
<maven.compiler.source>11</maven.compiler.source> | ||
<maven.compiler.target>11</maven.compiler.target> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id> | ||
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id> | ||
<quarkus.platform.version>3.4.2</quarkus.platform.version> | ||
<surefire-plugin.version>3.0.0-M5</surefire-plugin.version> | ||
</properties> | ||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>${quarkus.platform.group-id}</groupId> | ||
<artifactId>${quarkus.platform.artifact-id}</artifactId> | ||
<version>${quarkus.platform.version}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>io.quarkus</groupId> | ||
<artifactId>quarkus-google-cloud-functions</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.octopus</groupId> | ||
<artifactId>products-microservice</artifactId> | ||
<version>0.1.0</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.quarkus</groupId> | ||
<artifactId>quarkus-test-google-cloud-functions</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>octopus-sales-public-snapshot</id> | ||
<url>s3://octopus-sales-public-maven-repo/snapshot</url> | ||
</snapshotRepository> | ||
<repository> | ||
<id>octopus-sales-public-release</id> | ||
<url>s3://octopus-sales-public-maven-repo/release</url> | ||
</repository> | ||
</distributionManagement> | ||
<build> | ||
<finalName>products-microservice-gcf</finalName> | ||
<resources> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
<filtering>true</filtering> | ||
</resource> | ||
</resources> | ||
<extensions> | ||
<extension> | ||
<groupId>com.github.ehsaniara</groupId> | ||
<artifactId>maven-repository-aws-s3</artifactId> | ||
<version>1.2.11</version> | ||
</extension> | ||
</extensions> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-checkstyle-plugin</artifactId> | ||
<version>3.1.2</version> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.puppycrawl.tools</groupId> | ||
<artifactId>checkstyle</artifactId> | ||
<version>9.0</version> | ||
</dependency> | ||
</dependencies> | ||
<configuration> | ||
<configLocation>google_checks.xml</configLocation> | ||
<consoleOutput>true</consoleOutput> | ||
<encoding>UTF-8</encoding> | ||
<failOnViolation>true</failOnViolation> | ||
<failsOnError>true</failsOnError> | ||
<linkXRef>false</linkXRef> | ||
<suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation> | ||
<violationSeverity>warning</violationSeverity> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.jacoco</groupId> | ||
<artifactId>jacoco-maven-plugin</artifactId> | ||
<version>0.8.7</version> | ||
<executions> | ||
<execution> | ||
<id>default-prepare-agent</id> | ||
<goals> | ||
<goal>prepare-agent</goal> | ||
</goals> | ||
<configuration> | ||
<exclClassLoaders>*QuarkusClassLoader</exclClassLoaders> | ||
<destFile>${project.build.directory}/jacoco-quarkus.exec</destFile> | ||
<append>true</append> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>check</id> | ||
<phase>test</phase> | ||
<goals> | ||
<goal>check</goal> | ||
</goals> | ||
<configuration> | ||
<rules> | ||
<rule> | ||
<element>BUNDLE</element> | ||
<limits> | ||
<limit> | ||
<counter>LINE</counter> | ||
<value>COVEREDRATIO</value> | ||
<minimum>${jacoco.minimum.coverage}</minimum> | ||
</limit> | ||
<limit> | ||
<counter>BRANCH</counter> | ||
<value>COVEREDRATIO</value> | ||
<minimum>${jacoco.minimum.coverage}</minimum> | ||
</limit> | ||
</limits> | ||
</rule> | ||
</rules> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.cyclonedx</groupId> | ||
<artifactId>cyclonedx-maven-plugin</artifactId> | ||
<version>2.7.1</version> | ||
<configuration> | ||
<outputFormat>all</outputFormat> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>makeAggregateBom</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>${quarkus.platform.group-id}</groupId> | ||
<artifactId>quarkus-maven-plugin</artifactId> | ||
<version>${quarkus.platform.version}</version> | ||
<extensions>true</extensions> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>build</goal> | ||
<goal>generate-code</goal> | ||
<goal>generate-code-tests</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>${compiler-plugin.version}</version> | ||
<configuration> | ||
<parameters>${maven.compiler.parameters}</parameters> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>${surefire-plugin.version}</version> | ||
<configuration> | ||
<systemPropertyVariables> | ||
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> | ||
<maven.home>${maven.home}</maven.home> | ||
</systemPropertyVariables> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-enforcer-plugin</artifactId> | ||
<version>3.1.0</version> | ||
<dependencies> | ||
<dependency> | ||
<groupId>de.andrena.tools.nopackagecycles</groupId> | ||
<artifactId>no-package-cycles-enforcer-rule</artifactId> | ||
<version>1.0.9</version> | ||
</dependency> | ||
</dependencies> | ||
<executions> | ||
<execution> | ||
<id>enforce-no-package-cycles</id> | ||
<goals> | ||
<goal>enforce</goal> | ||
</goals> | ||
<phase>test</phase> | ||
<configuration> | ||
<rules> | ||
<NoPackageCyclesRule | ||
implementation="de.andrena.tools.nopackagecycles.NoPackageCyclesRule"> | ||
<includeTests>false</includeTests> | ||
</NoPackageCyclesRule> | ||
</rules> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
File renamed without changes.
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
24 changes: 0 additions & 24 deletions
24
...src/main/java/com/octopus/products/domain/graalvm/SubstituteEnvironmentValueProvider.java
This file was deleted.
Oops, something went wrong.