File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
lib/java_buildpack/framework
spec/java_buildpack/framework Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def initialize(context)
4141 '/iast/compilation/download/JAVA'
4242 end
4343
44- @logger = JavaBuildpack ::Logging ::LoggerFactory . instance . get_logger DynatraceOneAgent
44+ @logger = JavaBuildpack ::Logging ::LoggerFactory . instance . get_logger CheckmarxIastAgent
4545 end
4646
4747 # (see JavaBuildpack::Component::BaseComponent#compile)
@@ -66,12 +66,12 @@ def release
6666 team = ENV [ 'cxTeam' ] || 'CxServer'
6767
6868 @droplet . java_opts
69- . add_javaagent ( @droplet . sandbox + 'cx-launcher.jar' )
70- . add_preformatted_options ( '-Xverify:none' )
71- . add_system_property ( 'cx.logToConsole' , 'true' )
72- . add_system_property ( 'cx.appName' , application_name )
73- . add_system_property ( 'cxAppTag' , app_tag )
74- . add_system_property ( 'cxTeam' , team )
69+ . add_javaagent ( @droplet . sandbox + 'cx-launcher.jar' )
70+ . add_preformatted_options ( '-Xverify:none' )
71+ . add_system_property ( 'cx.logToConsole' , 'true' )
72+ . add_system_property ( 'cx.appName' , application_name )
73+ . add_system_property ( 'cxAppTag' , app_tag )
74+ . add_system_property ( 'cxTeam' , team )
7575 end
7676
7777 protected
Original file line number Diff line number Diff line change 3333 allow ( services ) . to receive ( :find_service ) . and_return ( 'credentials' => { 'server' => 'test-server' } )
3434
3535 allow ( application_cache ) . to receive ( :get )
36- . with ( 'test-server/iast/compilation/download/JAVA' )
37- . and_yield ( Pathname . new ( 'spec/fixtures/stub-checkmarx-agent.zip' ) . open , false )
36+ . with ( 'test-server/iast/compilation/download/JAVA' )
37+ . and_yield ( Pathname . new ( 'spec/fixtures/stub-checkmarx-agent.zip' ) . open , false )
3838 end
3939
4040 it 'detects with checkmarx-iast service' do
You can’t perform that action at this time.
0 commit comments