diff --git a/api/src/main/java/com/google/appengine/api/datastore/QueryRunnerV3.java b/api/src/main/java/com/google/appengine/api/datastore/QueryRunnerV3.java index 02d59ec15..e415844bf 100644 --- a/api/src/main/java/com/google/appengine/api/datastore/QueryRunnerV3.java +++ b/api/src/main/java/com/google/appengine/api/datastore/QueryRunnerV3.java @@ -50,7 +50,7 @@ public QueryResultsSource runQuery(FetchOptions fetchOptions, Query query, Trans Future result = DatastoreApiHelper.makeAsyncCall( - apiConfig, Method.RunQuery, queryProto.build(), DatastoreV3Pb.QueryResult.newBuilder().build()); + apiConfig, Method.RunQuery, queryProto.build(), DatastoreV3Pb.QueryResult.newBuilder().buildPartial()); // Adding more info to DatastoreNeedIndexException if thrown result = diff --git a/api_dev/src/main/java/com/google/appengine/api/datastore/dev/PseudoKinds.java b/api_dev/src/main/java/com/google/appengine/api/datastore/dev/PseudoKinds.java index d43d17183..e2db9cac1 100644 --- a/api_dev/src/main/java/com/google/appengine/api/datastore/dev/PseudoKinds.java +++ b/api_dev/src/main/java/com/google/appengine/api/datastore/dev/PseudoKinds.java @@ -38,7 +38,7 @@ */ class PseudoKinds { // Marker to indicate get() was not called on a pseudo-kind - static final EntityProto NOT_A_PSEUDO_KIND = EntityProto.newBuilder().build(); + static final EntityProto NOT_A_PSEUDO_KIND = EntityProto.newBuilder().buildPartial(); // Key is kind name private final Map pseudoKinds; diff --git a/appengine-api-1.0-sdk/pom.xml b/appengine-api-1.0-sdk/pom.xml index 203a8408f..46b24a4a0 100644 --- a/appengine-api-1.0-sdk/pom.xml +++ b/appengine-api-1.0-sdk/pom.xml @@ -366,40 +366,10 @@ com.google.appengine:protos - com/google/appengine/api/** - com/google/apphosting/api/** - com/google/apphosting/datastore/proto2api/** - com/google/apphosting/base/protos/Codes* - com/google/apphosting/base/protos/SourcePb* - com/google/apphosting/base/protos/api/ApiBasePb* - com/google/apphosting/base/protos/api/RemoteApiPb* - com/google/protos/proto2/bridge/* - com/google/storage/onestore/v3/proto2api/* - com/google/apphosting/executor/* - - - - com.google.appengine:proto1 - - com/google/appengine/api/taskqueue/* - com/google/apphosting/datastore/** - com/google/apphosting/utils/remoteapi/* - com/google/common/annotations/GoogleInternal* - com/google/common/base/StringUtil* - com/google/common/util/concurrent/internal/* - com/google/common/flags/* - com/google/common/flags/ext/* - com/google/io/base/** - com/google/io/protocol/** - com/google/protobuf/** - com/google/storage/onestore/v3/OnestoreAction* - com/google/storage/onestore/v3/OnestoreEntity* - com/google/storage/onestore/v3/OnestoreSnapshot* - com/google/storage/onestore/v3/proto2api/OnestoreAction* - com/google/storage/onestore/v3/proto2api/OnestoreEntity* - com/google/storage/onestore/v3/proto2api/OnestoreSnapshot* + com/** + com.google.appengine:runtime-shared @@ -487,7 +457,6 @@ com.google.appengine:appengine-apis:* com.google.appengine:appengine-utils:* com.google.appengine:geronimo-javamail_1.4_spec:* - com.google.appengine:proto1:* com.google.appengine:protos:* com.google.appengine:runtime-shared:* com.google.cloud.datastore:datastore-v1-proto-client:* diff --git a/lib/tools_api/pom.xml b/lib/tools_api/pom.xml index 04224f713..9286bad64 100644 --- a/lib/tools_api/pom.xml +++ b/lib/tools_api/pom.xml @@ -193,16 +193,7 @@ com/google/appengine/tools/util/** - - com.google.appengine:proto1:* - - com/google/common/annotations/GoogleInternal* - com/google/common/base/StringUtil* - com/google/common/util/concurrent/internal/* - com/google/common/flags/* - com/google/protobuf/** - - + com.google.protobuf:protobuf-java @@ -294,7 +285,6 @@ com.google.appengine:appengine-apis-dev com.google.appengine:shared-sdk com.google.appengine:protos - com.google.appengine:proto1:* com.google.appengine:appengine-utils com.google.flogger:google-extensions com.google.flogger:flogger-system-backend diff --git a/lib/tools_api/src/main/java/com/google/appengine/tools/JarSplitterMain.java b/lib/tools_api/src/main/java/com/google/appengine/tools/JarSplitterMain.java deleted file mode 100644 index e38c49651..000000000 --- a/lib/tools_api/src/main/java/com/google/appengine/tools/JarSplitterMain.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2021 Google LLC - * - * Licensed 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 - * - * https://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. - */ - -package com.google.appengine.tools; - -import com.google.appengine.tools.util.JarSplitter; -import com.google.common.flags.Flag; -import com.google.common.flags.FlagSpec; -import com.google.common.flags.Flags; -import java.io.File; -import java.io.IOException; -import java.util.Set; - -/** - * Simple utility that splits a large jar file into one or more jar - * files that are each less than the file size specified with - * --max_file_size. - * - * This class strips out jar index files. It does not, however, - * ensure that resource or META-INF files are directed to the - * appropriate jar file. It's unclear whether this will cause - * problems or not. - * - * UPDATE to the lack of clarity: It is now clear that this will - * cause problems. Some frameworks (datanucleus in particular) - * make assumptions about the colocation of well-known files - * and the manifest in the same jar. Splitting the jar - * violates these assumptions. - * - * Usage: - *
- *   JarSplitter --input_jar=MyProject_deploy.jar \
- *               --output_directory=./lib \
- *               --max_file_size=10000000 \
- *               --replicate_manifests=false \
- *               --exclude_suffixes=.so,.dll
- *
- */
-public class JarSplitterMain {
-  @FlagSpec(
-      help = "The maximum file for each output jar file.",
-      name = "max_file_size",
-      altName = "MAX_FILE_SIZE")
-  public static final Flag MAX_FILE_SIZE = Flag.value(10 * 1024 * 1024);
-
-  @FlagSpec(help = "The input jar file.", name = "input_jar", altName = "INPUT_JAR")
-  public static final Flag INPUT_JAR = Flag.value("input.jar");
-
-  @FlagSpec(
-      help = "The directory where output jars will be written.",
-      name = "output_directory",
-      altName = "OUTPUT_DIRECTORY")
-  public static final Flag OUTPUT_DIRECTORY = Flag.value(".");
-
-  @FlagSpec(
-      help = "The number of digits used for the output files.",
-      name = "output_digits",
-      altName = "OUTPUT_DIGITS")
-  public static final Flag OUTPUT_DIGITS = Flag.value(4);
-
-  @FlagSpec(
-      help =
-          "Whether or not manifests are replicated across all split jars.  If false, manifests are"
-              + " ignored.",
-      name = "replicate_manifests",
-      altName = "REPLICATE_MANIFESTS")
-  public static final Flag REPLICATE_MANIFESTS = Flag.value(Boolean.FALSE);
-
-  @FlagSpec(
-      help = "A set of filename suffixes that will be excluded from all jars",
-      name = "exclude_suffixes",
-      altName = "EXCLUDE_SUFFIXES")
-  public static final Flag> EXCLUDE_SUFFIXES = Flag.stringSet();
-
-  public static void main(String[] args) throws IOException {
-    args = Flags.parseAndReturnLeftovers(args);
-
-    JarSplitter splitter = new JarSplitter(new File(INPUT_JAR.get()),
-                                           new File(OUTPUT_DIRECTORY.get()),
-                                           MAX_FILE_SIZE.get(),
-                                           REPLICATE_MANIFESTS.get(),
-                                           OUTPUT_DIGITS.get(),
-                                           EXCLUDE_SUFFIXES.get());
-    splitter.run();
-  }
-}
diff --git a/pom.xml b/pom.xml
index 6de46b092..e7d0ba1bd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -347,15 +347,10 @@
         httpcore-nio
         4.4.16
       
