Skip to content
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

[java] Add spring-boot-payara variant #1287

Merged
merged 8 commits into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ jobs:
weblog: spring-boot-wildfly
- library: java
weblog: spring-boot-undertow
- library: java
weblog: spring-boot-payara
- library: java
weblog: akka-http
- library: nodejs
Expand Down Expand Up @@ -746,4 +748,4 @@ jobs:
./build.sh -i agent
./build.sh golang -i weblog
- name: Run
run: ./tests/fuzzer/run.sh
run: ./tests/fuzzer/run.sh
1 change: 1 addition & 0 deletions tests/appsec/iast/sink/test_command_injection.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"spring-boot": "1.1.0",
"spring-boot-jetty": "1.1.0",
"spring-boot-openliberty": "1.1.0",
"spring-boot-payara": "1.1.0",
"spring-boot-wildfly": "1.1.0",
"spring-boot-undertow": "1.1.0",
"resteasy-netty3": "1.11.0",
Expand Down
1 change: 1 addition & 0 deletions tests/appsec/iast/sink/test_ldap_injection.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"spring-boot": "1.7.0",
"spring-boot-jetty": "1.7.0",
"spring-boot-openliberty": "1.7.0",
"spring-boot-payara": "1.7.0",
"spring-boot-wildfly": "1.7.0",
"spring-boot-undertow": "1.7.0",
"resteasy-netty3": "1.11.0",
Expand Down
1 change: 1 addition & 0 deletions tests/appsec/iast/sink/test_path_traversal.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"spring-boot": "1.1.0",
"spring-boot-jetty": "1.1.0",
"spring-boot-openliberty": "1.1.0",
"spring-boot-payara": "1.1.0",
"spring-boot-wildfly": "1.1.0",
"spring-boot-undertow": "1.1.0",
"resteasy-netty3": "1.11.0",
Expand Down
1 change: 1 addition & 0 deletions tests/appsec/iast/sink/test_sql_injection.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"spring-boot": "1.1.0",
"spring-boot-jetty": "1.1.0",
"spring-boot-openliberty": "1.1.0",
"spring-boot-payara": "1.1.0",
"spring-boot-wildfly": "1.1.0",
"spring-boot-undertow": "1.1.0",
"resteasy-netty3": "1.11.0",
Expand Down
1 change: 1 addition & 0 deletions tests/appsec/iast/sink/test_weak_cipher.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"spring-boot": "0.108.0",
"spring-boot-jetty": "0.108.0",
"spring-boot-openliberty": "0.108.0",
"spring-boot-payara": "0.108.0",
"spring-boot-wildfly": "0.108.0",
"spring-boot-udertow": "0.108.0",
"resteasy-netty3": "1.11.0",
Expand Down
1 change: 1 addition & 0 deletions tests/appsec/iast/sink/test_weak_hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def _expected_location():
"spring-boot": "0.108.0",
"spring-boot-jetty": "0.108.0",
"spring-boot-openliberty": "0.108.0",
"spring-boot-payara": "0.108.0",
"spring-boot-wildfly": "0.108.0",
"spring-boot-undertow": "0.108.0",
"resteasy-netty3": "1.11.0",
Expand Down
1 change: 1 addition & 0 deletions tests/appsec/iast/source/test_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"spring-boot": "1.7.0",
"spring-boot-jetty": "1.7.0",
"spring-boot-openliberty": "1.7.0",
"spring-boot-payara": "1.7.0",
"spring-boot-wildfly": "1.7.0",
"spring-boot-undertow": "1.7.0",
"vertx3": "1.12.0",
Expand Down
1 change: 1 addition & 0 deletions tests/appsec/iast/source/test_cookie_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"spring-boot": "1.5.0",
"spring-boot-jetty": "1.5.0",
"spring-boot-openliberty": "1.5.0",
"spring-boot-payara": "1.5.0",
"spring-boot-wildfly": "1.5.0",
"spring-boot-undertow": "1.5.0",
"vertx3": "1.12.0",
Expand Down
1 change: 1 addition & 0 deletions tests/appsec/iast/source/test_cookie_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"spring-boot": "1.5.0",
"spring-boot-jetty": "1.5.0",
"spring-boot-openliberty": "1.5.0",
"spring-boot-payara": "1.5.0",
"spring-boot-wildfly": "1.5.0",
"spring-boot-undertow": "1.5.0",
"resteasy-netty3": "1.11.0",
Expand Down
1 change: 1 addition & 0 deletions tests/appsec/iast/source/test_header_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"spring-boot": "1.5.0",
"spring-boot-jetty": "1.5.0",
"spring-boot-openliberty": "1.5.0",
"spring-boot-payara": "1.5.0",
"spring-boot-wildfly": "1.5.0",
"spring-boot-undertow": "1.5.0",
"vertx3": "1.12.0",
Expand Down
1 change: 1 addition & 0 deletions tests/appsec/iast/source/test_header_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"spring-boot": "1.5.0",
"spring-boot-jetty": "1.5.0",
"spring-boot-openliberty": "1.5.0",
"spring-boot-payara": "1.5.0",
"spring-boot-wildfly": "1.5.0",
"spring-boot-undertow": "1.5.0",
"resteasy-netty3": "1.11.0",
Expand Down
1 change: 1 addition & 0 deletions tests/appsec/iast/source/test_parameter_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"spring-boot": "1.5.0",
"spring-boot-jetty": "1.5.0",
"spring-boot-openliberty": "1.5.0",
"spring-boot-payara": "1.5.0",
"spring-boot-wildfly": "1.5.0",
"spring-boot-undertow": "1.5.0",
"vertx3": "1.12.0",
Expand Down
1 change: 1 addition & 0 deletions tests/appsec/iast/source/test_parameter_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"spring-boot": "1.5.0",
"spring-boot-jetty": "1.5.0",
"spring-boot-openliberty": "1.5.0",
"spring-boot-payara": "1.5.0",
"spring-boot-wildfly": "1.5.0",
"spring-boot-undertow": "1.5.0",
"resteasy-netty3": "1.11.0",
Expand Down
3 changes: 2 additions & 1 deletion tests/appsec/test_alpha.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
@released(dotnet="1.28.6", java="0.87.0", nodejs="2.0.0", php_appsec="0.2.1", python="1.1.0rc2.dev")
@missing_feature(context.library == "ruby" and context.libddwaf_version is None)
@missing_feature(weblog_variant="akka-http", reason="No AppSec support")
@missing_feature(context.weblog_variant == "spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="No AppSec support")
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@coverage.basic
class Test_Basic:
""" Detect attacks on raw URI and headers with default rules """
Expand Down
8 changes: 8 additions & 0 deletions tests/appsec/test_blocking_addresses.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
@scenarios.appsec_blocking
@bug(context.library < "[email protected]", reason="Missing handler for default block action")
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="Missing support")
@missing_feature(weblog_variant="akka-http", reason="Missing support")
class Test_BlockingAddresses:
"""Test the addresses supported for blocking"""
Expand Down Expand Up @@ -335,6 +336,7 @@ def test_blocking_before(self):
ruby="1.0.0",
)
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="Missing support")
@missing_feature(weblog_variant="akka-http", reason="Missing support")
@irrelevant(context.library == "golang" and context.weblog_variant == "net-http")
@irrelevant(context.library == "ruby" and context.weblog_variant == "rack")
Expand Down Expand Up @@ -389,6 +391,7 @@ def test_blocking_before(self):
java=_released_java_blocking,
)
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="Missing support")
@missing_feature(weblog_variant="akka-http", reason="Missing support")
@irrelevant(context.library == "golang" and context.weblog_variant == "net-http")
class Test_Blocking_request_query:
Expand Down Expand Up @@ -445,6 +448,7 @@ def test_blocking_before(self):
java=_released_java_blocking,
)
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="Missing support")
@missing_feature(weblog_variant="akka-http", reason="Missing support")
@irrelevant(context.library == "golang" and context.weblog_variant == "net-http")
class Test_Blocking_request_headers:
Expand Down Expand Up @@ -501,6 +505,7 @@ def test_blocking_before(self):
java=_released_java_blocking,
)
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="Missing support")
@missing_feature(weblog_variant="akka-http", reason="Missing support")
@irrelevant(context.library == "golang" and context.weblog_variant == "net-http")
class Test_Blocking_request_cookies:
Expand Down Expand Up @@ -557,6 +562,7 @@ def test_blocking_before(self):
ruby="1.0.0",
)
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="Missing support")
@missing_feature(weblog_variant="akka-http", reason="Missing support")
@irrelevant(library="php", reason="Php does not accept url encoded entries without key")
class Test_Blocking_request_body:
Expand Down Expand Up @@ -628,6 +634,7 @@ def test_blocking_before(self):
ruby="1.10.0",
)
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="Missing support")
@missing_feature(weblog_variant="akka-http", reason="Missing support")
@irrelevant(library="php", reason="On php it is not possible change the status code once its header is sent")
class Test_Blocking_response_status:
Expand Down Expand Up @@ -665,6 +672,7 @@ def test_non_blocking(self):
ruby="1.0.0",
)
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="Missing support")
@missing_feature(weblog_variant="akka-http", reason="Missing support")
@irrelevant(library="php", reason="On php it is not possible change the status code once its header is sent")
class Test_Blocking_response_headers:
Expand Down
2 changes: 1 addition & 1 deletion tests/appsec/test_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if context.library == "cpp":
pytestmark = pytest.mark.skip("not relevant")

