Skip to content

Commit

Permalink
fix: correct variable references
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriano Santos committed Aug 21, 2024
1 parent bcb73ec commit 9579b93
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions java-std/{{cookiecutter.app_name}}/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>{{ group_id }}</groupId>
<artifactId>{{ artifact_id }}</artifactId>
<version>{{ version }}</version>
<groupId>{{ cookiecutter.group_id }}</groupId>
<artifactId>{{ cookiecutter.artifact_id }}</artifactId>
<version>{{ cookiecutter.version }}</version>
<name>{{ app_name }}</name>
<description>{{ app_description }}</description>
<description>{{ cookiecutter.app_description }}</description>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.encoding>UTF-8</project.encoding>

<!-- Lib versions -->
<spawn.sdk.version>{{ spawn_sdk_version }}</spawn.sdk.version>
<spawn.sdk.version>{{ cookiecutter.spawn_sdk_version }}</spawn.sdk.version>
<protobuf.version>4.27.2</protobuf.version>
<gson.version>2.11.0</gson.version>
</properties>
Expand Down Expand Up @@ -155,7 +155,7 @@
<image>openjdk:17</image>
</from>
<to>
<image>{{ app_image_tag }}</image>
<image>{{ cookiecutter.app_image_tag }}</image>
</to>
</configuration>
<executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ public static Config createDefaultConfig() {
String userFunctionHost = System.getenv("USER_FUNCTION_HOST") != null ? System.getenv("USER_FUNCTION_HOST")
: "localhost";
String userFunctionPort = System.getenv("USER_FUNCTION_PORT") != null ? System.getenv("USER_FUNCTION_PORT")
: "{{ app_port }}";
: "{{ cookiecutter.app_port }}";
String spawnProxyHost = System.getenv("SPAWN_PROXY_HOST") != null ? System.getenv("SPAWN_PROXY_HOST")
: "localhost";
String spawnProxyPort = System.getenv("SPAWN_PROXY_PORT") != null ? System.getenv("SPAWN_PROXY_PORT")
: "9001";
String spawnSystemName = System.getenv("SPAWN_SYSTEM_NAME") != null ? System.getenv("SPAWN_SYSTEM_NAME")
: "{{ spawn_app_spawn_system }}";
: "{{ cookiecutter.spawn_app_spawn_system }}";

return new Config(startupDelaySeconds, userFunctionHost, userFunctionPort, spawnProxyHost,
spawnProxyPort, spawnSystemName);
Expand Down

0 comments on commit 9579b93

Please sign in to comment.