From ec2abe6c0ea226be545c0f3da213bce845fac1b8 Mon Sep 17 00:00:00 2001 From: Jason Plumb Date: Wed, 13 Dec 2023 09:14:05 -0800 Subject: [PATCH 1/2] change http url targets --- .../main/java/com/splunk/android/sample/FirstFragment.java | 4 ++-- .../main/java/com/splunk/android/sample/VolleyExample.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sample-app/src/main/java/com/splunk/android/sample/FirstFragment.java b/sample-app/src/main/java/com/splunk/android/sample/FirstFragment.java index 0931f939..43ebb9a7 100644 --- a/sample-app/src/main/java/com/splunk/android/sample/FirstFragment.java +++ b/sample-app/src/main/java/com/splunk/android/sample/FirstFragment.java @@ -87,7 +87,7 @@ public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { v -> { Span workflow = splunkRum.startWorkflow("User Login"); // not really a login, but it does make an http call - makeCall("https://pmrum.o11ystore.com?user=me&pass=secret123secret", workflow); + makeCall("https://frontend-us.o11ystore.com/?user=me&pass=secret123secret", workflow); // maybe this call gave us a real customer id, so let's put it into the global // attributes splunkRum.setGlobalAttribute(longKey("customerId"), 123456L); @@ -100,7 +100,7 @@ public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { binding.httpMeNotFound.setOnClickListener( v -> { Span workflow = splunkRum.startWorkflow("Workflow with 404"); - makeCall("https://pmrum.o11ystore.com/foobarbaz", workflow); + makeCall("https://frontend-us.o11ystore.com/foobarbaz", workflow); }); binding.volleyRequest.setOnClickListener( diff --git a/sample-app/src/main/java/com/splunk/android/sample/VolleyExample.java b/sample-app/src/main/java/com/splunk/android/sample/VolleyExample.java index f1f4ae50..447f03b2 100644 --- a/sample-app/src/main/java/com/splunk/android/sample/VolleyExample.java +++ b/sample-app/src/main/java/com/splunk/android/sample/VolleyExample.java @@ -41,7 +41,7 @@ */ public class VolleyExample { - private static final String URL = "https://pmrum.o11ystore.com?user=me&pass=secret123secret"; + private static final String URL = "https://frontend-us.o11ystore.com?user=me&pass=secret123secret"; private final SplunkRum splunkRum; public VolleyExample(SplunkRum splunkRum) { From 0042e4bf5ab2c00b3628ecda8ef16eea2e01b8f0 Mon Sep 17 00:00:00 2001 From: Jason Plumb Date: Wed, 13 Dec 2023 09:23:29 -0800 Subject: [PATCH 2/2] spotless --- .../main/java/com/splunk/android/sample/FirstFragment.java | 4 +++- .../main/java/com/splunk/android/sample/VolleyExample.java | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sample-app/src/main/java/com/splunk/android/sample/FirstFragment.java b/sample-app/src/main/java/com/splunk/android/sample/FirstFragment.java index 43ebb9a7..9ff86544 100644 --- a/sample-app/src/main/java/com/splunk/android/sample/FirstFragment.java +++ b/sample-app/src/main/java/com/splunk/android/sample/FirstFragment.java @@ -87,7 +87,9 @@ public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { v -> { Span workflow = splunkRum.startWorkflow("User Login"); // not really a login, but it does make an http call - makeCall("https://frontend-us.o11ystore.com/?user=me&pass=secret123secret", workflow); + makeCall( + "https://frontend-us.o11ystore.com/?user=me&pass=secret123secret", + workflow); // maybe this call gave us a real customer id, so let's put it into the global // attributes splunkRum.setGlobalAttribute(longKey("customerId"), 123456L); diff --git a/sample-app/src/main/java/com/splunk/android/sample/VolleyExample.java b/sample-app/src/main/java/com/splunk/android/sample/VolleyExample.java index 447f03b2..94413a77 100644 --- a/sample-app/src/main/java/com/splunk/android/sample/VolleyExample.java +++ b/sample-app/src/main/java/com/splunk/android/sample/VolleyExample.java @@ -41,7 +41,8 @@ */ public class VolleyExample { - private static final String URL = "https://frontend-us.o11ystore.com?user=me&pass=secret123secret"; + private static final String URL = + "https://frontend-us.o11ystore.com?user=me&pass=secret123secret"; private final SplunkRum splunkRum; public VolleyExample(SplunkRum splunkRum) {