Skip to content

Conversation

spinillos
Copy link
Member

It updates foundation-sdk submodule to have the latest version.

@spinillos spinillos requested a review from a team as a code owner July 21, 2025 14:32
Copy link

Note: the diff show code changes that would be introduced by this PR to the output of the config/foundation_sdk.dev.yaml codegen pipeline (dev version of the Foundation SDK).

🔎 Changes to config/foundation_sdk.dev.yaml

diff --new-file --unidirectional-new-file '--color=never' --unified --recursive '--exclude=.git' '--exclude=gradle.properties' '--exclude=pyproject.toml' '--exclude=package.json' '--exclude=*.md' /tmp/foundation-workspace-main/foundation-sdk/go/dashboard/dashboard_builder_gen.go /tmp/foundation-workspace-current/foundation-sdk/go/dashboard/dashboard_builder_gen.go
--- /tmp/foundation-workspace-main/foundation-sdk/go/dashboard/dashboard_builder_gen.go	2025-07-21 14:36:07.927090335 +0000
+++ /tmp/foundation-workspace-current/foundation-sdk/go/dashboard/dashboard_builder_gen.go	2025-07-21 14:35:30.954232403 +0000
@@ -257,6 +257,11 @@
 
 	// Position the row's panels on the grid
 	for _, panel := range rowPanelResource.Panels {
+		// If the panel does not have a GridPos set, set it to the default one.
+		if panel.GridPos == nil {
+			panel.GridPos = NewGridPos()
+		}
+
 		// The panel either has no position set, or it is the first panel of the dashboard.
 		// In that case, we position it on the grid
 		if panel.GridPos.X == 0 && panel.GridPos.Y == 0 {
diff --new-file --unidirectional-new-file '--color=never' --unified --recursive '--exclude=.git' '--exclude=gradle.properties' '--exclude=pyproject.toml' '--exclude=package.json' '--exclude=*.md' /tmp/foundation-workspace-main/foundation-sdk/java/build.gradle /tmp/foundation-workspace-current/foundation-sdk/java/build.gradle
--- /tmp/foundation-workspace-main/foundation-sdk/java/build.gradle	2025-07-21 14:36:08.182089264 +0000
+++ /tmp/foundation-workspace-current/foundation-sdk/java/build.gradle	2025-07-21 14:35:31.209231381 +0000
@@ -2,7 +2,7 @@
     id 'java'
     id 'maven-publish'
     id 'signing'
-    id 'com.github.johnrengelman.shadow' version '8.1.1'
+    id 'com.gradleup.shadow' version '8.3.6'
 }
 
 group = "com.grafana"
@@ -19,6 +19,7 @@
 shadowJar {
     // allows maven to read the artifact (by default, it's "plain")
     archiveClassifier.set('')
+    relocate 'com.fasterxml.jackson', 'com.grafana.relocated.jackson'
 }
 
 allprojects {
@@ -35,7 +36,7 @@
 }
 
 dependencies {
-    implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.1'
+    implementation 'com.fasterxml.jackson.core:jackson-databind:2.19.1'
 }
 
 tasks.withType(Javadoc).configureEach {
diff --new-file --unidirectional-new-file '--color=never' --unified --recursive '--exclude=.git' '--exclude=gradle.properties' '--exclude=pyproject.toml' '--exclude=package.json' '--exclude=*.md' /tmp/foundation-workspace-main/foundation-sdk/java/src/main/java/com/grafana/foundation/alerting/QueryDeserializer.java /tmp/foundation-workspace-current/foundation-sdk/java/src/main/java/com/grafana/foundation/alerting/QueryDeserializer.java
--- /tmp/foundation-workspace-main/foundation-sdk/java/src/main/java/com/grafana/foundation/alerting/QueryDeserializer.java	2025-07-21 14:36:08.184089255 +0000
+++ /tmp/foundation-workspace-current/foundation-sdk/java/src/main/java/com/grafana/foundation/alerting/QueryDeserializer.java	2025-07-21 14:35:31.210231377 +0000
@@ -17,6 +17,7 @@
 
 import com.grafana.foundation.cog.variants.Dataquery;
 import com.grafana.foundation.cog.variants.Registry;
+import com.grafana.foundation.dashboard.DataSourceRef;
 import com.grafana.foundation.cog.variants.PanelConfig;
 
 
diff --new-file --unidirectional-new-file '--color=never' --unified --recursive '--exclude=.git' '--exclude=gradle.properties' '--exclude=pyproject.toml' '--exclude=package.json' '--exclude=*.md' /tmp/foundation-workspace-main/foundation-sdk/java/src/main/java/com/grafana/foundation/azuremonitor/BuilderQueryEditorOperatorTypeDeserializer.java /tmp/foundation-workspace-current/foundation-sdk/java/src/main/java/com/grafana/foundation/azuremonitor/BuilderQueryEditorOperatorTypeDeserializer.java
--- /tmp/foundation-workspace-main/foundation-sdk/java/src/main/java/com/grafana/foundation/azuremonitor/BuilderQueryEditorOperatorTypeDeserializer.java	2025-07-21 14:36:08.186089247 +0000
+++ /tmp/foundation-workspace-current/foundation-sdk/java/src/main/java/com/grafana/foundation/azuremonitor/BuilderQueryEditorOperatorTypeDeserializer.java	2025-07-21 14:35:31.213231365 +0000
@@ -17,6 +17,7 @@
 
 import com.grafana.foundation.cog.variants.Dataquery;
 import com.grafana.foundation.cog.variants.Registry;
+import com.grafana.foundation.dashboard.DataSourceRef;
 import com.grafana.foundation.cog.variants.PanelConfig;
 
 
diff --new-file --unidirectional-new-file '--color=never' --unified --recursive '--exclude=.git' '--exclude=gradle.properties' '--exclude=pyproject.toml' '--exclude=package.json' '--exclude=*.md' /tmp/foundation-workspace-main/foundation-sdk/java/src/main/java/com/grafana/foundation/dashboard/PanelDeserializer.java /tmp/foundation-workspace-current/foundation-sdk/java/src/main/java/com/grafana/foundation/dashboard/PanelDeserializer.java
--- /tmp/foundation-workspace-main/foundation-sdk/java/src/main/java/com/grafana/foundation/dashboard/PanelDeserializer.java	2025-07-21 14:36:08.199089192 +0000
+++ /tmp/foundation-workspace-current/foundation-sdk/java/src/main/java/com/grafana/foundation/dashboard/PanelDeserializer.java	2025-07-21 14:35:31.227231309 +0000
@@ -17,6 +17,7 @@
 
 import com.grafana.foundation.cog.variants.Dataquery;
 import com.grafana.foundation.cog.variants.Registry;
+import com.grafana.foundation.dashboard.DataSourceRef;
 import com.grafana.foundation.cog.variants.PanelConfig;
 
 
diff --new-file --unidirectional-new-file '--color=never' --unified --recursive '--exclude=.git' '--exclude=gradle.properties' '--exclude=pyproject.toml' '--exclude=package.json' '--exclude=*.md' /tmp/foundation-workspace-main/foundation-sdk/java/src/main/java/com/grafana/foundation/elasticsearch/InlineScriptDeserializer.java /tmp/foundation-workspace-current/foundation-sdk/java/src/main/java/com/grafana/foundation/elasticsearch/InlineScriptDeserializer.java
--- /tmp/foundation-workspace-main/foundation-sdk/java/src/main/java/com/grafana/foundation/elasticsearch/InlineScriptDeserializer.java	2025-07-21 14:36:08.205089167 +0000
+++ /tmp/foundation-workspace-current/foundation-sdk/java/src/main/java/com/grafana/foundation/elasticsearch/InlineScriptDeserializer.java	2025-07-21 14:35:31.232231289 +0000
@@ -17,7 +17,6 @@
 
 import com.grafana.foundation.cog.variants.Dataquery;
 import com.grafana.foundation.cog.variants.Registry;
-import com.grafana.foundation.cog.variants.PanelConfig;
 import com.grafana.foundation.dashboard.DataSourceRef;
 
 
diff --new-file --unidirectional-new-file '--color=never' --unified --recursive '--exclude=.git' '--exclude=gradle.properties' '--exclude=pyproject.toml' '--exclude=package.json' '--exclude=*.md' /tmp/foundation-workspace-main/foundation-sdk/java/src/main/java/com/grafana/foundation/librarypanel/PanelModelDeserializer.java /tmp/foundation-workspace-current/foundation-sdk/java/src/main/java/com/grafana/foundation/librarypanel/PanelModelDeserializer.java
--- /tmp/foundation-workspace-main/foundation-sdk/java/src/main/java/com/grafana/foundation/librarypanel/PanelModelDeserializer.java	2025-07-21 14:36:08.212089137 +0000
+++ /tmp/foundation-workspace-current/foundation-sdk/java/src/main/java/com/grafana/foundation/librarypanel/PanelModelDeserializer.java	2025-07-21 14:35:31.240231257 +0000
@@ -17,7 +17,6 @@
 
 import com.grafana.foundation.cog.variants.Dataquery;
 import com.grafana.foundation.cog.variants.Registry;
-import com.grafana.foundation.cog.variants.PanelConfig;
 import com.grafana.foundation.dashboard.DataSourceRef;
 
 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant