tkalkirill commented on code in PR #4468:
URL: https://github.com/apache/ignite-3/pull/4468#discussion_r1779451902


##########
modules/runner/src/integrationTest/java/org/apache/ignite/internal/app/Pojo.java:
##########
@@ -0,0 +1,69 @@
+/*
+ * 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.
+ */
+
+package org.apache.ignite.internal.app;
+
+import org.apache.ignite.catalog.annotations.Column;
+import org.apache.ignite.catalog.annotations.Id;
+import org.apache.ignite.catalog.annotations.Table;
+
+/**
+ * A POJO class representing the whole record.
+ */

Review Comment:
   ```suggestion
   /** A POJO class representing the whole record. */
   ```



##########
modules/runner/src/integrationTest/java/org/apache/ignite/internal/app/PojoValue.java:
##########
@@ -0,0 +1,60 @@
+/*
+ * 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.
+ */
+
+package org.apache.ignite.internal.app;
+
+import static 
org.apache.ignite.internal.app.PojoValue.POJO_KEY_VALUE_TABLE_NAME;
+
+import org.apache.ignite.catalog.annotations.Column;
+import org.apache.ignite.catalog.annotations.Table;
+
+/**
+ * A POJO class representing just value (i.e. everything except key) columns 
of a table.
+ */

Review Comment:
   ```suggestion
   /** A POJO class representing just value (i.e. everything except key) 
columns of a table. */
   ```



##########
modules/runner/src/integrationTest/java/org/apache/ignite/internal/app/PojoKey.java:
##########
@@ -0,0 +1,54 @@
+/*
+ * 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.
+ */
+
+package org.apache.ignite.internal.app;
+
+import org.apache.ignite.catalog.annotations.Id;
+
+/**
+ * A POJO class representing just the key columns of a table.
+ */

Review Comment:
   ```suggestion
   /** A POJO class representing just the key columns of a table. */
   ```



##########
modules/runner/src/integrationTest/java/org/apache/ignite/internal/app/ApiReferencesTestUtils.java:
##########
@@ -30,4 +32,18 @@ class ApiReferencesTestUtils {
 
     static final String SELECT_IDS_QUERY = "SELECT id FROM " + TEST_TABLE_NAME;
     static final String UPDATE_QUERY = "UPDATE " + TEST_TABLE_NAME + " SET val 
= val WHERE id = ?";
+
+    static TableDefinition tableDefinition() {
+        return TableDefinition.builder("def_table")
+                .record(Pojo.class)
+                .ifNotExists()
+                .build();
+    }
+
+    static ZoneDefinition zoneDefinition() {
+        return ZoneDefinition.builder("zone")
+                .storageProfiles("default")

Review Comment:
   Maybe use 
`org.apache.ignite.internal.catalog.CatalogService#DEFAULT_STORAGE_PROFILE` ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to