-      
-        com.google.appengine
-        proto1
-        0.7
-      
       
         com.google.cloud.datastore
         datastore-v1-proto-client
-        2.18.2 
+        2.22.0
       
       
         com.google.geometry
@@ -418,12 +413,12 @@
       
         com.google.api.grpc
         proto-google-cloud-datastore-v1
-        0.108.5   
+        0.112.1 
       
       
         com.google.api.grpc
         proto-google-common-protos
-        2.32.0 
+        2.46.0 
       
       
         com.google.code.findbugs
@@ -475,12 +470,12 @@
       
         com.google.protobuf
         protobuf-java
-        3.25.1 
+        3.25.5
       
       
         com.google.protobuf
         protobuf-java-util
-        3.25.1 
+        3.25.5
       
       
         javax.activation
@@ -851,7 +846,7 @@
                  https://github.com/protocolbuffers/protobuf/blob/master/java/pom.xml#L7
                  Read https://github.com/os72/protoc-jar-maven-plugin/issues/107 for context.
              -->
-             3.25.1
+             3.25.5
           
         
         
diff --git a/runtime/impl/pom.xml b/runtime/impl/pom.xml
index 600365f6b..d021dba40 100644
--- a/runtime/impl/pom.xml
+++ b/runtime/impl/pom.xml
@@ -222,11 +222,6 @@
             appengine-tools-sdk
             test
         
-        
-            com.google.appengine
-            proto1
-            true
-        
         
            javax.activation
            activation
diff --git a/runtime/local_jetty12/pom.xml b/runtime/local_jetty12/pom.xml
index 6de32af57..66cb61343 100644
--- a/runtime/local_jetty12/pom.xml
+++ b/runtime/local_jetty12/pom.xml
@@ -73,10 +73,6 @@
       com.google.protobuf
       protobuf-java
    
