You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/09/07 03:14:27 UTC

[skywalking] branch compress updated (54f97f7 -> 46e795f)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a change to branch compress
in repository https://gitbox.apache.org/repos/asf/skywalking.git.


 discard 54f97f7  Bump up commons-compress version and polish LAL debug error message
 discard eb19b3e  Revert "Gradle"
 discard 2640c55  Gradle
     new 46e795f  Bump up commons-compress version and polish LAL debug error message

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (54f97f7)
            \
             N -- N -- N   refs/heads/compress (46e795f)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:

[skywalking] 01/01: Bump up commons-compress version and polish LAL debug error message

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch compress
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 46e795f4b7d83078bf1f71da7a8619f7647d47d6
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Tue Sep 7 11:11:40 2021 +0800

    Bump up commons-compress version and polish LAL debug error message
---
 oap-server-bom/pom.xml                                              | 6 ++++++
 .../apache/skywalking/oap/query/graphql/resolver/LogTestQuery.java  | 4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/oap-server-bom/pom.xml b/oap-server-bom/pom.xml
index ae8fc09..36a9390 100644
--- a/oap-server-bom/pom.xml
+++ b/oap-server-bom/pom.xml
@@ -76,6 +76,7 @@
         <armeria.version>1.11.0</armeria.version>
         <awaitility.version>3.0.0</awaitility.version>
         <httpcore.version>4.4.13</httpcore.version>
+        <commons-compress.version>1.21</commons-compress.version>
     </properties>
 
     <dependencyManagement>
@@ -533,6 +534,11 @@
                 <version>${awaitility.version}</version>
                 <scope>test</scope>
             </dependency>
+             <dependency>
+                <groupId>org.apache.commons</groupId>
+                <artifactId>commons-compress</artifactId>
+                <version>${commons-compress.version}</version>
+             </dependency>
         </dependencies>
     </dependencyManagement>
 </project>
diff --git a/oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/resolver/LogTestQuery.java b/oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/resolver/LogTestQuery.java
index e71916e..527ff9c 100644
--- a/oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/resolver/LogTestQuery.java
+++ b/oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/resolver/LogTestQuery.java
@@ -53,7 +53,9 @@ public class LogTestQuery implements GraphQLQueryResolver {
 
     public LogTestResponse test(LogTestRequest request) throws Exception {
         if (!config.isEnableLogTestTool()) {
-            throw new IllegalAccessException("LAL debug tool is not enabled");
+            throw new IllegalAccessException(
+                "LAL debug tool is not enabled. To enable, please set SW_QUERY_GRAPHQL_ENABLE_LOG_TEST_TOOL=true," +
+                    "for more details, refer to https://skywalking.apache.org/docs/main/latest/en/setup/backend/configuration-vocabulary/");
         }
 
         requireNonNull(request, "request");