This is an automated email from the ASF dual-hosted git repository.
wu-sheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git
The following commit(s) were added to refs/heads/master by this push:
new 4c22bbc ui: remove ui-configuration.graphqls — template CRUD moves to
REST (#162)
4c22bbc is described below
commit 4c22bbc6fdf91c7de5fd463ccbe7907aee99641c
Author: 吴晟 Wu Sheng <[email protected]>
AuthorDate: Mon May 18 22:31:12 2026 +0800
ui: remove ui-configuration.graphqls — template CRUD moves to REST (#162)
apache/skywalking 11.0.0 introduces a `ui-management` feature module
that mounts on the admin-server REST host and serves dashboard template
CRUD over HTTP at `/ui-management/templates/*` (UIManagementRestHandler).
The GraphQL UIConfigurationManagement resolver is removed in the same
release, leaving every type declared in this file (DashboardConfiguration,
NewDashboardSetting, DashboardSetting, TemplateChangeStatus,
getTemplate, getAllTemplates, addTemplate, changeTemplate,
disableTemplate) without a resolver. Delete the file rather than ship
schema entries that no backend honors.
---
ui-configuration.graphqls | 57 -----------------------------------------------
1 file changed, 57 deletions(-)
diff --git a/ui-configuration.graphqls b/ui-configuration.graphqls
deleted file mode 100644
index bb0d3ff..0000000
--- a/ui-configuration.graphqls
+++ /dev/null
@@ -1,57 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Dashboard Configuration provides the management capabilities for SkyWalking
native UI.
-
-type DashboardConfiguration {
- # ID is a generated UUID.
- id: String!
- # JSON based configuration. The format of text is the export result on the
UI page.
- configuration: String!
-}
-
-extend type Query {
- # Read an existing UI template according to given id.
- getTemplate(id: String!): DashboardConfiguration
- # Read all configuration templates。
- getAllTemplates: [DashboardConfiguration!]!
-}
-
-# Used for add new template
-input NewDashboardSetting {
- # JSON based configuration. The format of text is the export result on the
UI page.
- configuration: String!
-}
-
-input DashboardSetting {
- id: String!
- # JSON based configuration. The format of text is the export result on the
UI page.
- configuration: String!
-}
-
-type TemplateChangeStatus {
- id: String!
- # True means change successfully.
- status: Boolean!
- message: String
-}
-
-# Template Management page provides the creation, update and deletion for the
different template typs.
-extend type Mutation {
- addTemplate(setting: NewDashboardSetting!): TemplateChangeStatus!
- changeTemplate(setting: DashboardSetting!): TemplateChangeStatus!
- disableTemplate(id: String!): TemplateChangeStatus!
-}