File tree 2 files changed +9
-9
lines changed
lib/java_buildpack/framework
spec/java_buildpack/framework
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def initialize(context)
41
41
'/iast/compilation/download/JAVA'
42
42
end
43
43
44
- @logger = JavaBuildpack ::Logging ::LoggerFactory . instance . get_logger DynatraceOneAgent
44
+ @logger = JavaBuildpack ::Logging ::LoggerFactory . instance . get_logger CheckmarxIastAgent
45
45
end
46
46
47
47
# (see JavaBuildpack::Component::BaseComponent#compile)
@@ -66,12 +66,12 @@ def release
66
66
team = ENV [ 'cxTeam' ] || 'CxServer'
67
67
68
68
@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 )
75
75
end
76
76
77
77
protected
Original file line number Diff line number Diff line change 33
33
allow ( services ) . to receive ( :find_service ) . and_return ( 'credentials' => { 'server' => 'test-server' } )
34
34
35
35
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 )
38
38
end
39
39
40
40
it 'detects with checkmarx-iast service' do
You can’t perform that action at this time.
0 commit comments