if context.weblog_variant == "akka-http":
if context.weblog_variant in ("akka-http", "spring-boot-payara"):
pytestmark = pytest.mark.skip("missing feature: No AppSec support")


Expand Down
3 changes: 3 additions & 0 deletions tests/appsec/test_event_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
if context.library == "cpp":
pytestmark = pytest.mark.skip("not relevant")

if context.weblog_variant == "spring-boot-payara":
pytestmark = pytest.mark.skip("missing feature: No AppSec support")


_is_spring_native_weblog = re.fullmatch(r"spring-.+native", context.weblog_variant) is not None

Expand Down
2 changes: 1 addition & 1 deletion tests/appsec/test_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
if context.library == "cpp":
pytestmark = pytest.mark.skip("not relevant")

if context.weblog_variant == "akka-http":
if context.weblog_variant in ("akka-http", "spring-boot-payara"):
pytestmark = pytest.mark.skip("missing feature: No AppSec support")

# get the default log output
Expand Down
14 changes: 10 additions & 4 deletions tests/appsec/test_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
@released(golang={"gin": "1.37.0", "echo": "1.36.0", "*": "1.34.0"})
@bug(library="[email protected]", reason="a PR was not included in the release")
@missing_feature(weblog_variant="akka-http", reason="No AppSec support")
@missing_feature(context.weblog_variant == "spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="No AppSec support")
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@coverage.basic
class Test_StatusCode:
"""Appsec reports good status code"""
Expand Down Expand Up @@ -69,7 +70,8 @@ def check_http_code(span, appsec_data):
)
@released(dotnet="1.30.0", java="0.98.1", nodejs="2.0.0", php_appsec="0.3.0", python=PYTHON_RELEASE_GA_1_1)
@missing_feature(weblog_variant="akka-http", reason="No AppSec support")
@missing_feature(context.weblog_variant == "spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="No AppSec support")
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@coverage.good
@missing_feature(
True, reason="Bug on system test: with the runner on the host, we do not have the real IP from weblog POV"
Expand Down Expand Up @@ -116,7 +118,8 @@ def validator(span, appsec_data):
@flaky(context.library <= "[email protected]")
@bug(library="[email protected]", reason="a PR was not included in the release")
@missing_feature(weblog_variant="akka-http", reason="No AppSec support")
@missing_feature(context.weblog_variant == "spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="No AppSec support")
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@coverage.good
class Test_Info:
"""Environment (production, staging) from DD_ENV variable"""
Expand Down Expand Up @@ -152,7 +155,8 @@ def _check_service(span, appsec_data):
@missing_feature(context.library == "ruby" and context.libddwaf_version is None)
@bug(library="[email protected]", reason="a PR was not included in the release")
@missing_feature(weblog_variant="akka-http", reason="No AppSec support")
@missing_feature(context.weblog_variant == "spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="No AppSec support")
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@coverage.good
class Test_RequestHeaders:
"""Request Headers for IP resolution"""
Expand Down Expand Up @@ -190,6 +194,7 @@ def test_http_request_headers(self):


@coverage.basic
@missing_feature(weblog_variant="spring-boot-payara", reason="No AppSec support")
@missing_feature(weblog_variant="akka-http", reason="No AppSec support")
class Test_TagsFromRule:
"""Tags (Category & event type) from the rule"""
Expand All @@ -210,6 +215,7 @@ def test_basic(self):


@coverage.basic
@missing_feature(weblog_variant="spring-boot-payara", reason="No AppSec support")
@missing_feature(weblog_variant="akka-http", reason="No AppSec support")
class Test_AttackTimestamp:
"""Attack timestamp"""
Expand Down
10 changes: 7 additions & 3 deletions tests/appsec/test_traces.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
@released(nodejs="2.0.0", php_appsec="0.1.0", ruby="0.54.2")
@bug(library="[email protected]", reason="a PR was not included in the release")
@missing_feature(weblog_variant="akka-http", reason="No AppSec support")
@missing_feature(weblog_variant="spring-boot-payara", reason="No AppSec support")
@missing_feature(context.weblog_variant == "spring-boot-3-native", reason="GraalVM. Tracing support only")
@coverage.good
class Test_RetainTraces:
Expand Down Expand Up @@ -73,7 +74,8 @@ def validate_appsec_event_span_tags(span):
@released(dotnet="1.29.0", java="0.104.0", nodejs="2.0.0")
@released(php_appsec="0.1.0", python="0.58.5", ruby="0.54.2")
@missing_feature(weblog_variant="akka-http", reason="No AppSec support")
@missing_feature(context.weblog_variant == "spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="No AppSec support")
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@coverage.good
class Test_AppSecEventSpanTags:
"""AppSec correctly fill span tags."""
Expand Down Expand Up @@ -168,7 +170,8 @@ def validator(span):
@released(golang="1.38.0", dotnet="2.7.0", java="0.113.0", nodejs="2.6.0")
@released(php_appsec="0.3.0", python=PYTHON_RELEASE_GA_1_1, ruby="1.0.0")
@missing_feature(weblog_variant="akka-http", reason="No AppSec support")
@missing_feature(context.weblog_variant == "spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="No AppSec support")
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@coverage.good
class Test_AppSecObfuscator:
"""AppSec obfuscates sensitive data."""
Expand Down Expand Up @@ -332,7 +335,8 @@ def validate_appsec_span_tags(span, appsec_data): # pylint: disable=unused-argu
@released(golang="1.37.0" if context.weblog_variant == "gin" else "1.36.2")
@released(nodejs="2.0.0", java="0.102.0")
@missing_feature(weblog_variant="akka-http", reason="No AppSec support")
@missing_feature(context.weblog_variant == "spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="No AppSec support")
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@coverage.good
class Test_CollectRespondHeaders:
"""AppSec should collect some headers for http.response and store them in span tags."""
Expand Down
2 changes: 1 addition & 1 deletion tests/appsec/waf/test_addresses.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
if context.library == "cpp":
pytestmark = pytest.mark.skip("not relevant")

if context.weblog_variant == "akka-http":
if context.weblog_variant in ("akka-http", "spring-boot-payara"):
pytestmark = pytest.mark.skip("missing feature: No AppSec support")


Expand Down
2 changes: 1 addition & 1 deletion tests/appsec/waf/test_blocking.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
if context.library == "cpp":
pytestmark = pytest.mark.skip("not relevant")

if context.weblog_variant == "akka-http":
if context.weblog_variant in ("akka-http", "spring-boot-payara"):
pytestmark = pytest.mark.skip("missing feature: No AppSec support")

_CUR_DIR = os.path.dirname(os.path.abspath(__file__))
Expand Down
2 changes: 1 addition & 1 deletion tests/appsec/waf/test_miscs.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if context.library == "cpp":
pytestmark = pytest.mark.skip("not relevant")

if context.weblog_variant == "akka-http":
if context.weblog_variant in ("akka-http", "spring-boot-payara"):
pytestmark = pytest.mark.skip("missing feature: No AppSec support")


Expand Down
2 changes: 1 addition & 1 deletion tests/appsec/waf/test_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
if context.library == "cpp":
pytestmark = pytest.mark.skip("not relevant")

if context.weblog_variant == "akka-http":
if context.weblog_variant in ("akka-http", "spring-boot-payara"):
pytestmark = pytest.mark.skip("missing feature: No AppSec support")


Expand Down
2 changes: 1 addition & 1 deletion tests/appsec/waf/test_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
if context.library == "cpp":
pytestmark = pytest.mark.skip("not relevant")

if context.weblog_variant == "akka-http":
if context.weblog_variant in ("akka-http", "spring-boot-payara"):
pytestmark = pytest.mark.skip("missing feature: No AppSec support")


Expand Down
7 changes: 7 additions & 0 deletions tests/test_semantic_conventions.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@
"spring.handler": "spring-web-controller",
"servlet.response": "java-web-servlet-response",
},
"spring-boot-payara": {
"servlet.request": "java-web-servlet",
"hsqldb.query": "java-jdbc-statement",
"servlet.forward": "java-web-servlet-dispatcher",
"spring.handler": "spring-web-controller",
"servlet.response": "java-web-servlet-response",
},
"resteasy-netty3": {"netty.request": ["netty", "jax-rs"], "jax-rs.request": "jax-rs-controller",},
"akka-http": "akka-http-server",
"rails": {
Expand Down
4 changes: 3 additions & 1 deletion tests/test_standard_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def setup_method_trace(self):
self.trace_request = weblog.trace("/waf", data=None)

@irrelevant(library="php", reason="Trace method does not reach php-land")
@bug(weblog_variant="spring-boot-payara", reason="This weblog variant is currently not accepting TRACE")
def test_method_trace(self):
interfaces.library.add_span_tag_validation(request=self.trace_request, tags={"http.method": "TRACE"})

Expand Down Expand Up @@ -174,7 +175,8 @@ def test_route(self):
@released(dotnet="2.26.0", golang="1.46.0", java="0.114.0")
@released(nodejs="3.6.0", php_appsec="0.4.4", python="1.5.0", ruby="1.10.1")
@missing_feature(weblog_variant="akka-http", reason="No AppSec support")
@missing_feature(context.weblog_variant == "spring-boot-3-native", reason="GraalVM. Tracing support only")
@missing_feature(weblog_variant="spring-boot-payara", reason="No AppSec support")
@missing_feature(weblog_variant="spring-boot-3-native", reason="GraalVM. Tracing support only")
@coverage.basic
class Test_StandardTagsClientIp:
"""Tests to verify that libraries annotate spans with correct http.client_ip tags"""
Expand Down
4 changes: 4 additions & 0 deletions utils/build/docker/java/app-payara.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
set -eu
# shellcheck disable=SC2086
exec java -Xmx362m -javaagent:/app/dd-java-agent.jar -jar /app/payara-micro.jar --deploy /app/app.war ${APP_EXTRA_ARGS:-}
Loading