-    
-      com.google.appengine
-      proto1
-    
     
       org.eclipse.jetty.ee8
       jetty-ee8-webapp
@@ -251,18 +247,6 @@
                     com/google/appengine/tools/development/proto/**
                   
                 
-                
-                  com.google.appengine:proto1:*
-                  
-                    com/google/common/flags/*
-                    com/google/common/flags/ext/*
-                    com/google/io/protocol/**
-                    com/google/protobuf/**
-                  
-                  
-                    com/google/io/protocol/proto2/*
-                  
-                
                 
                   com.google.appengine:shared-sdk-jetty12:*
                   
diff --git a/runtime/local_jetty12_ee10/pom.xml b/runtime/local_jetty12_ee10/pom.xml
index 49be12bd6..09c8ddbaa 100644
--- a/runtime/local_jetty12_ee10/pom.xml
+++ b/runtime/local_jetty12_ee10/pom.xml
@@ -73,10 +73,6 @@
       com.google.protobuf
       protobuf-java
    
-    
-      com.google.appengine
-      proto1
-    
     
       org.eclipse.jetty.ee10
       jetty-ee10-webapp
diff --git a/runtime/local_jetty9/pom.xml b/runtime/local_jetty9/pom.xml
index f309bea1b..4d0777033 100644
--- a/runtime/local_jetty9/pom.xml
+++ b/runtime/local_jetty9/pom.xml
@@ -68,10 +68,6 @@
       com.google.protobuf
       protobuf-java
    
-    
-      com.google.appengine
-      proto1
-    
     
       org.eclipse.jetty
       jetty-webapp
@@ -187,18 +183,6 @@
                     com/google/appengine/tools/development/proto/**
                   
                 
-                
-                  com.google.appengine:proto1:*
-                  
-                    com/google/common/flags/*
-                    com/google/common/flags/ext/*
-                    com/google/io/protocol/**
-                    com/google/protobuf/**
-                  
-                  
-                    com/google/io/protocol/proto2/*
-                  
-                
                 
                   com.google.appengine:shared-sdk-jetty9:*
                   
diff --git a/runtime/runtime_impl_jetty12/pom.xml b/runtime/runtime_impl_jetty12/pom.xml
index 000f1927d..10ca56c32 100644
--- a/runtime/runtime_impl_jetty12/pom.xml
+++ b/runtime/runtime_impl_jetty12/pom.xml
@@ -287,11 +287,6 @@
       
 
 
-        
-            com.google.appengine
-            proto1
-            true
-        
         
            javax.activation
            activation
@@ -401,28 +396,7 @@
                                 
                                     com.google.appengine:protos
                                     
-                                        com/google/apphosting/api/**
-                                        com/google/apphosting/base/protos/*
-                                        com/google/apphosting/base/protos/api/*
-                                        com/google/apphosting/datastore/proto2api/**
-                                        com/google/cloud/datastore/logs/*
-                                        com/google/storage/onestore/v3/proto2api/*
-                                        com/google/appengine/api/appidentity/*
-                                        com/google/appengine/api/datastore/*
-                                        com/google/appengine/api/memcache/*
-                                        com/google/appengine/api/oauth/*
-                                        com/google/appengine/api/taskqueue/*
-                                        com/google/appengine/api/urlfetch/*
-                                        com/google/appengine/api/users/*
-                                        com/google/appengine/api/utils/*
-                                        com/google/apphosting/datastore/proto2api/**
-                                        com/google/apphosting/base/protos/Codes*
-                                        com/google/apphosting/base/protos/SourcePb*
-                                        com/google/apphosting/base/protos/api/ApiBasePb*
-                                        com/google/apphosting/base/protos/api/RemoteApiPb*
-                                        com/google/protos/proto2/bridge/*
-                                        com/google/storage/onestore/v3/proto2api/*
-                                        com/google/apphosting/executor/*
+                                        com/**
                                   
                                 
                                   
@@ -501,7 +475,6 @@
                                     com.google.api.grpc:proto-google-common-protos
                                     com.google.appengine:appengine-utils
                                     com.google.appengine:runtime-impl
-                                    com.google.appengine:proto1
                                     com.google.appengine:protos
                                     com.google.appengine:runtime-util
                                     com.google.appengine:appengine-apis
diff --git a/runtime/runtime_impl_jetty9/pom.xml b/runtime/runtime_impl_jetty9/pom.xml
index 87d03f2b6..4d7c95c49 100644
--- a/runtime/runtime_impl_jetty9/pom.xml
+++ b/runtime/runtime_impl_jetty9/pom.xml
@@ -253,11 +253,6 @@
             true
         
         
-        
-            com.google.appengine
-            proto1
-            true
-        
         
            javax.activation
            activation
@@ -406,7 +401,6 @@
                                     com.google.api.grpc:proto-google-common-protos
                                     com.google.appengine:appengine-utils
                                     com.google.appengine:runtime-impl
-                                    com.google.appengine:proto1
                                     com.google.appengine:protos
                                     com.google.appengine:runtime-util
                                     com.google.appengine:appengine-apis