This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch CAUSEWAY-3676
in repository https://gitbox.apache.org/repos/asf/causeway.git
The following commit(s) were added to refs/heads/CAUSEWAY-3676 by this push:
new 48252c4420 CAUSEWAY-3676: renames some packages is all
48252c4420 is described below
commit 48252c44205052ad32ee1351054b164045555dc5
Author: danhaywood <[email protected]>
AuthorDate: Sat Jan 20 10:59:05 2024 +0000
CAUSEWAY-3676: renames some packages is all
---
.../graphql/viewer/src/main/java/module-info.java | 2 +-
.../integration/GraphQlSourceForCauseway.java | 2 +-
.../graphql/viewer/source/ObjectTypeFactory.java | 51 ----------------------
.../{source => toplevel}/GqlvTopLevelQuery.java | 2 +-
4 files changed, 3 insertions(+), 54 deletions(-)
diff --git a/incubator/viewers/graphql/viewer/src/main/java/module-info.java
b/incubator/viewers/graphql/viewer/src/main/java/module-info.java
index a1bf0e3120..c53d6f0e29 100644
--- a/incubator/viewers/graphql/viewer/src/main/java/module-info.java
+++ b/incubator/viewers/graphql/viewer/src/main/java/module-info.java
@@ -1,6 +1,6 @@
module org.apache.causeway.incubator.viewer.graphql.viewer {
exports org.apache.causeway.viewer.graphql.viewer;
- exports org.apache.causeway.viewer.graphql.viewer.source;
+ exports org.apache.causeway.viewer.graphql.viewer.toplevel;
exports org.apache.causeway.viewer.graphql.viewer.integration;
requires com.fasterxml.jackson.core;
diff --git
a/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/integration/GraphQlSourceForCauseway.java
b/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/integration/GraphQlSourceForCauseway.java
index 17215e4282..4d5617f1f9 100644
---
a/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/integration/GraphQlSourceForCauseway.java
+++
b/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/integration/GraphQlSourceForCauseway.java
@@ -39,7 +39,7 @@ import
org.apache.causeway.core.metamodel.spec.feature.MixedIn;
import org.apache.causeway.core.metamodel.spec.feature.ObjectAction;
import org.apache.causeway.viewer.graphql.model.domain.GqlvDomainObject;
import org.apache.causeway.viewer.graphql.model.domain.GqlvDomainService;
-import org.apache.causeway.viewer.graphql.viewer.source.GqlvTopLevelQuery;
+import org.apache.causeway.viewer.graphql.viewer.toplevel.GqlvTopLevelQuery;
import org.apache.causeway.viewer.graphql.model.registry.GraphQLTypeRegistry;
import org.springframework.graphql.execution.GraphQlSource;
diff --git
a/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/source/ObjectTypeFactory.java
b/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/source/ObjectTypeFactory.java
deleted file mode 100644
index cfae222aee..0000000000
---
a/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/source/ObjectTypeFactory.java
+++ /dev/null
@@ -1,51 +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.
- */
-package org.apache.causeway.viewer.graphql.viewer.source;
-
-import javax.inject.Inject;
-
-import org.apache.causeway.viewer.graphql.model.domain.GqlvDomainObject;
-
-import org.springframework.stereotype.Component;
-
-import org.apache.causeway.applib.services.bookmark.BookmarkService;
-import org.apache.causeway.core.metamodel.objectmanager.ObjectManager;
-import org.apache.causeway.core.metamodel.spec.ObjectSpecification;
-import org.apache.causeway.core.metamodel.specloader.SpecificationLoader;
-import org.apache.causeway.viewer.graphql.model.registry.GraphQLTypeRegistry;
-
-import lombok.RequiredArgsConstructor;
-import lombok.val;
-import lombok.extern.log4j.Log4j2;
-
-import graphql.schema.GraphQLCodeRegistry;
-import graphql.schema.GraphQLObjectType;
-
-@Component
-@RequiredArgsConstructor(onConstructor_ = {@Inject})
-@Log4j2
-public class ObjectTypeFactory {
-
- private final GraphQLTypeRegistry graphQLTypeRegistry;
- private final BookmarkService bookmarkService;
- private final ObjectManager objectManager;
- private final SpecificationLoader specificationLoader;
-
-
-}
diff --git
a/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/source/GqlvTopLevelQuery.java
b/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/toplevel/GqlvTopLevelQuery.java
similarity index 97%
rename from
incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/source/GqlvTopLevelQuery.java
rename to
incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/toplevel/GqlvTopLevelQuery.java
index 1c4d84c445..bf350109cf 100644
---
a/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/source/GqlvTopLevelQuery.java
+++
b/incubator/viewers/graphql/viewer/src/main/java/org/apache/causeway/viewer/graphql/viewer/toplevel/GqlvTopLevelQuery.java
@@ -1,4 +1,4 @@
-package org.apache.causeway.viewer.graphql.viewer.source;
+package org.apache.causeway.viewer.graphql.viewer.toplevel;
import graphql.Scalars;
import graphql.schema.DataFetcher;