lib/contrast/agent/reporting/reporting_utilities/endpoints.rb in contrast-agent-6.10.0 vs lib/contrast/agent/reporting/reporting_utilities/endpoints.rb in contrast-agent-6.11.0

- old
+ new

@@ -87,51 +87,51 @@ # Returns the URL needed to connect to endpoints in TeamServer required for application related information. # # @return [String] def application_endpoint - @_application_endpoint ||= "#{ Contrast::API.api_url }/agents#{ ENDPOINT_VERSION }/applications"\ + @_application_endpoint ||= "#{ Contrast::API.api_url }/agents#{ ENDPOINT_VERSION }/applications" \ "#{ server_path_segment }#{ application_path_segment }" end # Returns the URL needed to connect to endpoints in TeamServer required for route related information. # # @return [String] def route_endpoint - @_route_endpoint ||= "#{ Contrast::API.api_url }/agents#{ ENDPOINT_VERSION }/routes"\ + @_route_endpoint ||= "#{ Contrast::API.api_url }/agents#{ ENDPOINT_VERSION }/routes" \ "#{ server_path_segment }#{ application_path_segment }" end # Returns the URL needed to connect to endpoints in TeamServer required for server related information. # # @return [String] def server_endpoint - @_server_endpoint ||= "#{ Contrast::API.api_url }/agents#{ ENDPOINT_VERSION }/servers"\ + @_server_endpoint ||= "#{ Contrast::API.api_url }/agents#{ ENDPOINT_VERSION }/servers" \ "#{ server_path_segment }" end # Returns the URL needed to connect to endpoints in TeamServer required for trace/finding related information. # # @return [String] def trace_endpoint - @_trace_endpoint ||= "#{ Contrast::API.api_url }/agents#{ ENDPOINT_VERSION }/traces"\ + @_trace_endpoint ||= "#{ Contrast::API.api_url }/agents#{ ENDPOINT_VERSION }/traces" \ "#{ server_path_segment }#{ application_path_segment }" end # The server host, path, and type; required for endpoints that are server specific. # # @return [String] def server_path_segment - @_server_path_segment ||= "/#{ Base64.urlsafe_encode64(server_host_name, padding: false) }"\ - "/#{ Base64.urlsafe_encode64(server_path, padding: false) }"\ + @_server_path_segment ||= "/#{ Base64.urlsafe_encode64(server_host_name, padding: false) }" \ + "/#{ Base64.urlsafe_encode64(server_path, padding: false) }" \ "/#{ Base64.urlsafe_encode64(server_type, padding: false) }" end # The application language and name; required for endpoints that are application specific. # # @return [String] def application_path_segment - @_application_path_segment ||= "/#{ Base64.urlsafe_encode64(APP_LANGUAGE, padding: false) }"\ + @_application_path_segment ||= "/#{ Base64.urlsafe_encode64(APP_LANGUAGE, padding: false) }" \ "/#{ Base64.urlsafe_encode64(app_name, padding: false) }" end # @return [String,nil] def server_host_name