Skip to content

Commit 3cddf21

Browse files
GraphQL: Merge the label-application-rules-schema into the labels-schema (#124)
1 parent b41bda0 commit 3cddf21

File tree

43 files changed

+146
-242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+146
-242
lines changed

hypertrace-graphql-impl/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ dependencies {
3232
implementation(project(":hypertrace-graphql-entity-type"))
3333
implementation(project(":hypertrace-graphql-spaces-schema"))
3434
implementation(project(":hypertrace-graphql-labels-schema-impl"))
35-
implementation(project(":hypertrace-graphql-label-application-rules-schema"))
3635

3736
implementation("org.slf4j:slf4j-api")
3837
implementation("com.google.inject:guice")

hypertrace-graphql-impl/src/main/java/org/hypertrace/graphql/impl/GraphQlModule.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import org.hypertrace.graphql.explorer.ExplorerSchemaModule;
2828
import org.hypertrace.graphql.explorer.context.HypertraceExplorerContextModule;
2929
import org.hypertrace.graphql.label.LabelSchemaModule;
30-
import org.hypertrace.graphql.label.application.rules.LabelApplicationRuleSchemaModule;
3130
import org.hypertrace.graphql.metric.MetricModule;
3231
import org.hypertrace.graphql.spaces.SpacesSchemaModule;
3332
import org.hypertrace.graphql.utils.metrics.gateway.GatewayMetricUtilsModule;
@@ -74,6 +73,5 @@ protected void configure() {
7473
install(new SpacesSchemaModule());
7574
install(new RequestTransformationModule());
7675
install(new LabelSchemaModule());
77-
install(new LabelApplicationRuleSchemaModule());
7876
}
7977
}

hypertrace-graphql-label-application-rules-schema/build.gradle.kts

Lines changed: 0 additions & 34 deletions
This file was deleted.

hypertrace-graphql-label-application-rules-schema/src/main/java/org/hypertrace/graphql/label/application/rules/LabelApplicationRuleSchemaFragment.java

Lines changed: 0 additions & 23 deletions
This file was deleted.

hypertrace-graphql-label-application-rules-schema/src/main/java/org/hypertrace/graphql/label/application/rules/LabelApplicationRuleSchemaModule.java

Lines changed: 0 additions & 21 deletions
This file was deleted.

hypertrace-graphql-label-application-rules-schema/src/main/java/org/hypertrace/graphql/label/application/rules/schema/mutation/LabelApplicationRuleMutationSchema.java

Lines changed: 0 additions & 41 deletions
This file was deleted.

hypertrace-graphql-label-application-rules-schema/src/main/java/org/hypertrace/graphql/label/application/rules/schema/query/LabelApplicationRuleQuerySchema.java

Lines changed: 0 additions & 17 deletions
This file was deleted.

hypertrace-graphql-labels-schema-api/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ dependencies {
1313

1414
annotationProcessor("org.projectlombok:lombok")
1515
compileOnly("org.projectlombok:lombok")
16+
17+
implementation("org.hypertrace.core.graphql:hypertrace-core-graphql-deserialization")
1618
}
1719

1820
tasks.test {
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
package org.hypertrace.graphql.label.application.rules.dao;
1+
package org.hypertrace.graphql.label.dao;
22

33
import io.reactivex.rxjava3.core.Single;
44
import org.hypertrace.core.graphql.common.request.ContextualRequest;
5-
import org.hypertrace.graphql.label.application.rules.request.LabelApplicationRuleCreateRequest;
6-
import org.hypertrace.graphql.label.application.rules.request.LabelApplicationRuleDeleteRequest;
7-
import org.hypertrace.graphql.label.application.rules.request.LabelApplicationRuleUpdateRequest;
8-
import org.hypertrace.graphql.label.application.rules.schema.query.LabelApplicationRuleResultSet;
9-
import org.hypertrace.graphql.label.application.rules.schema.shared.LabelApplicationRule;
5+
import org.hypertrace.graphql.label.request.LabelApplicationRuleCreateRequest;
6+
import org.hypertrace.graphql.label.request.LabelApplicationRuleDeleteRequest;
7+
import org.hypertrace.graphql.label.request.LabelApplicationRuleUpdateRequest;
8+
import org.hypertrace.graphql.label.schema.rule.LabelApplicationRule;
9+
import org.hypertrace.graphql.label.schema.rule.LabelApplicationRuleResultSet;
1010

1111
public interface LabelApplicationRuleDao {
1212
Single<LabelApplicationRule> createLabelApplicationRule(

0 commit comments

Comments
 (0)