Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update brand to BNY #8

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.MD
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Thank you for visiting BNY Mellon's GitHub.
Thank you for visiting BNY's GitHub.

We currently do not accept external code contributions.

We appreciate any potential issues or concerns reported by the community, and may elect to address them at our sole discretion.

Thank you for your interest!

BNY Mellon
BNY
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The kata is divided into a `query` package and a `mutation` package, the main tw
GraphQL queries are read-only operations sent by a client to retrieve data from a GraphQL server. Queries allow clients
to request, aggregate, and filter server-side data and receive a JSON formatted response.

The package `bnymellon.jpe.graphql.kata.query` in the `src/test` directory contains a series of failing query related
The package `bny.jpe.graphql.kata.query` in the `src/test` directory contains a series of failing query related
unit tests designed to teach the basics of making GraphQL queries. The `src/test/resources/queries` directory contains
several `*.graphql` files which need to be modified in order to make the tests pass. The schema for the query tests can
be found in `graphql-composers-domain/src/main/resources/schema.graphqls`.
Expand All @@ -60,7 +60,7 @@ Mutations allow clients to perform these operations against the server and recei
in the same way they would from a query operation. Once you are familiar with making queries you are well on your way to
understanding mutations and many of the same concepts and features still apply.

In the `src/test` directory there is a `bnymellon.jpe.graphql.kata.mutation` package which contains failing unit tests
In the `src/test` directory there is a `bny.jpe.graphql.kata.mutation` package which contains failing unit tests
designed to teach the basics of performing GraphQL mutations. The `src/test/resources/mutation` directory contains
several `*.graphql` files which need to be modified in order to make the tests pass. The schema for the mutation tests
is the same as for the query tests and can be found in `graphql-composers-domain/src/main/resources/schema.graphqls`.
Expand Down
4 changes: 2 additions & 2 deletions graphql-composers-domain/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2023 The Bank of New York Mellon.
~ Copyright 2024 The Bank of New York Mellon.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand All @@ -20,7 +20,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>graphql-kata</artifactId>
<groupId>bnymellon.jpe</groupId>
<groupId>bny.jpe</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata;
package bny.jpe.graphql.kata;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata;
package bny.jpe.graphql.kata;

import java.util.Objects;
import java.util.regex.Pattern;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,26 +14,9 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata;
package bny.jpe.graphql.kata;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;

import org.eclipse.collections.api.block.predicate.Predicate;
import org.eclipse.collections.api.factory.Lists;
import org.eclipse.collections.api.list.MutableList;
import org.eclipse.collections.impl.list.mutable.ListAdapter;

import bnymellon.jpe.graphql.kata.domain.Composer;
import bnymellon.jpe.graphql.kata.domain.Composition;
import bnymellon.jpe.graphql.kata.domain.Concerto;
import bnymellon.jpe.graphql.kata.domain.Instrument;
import bnymellon.jpe.graphql.kata.domain.Location;
import bnymellon.jpe.graphql.kata.domain.Piece;
import bnymellon.jpe.graphql.kata.domain.Song;
import bny.jpe.graphql.kata.domain.*;
import graphql.com.google.common.base.Function;
import graphql.com.google.common.base.Supplier;
import graphql.execution.DataFetcherResult;
Expand All @@ -47,15 +30,20 @@
import graphql.schema.idl.TypeDefinitionRegistry;
import graphql.validation.ValidationError;
import graphql.validation.ValidationErrorType;
import org.eclipse.collections.api.block.predicate.Predicate;
import org.eclipse.collections.api.factory.Lists;
import org.eclipse.collections.api.list.MutableList;
import org.eclipse.collections.impl.list.mutable.ListAdapter;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;

import static bnymellon.jpe.graphql.kata.domain.InstrumentType.KEYBOARD;
import static bnymellon.jpe.graphql.kata.domain.InstrumentType.WOODWIND;
import static bnymellon.jpe.graphql.kata.domain.Period.BAROQUE;
import static bnymellon.jpe.graphql.kata.domain.Period.CLASSICAL;
import static bnymellon.jpe.graphql.kata.domain.Period.MODERN;
import static bnymellon.jpe.graphql.kata.domain.Period.POST_MODERN;
import static bnymellon.jpe.graphql.kata.domain.Period.RENAISSANCE;
import static bnymellon.jpe.graphql.kata.domain.Period.ROMANTIC;
import static bny.jpe.graphql.kata.domain.InstrumentType.KEYBOARD;
import static bny.jpe.graphql.kata.domain.InstrumentType.WOODWIND;
import static bny.jpe.graphql.kata.domain.Period.*;

public class ComposersSchema
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata.domain;
package bny.jpe.graphql.kata.domain;

import java.time.LocalDate;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata.domain;
package bny.jpe.graphql.kata.domain;

import java.time.LocalDate;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata.domain;
package bny.jpe.graphql.kata.domain;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata.domain;
package bny.jpe.graphql.kata.domain;

public record CompositionInput(String subtype,
String title,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata.domain;
package bny.jpe.graphql.kata.domain;

import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata.domain;
package bny.jpe.graphql.kata.domain;

import java.util.Map;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata.domain;
package bny.jpe.graphql.kata.domain;

public enum InstrumentType
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata.domain;
package bny.jpe.graphql.kata.domain;

import java.util.Map;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata.domain;
package bny.jpe.graphql.kata.domain;

public enum Period
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata.domain;
package bny.jpe.graphql.kata.domain;

import java.util.Map;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata.domain;
package bny.jpe.graphql.kata.domain;

import java.util.Map;

Expand Down
6 changes: 3 additions & 3 deletions graphql-kata-exercises/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2023 The Bank of New York Mellon.
~ Copyright 2024 The Bank of New York Mellon.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand All @@ -20,15 +20,15 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>graphql-kata</artifactId>
<groupId>bnymellon.jpe</groupId>
<groupId>bny.jpe</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>graphql-kata-exercises</artifactId>

<dependencies>
<dependency>
<groupId>bnymellon.jpe</groupId>
<groupId>bny.jpe</groupId>
<artifactId>graphql-composers-domain</artifactId>
<version>${project.version}</version>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata;
package bny.jpe.graphql.kata;

import java.io.IOException;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023 The Bank of New York Mellon.
* Copyright 2024 The Bank of New York Mellon.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@
* limitations under the License.
*/

package bnymellon.jpe.graphql.kata.mutation;
package bny.jpe.graphql.kata.mutation;

import java.io.IOException;

Expand All @@ -24,7 +24,7 @@
import org.junit.jupiter.api.TestInstance;
import org.junit.jupiter.api.TestMethodOrder;

import bnymellon.jpe.graphql.kata.GraphQLBaseTest;
import bny.jpe.graphql.kata.GraphQLBaseTest;

import static org.junit.jupiter.api.Assertions.assertEquals;

Expand Down
Loading
Loading