Fix typos in JSON schemas and follow standard naming conventions (#9183)

This commit is contained in:
Suresh Srinivas 2022-12-06 20:50:34 -08:00 committed by GitHub
parent d4c8cae682
commit 16d97d6f96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
43 changed files with 76 additions and 73 deletions

View File

@ -15,13 +15,13 @@ DomoClient source to extract data from DOMO
from typing import Union
from metadata.generated.schema.entity.services.connections.dashboard.domodashboardConnection import (
from metadata.generated.schema.entity.services.connections.dashboard.domoDashboardConnection import (
DomoDashboardConnection,
)
from metadata.generated.schema.entity.services.connections.database.domodatabaseConnection import (
from metadata.generated.schema.entity.services.connections.database.domoDatabaseConnection import (
DomoDatabaseConnection,
)
from metadata.generated.schema.entity.services.connections.pipeline.domopipelineConnection import (
from metadata.generated.schema.entity.services.connections.pipeline.domoPipelineConnection import (
DomoPipelineConnection,
)
from metadata.ingestion.ometa.client import REST, ClientConfig

View File

@ -21,7 +21,7 @@ from metadata.clients.domo_client import DomoClient
from metadata.generated.schema.api.data.createChart import CreateChartRequest
from metadata.generated.schema.api.data.createDashboard import CreateDashboardRequest
from metadata.generated.schema.api.lineage.addLineage import AddLineageRequest
from metadata.generated.schema.entity.services.connections.dashboard.domodashboardConnection import (
from metadata.generated.schema.entity.services.connections.dashboard.domoDashboardConnection import (
DomoDashboardConnection,
)
from metadata.generated.schema.entity.services.connections.metadata.openMetadataConnection import (

View File

@ -24,7 +24,7 @@ from metadata.generated.schema.api.data.createDatabaseSchema import (
from metadata.generated.schema.api.data.createTable import CreateTableRequest
from metadata.generated.schema.api.lineage.addLineage import AddLineageRequest
from metadata.generated.schema.entity.data.table import Column, Table, TableType
from metadata.generated.schema.entity.services.connections.database.domodatabaseConnection import (
from metadata.generated.schema.entity.services.connections.database.domoDatabaseConnection import (
DomoDatabaseConnection,
)
from metadata.generated.schema.entity.services.connections.metadata.openMetadataConnection import (

View File

@ -29,7 +29,7 @@ from metadata.generated.schema.entity.data.pipeline import (
from metadata.generated.schema.entity.services.connections.metadata.openMetadataConnection import (
OpenMetadataConnection,
)
from metadata.generated.schema.entity.services.connections.pipeline.domopipelineConnection import (
from metadata.generated.schema.entity.services.connections.pipeline.domoPipelineConnection import (
DomoPipelineConnection,
)
from metadata.generated.schema.metadataIngestion.workflow import (

View File

@ -60,7 +60,7 @@ from metadata.clients.nifi_client import NifiClient
from metadata.generated.schema.entity.services.connections.connectionBasicType import (
ConnectionArguments,
)
from metadata.generated.schema.entity.services.connections.dashboard.domodashboardConnection import (
from metadata.generated.schema.entity.services.connections.dashboard.domoDashboardConnection import (
DomoDashboardConnection,
)
from metadata.generated.schema.entity.services.connections.dashboard.lookerConnection import (
@ -101,7 +101,7 @@ from metadata.generated.schema.entity.services.connections.database.datalakeConn
from metadata.generated.schema.entity.services.connections.database.deltaLakeConnection import (
DeltaLakeConnection,
)
from metadata.generated.schema.entity.services.connections.database.domodatabaseConnection import (
from metadata.generated.schema.entity.services.connections.database.domoDatabaseConnection import (
DomoDatabaseConnection,
)
from metadata.generated.schema.entity.services.connections.database.dynamoDBConnection import (
@ -151,7 +151,7 @@ from metadata.generated.schema.entity.services.connections.pipeline.dagsterConne
DagsterConnection,
LocalDagtser,
)
from metadata.generated.schema.entity.services.connections.pipeline.domopipelineConnection import (
from metadata.generated.schema.entity.services.connections.pipeline.domoPipelineConnection import (
DomoPipelineConnection,
)
from metadata.generated.schema.entity.services.connections.pipeline.fivetranConnection import (

View File

@ -6,7 +6,7 @@ import java.util.List;
import org.elasticsearch.search.aggregations.Aggregations;
import org.elasticsearch.search.aggregations.bucket.histogram.Histogram;
import org.openmetadata.schema.dataInsight.DataInsightChartResult;
import org.openmetadata.schema.datatInsight.type.DailyActiveUsers;
import org.openmetadata.schema.dataInsight.type.DailyActiveUsers;
public class DailyActiveUsersAggregator extends DataInsightAggregatorInterface<DailyActiveUsers> {

View File

@ -8,7 +8,7 @@ import org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation;
import org.elasticsearch.search.aggregations.bucket.histogram.Histogram;
import org.elasticsearch.search.aggregations.metrics.Sum;
import org.openmetadata.schema.dataInsight.DataInsightChartResult;
import org.openmetadata.schema.datatInsight.type.PercentageOfEntitiesWithDescriptionByType;
import org.openmetadata.schema.dataInsight.type.PercentageOfEntitiesWithDescriptionByType;
public class EntitiesDescriptionAggregator
extends DataInsightAggregatorInterface<PercentageOfEntitiesWithDescriptionByType> {

View File

@ -8,7 +8,7 @@ import org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation;
import org.elasticsearch.search.aggregations.bucket.histogram.Histogram;
import org.elasticsearch.search.aggregations.metrics.Sum;
import org.openmetadata.schema.dataInsight.DataInsightChartResult;
import org.openmetadata.schema.datatInsight.type.PercentageOfEntitiesWithOwnerByType;
import org.openmetadata.schema.dataInsight.type.PercentageOfEntitiesWithOwnerByType;
public class EntitiesOwnerAggregator extends DataInsightAggregatorInterface<PercentageOfEntitiesWithOwnerByType> {

View File

@ -8,7 +8,7 @@ import org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation;
import org.elasticsearch.search.aggregations.metrics.Max;
import org.elasticsearch.search.aggregations.metrics.Sum;
import org.openmetadata.schema.dataInsight.DataInsightChartResult;
import org.openmetadata.schema.datatInsight.type.MostActiveUsers;
import org.openmetadata.schema.dataInsight.type.MostActiveUsers;
public class MostActiveUsersAggregator extends DataInsightAggregatorInterface<MostActiveUsers> {

View File

@ -7,7 +7,7 @@ import org.elasticsearch.search.aggregations.Aggregations;
import org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation;
import org.elasticsearch.search.aggregations.metrics.Sum;
import org.openmetadata.schema.dataInsight.DataInsightChartResult;
import org.openmetadata.schema.datatInsight.type.MostViewedEntities;
import org.openmetadata.schema.dataInsight.type.MostViewedEntities;
public class MostViewedEntitiesAggregator extends DataInsightAggregatorInterface<MostViewedEntities> {

View File

@ -8,7 +8,7 @@ import org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation;
import org.elasticsearch.search.aggregations.bucket.histogram.Histogram;
import org.elasticsearch.search.aggregations.metrics.Sum;
import org.openmetadata.schema.dataInsight.DataInsightChartResult;
import org.openmetadata.schema.datatInsight.type.PageViewsByEntities;
import org.openmetadata.schema.dataInsight.type.PageViewsByEntities;
public class PageViewsByEntitiesAggregator extends DataInsightAggregatorInterface<PageViewsByEntities> {
public PageViewsByEntitiesAggregator(

View File

@ -8,7 +8,7 @@ import org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation;
import org.elasticsearch.search.aggregations.bucket.histogram.Histogram;
import org.elasticsearch.search.aggregations.metrics.Sum;
import org.openmetadata.schema.dataInsight.DataInsightChartResult;
import org.openmetadata.schema.datatInsight.type.TotalEntitiesByType;
import org.openmetadata.schema.dataInsight.type.TotalEntitiesByType;
public class TotalEntitiesAggregator extends DataInsightAggregatorInterface<TotalEntitiesByType> {

View File

@ -8,7 +8,7 @@ import org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation;
import org.elasticsearch.search.aggregations.bucket.histogram.Histogram;
import org.elasticsearch.search.aggregations.metrics.Sum;
import org.openmetadata.schema.dataInsight.DataInsightChartResult;
import org.openmetadata.schema.datatInsight.type.TotalEntitiesByTier;
import org.openmetadata.schema.dataInsight.type.TotalEntitiesByTier;
public class TotalEntitiesByTierAggregator extends DataInsightAggregatorInterface<TotalEntitiesByTier> {
public TotalEntitiesByTierAggregator(

View File

@ -69,6 +69,7 @@ import org.openmetadata.schema.entity.tags.Tag;
import org.openmetadata.schema.entity.teams.Team;
import org.openmetadata.schema.entity.teams.User;
import org.openmetadata.schema.settings.EventPublisherJob;
import org.openmetadata.schema.settings.EventPublisherJob.Status;
import org.openmetadata.schema.settings.FailureDetails;
import org.openmetadata.schema.type.ChangeDescription;
import org.openmetadata.schema.type.ChangeEvent;
@ -180,7 +181,7 @@ public class ElasticSearchEventPublisher extends AbstractEventPublisher {
LOG.error("Missing Document", ex);
updateElasticSearchFailureStatus(
contextInfo,
EventPublisherJob.Status.ACTIVEWITHERROR,
Status.ACTIVE_WITH_ERROR,
String.format(
"Missing Document while Updating ES. Reason[%s], Cause[%s], Stack [%s]",
ex.getMessage(), ex.getCause(), ExceptionUtils.getStackTrace(ex)));
@ -191,7 +192,7 @@ public class ElasticSearchEventPublisher extends AbstractEventPublisher {
LOG.error("Error in publishing to ElasticSearch");
updateElasticSearchFailureStatus(
contextInfo,
EventPublisherJob.Status.ACTIVEWITHERROR,
Status.ACTIVE_WITH_ERROR,
String.format(
"Timeout when updating ES request. Reason[%s], Cause[%s], Stack [%s]",
e.getMessage(), e.getCause(), ExceptionUtils.getStackTrace(e)));
@ -199,7 +200,7 @@ public class ElasticSearchEventPublisher extends AbstractEventPublisher {
} else {
updateElasticSearchFailureStatus(
contextInfo,
EventPublisherJob.Status.ACTIVEWITHERROR,
Status.ACTIVE_WITH_ERROR,
String.format(
"Failed while updating ES. Reason[%s], Cause[%s], Stack [%s]",
e.getMessage(), e.getCause(), ExceptionUtils.getStackTrace(e)));
@ -208,7 +209,7 @@ public class ElasticSearchEventPublisher extends AbstractEventPublisher {
} catch (IOException ie) {
updateElasticSearchFailureStatus(
contextInfo,
EventPublisherJob.Status.ACTIVEWITHERROR,
Status.ACTIVE_WITH_ERROR,
String.format(
"Issue in updating ES request. Reason[%s], Cause[%s], Stack [%s]",
ie.getMessage(), ie.getCause(), ExceptionUtils.getStackTrace(ie)));

View File

@ -27,6 +27,7 @@ import org.elasticsearch.client.indices.GetIndexRequest;
import org.elasticsearch.client.indices.PutMappingRequest;
import org.elasticsearch.common.xcontent.XContentType;
import org.openmetadata.schema.settings.EventPublisherJob;
import org.openmetadata.schema.settings.EventPublisherJob.Status;
import org.openmetadata.schema.settings.FailureDetails;
import org.openmetadata.schema.type.TagLabel;
import org.openmetadata.service.Entity;
@ -221,7 +222,7 @@ public class ElasticSearchIndexDefinition {
dao.entityExtensionTimeSeriesDao().getExtension(ELASTIC_SEARCH_ENTITY_FQN_STREAM, ELASTIC_SEARCH_EXTENSION);
EventPublisherJob lastRecord = JsonUtils.readValue(recordString, EventPublisherJob.class);
long originalLastUpdate = lastRecord.getTimestamp();
lastRecord.setStatus(EventPublisherJob.Status.ACTIVEWITHERROR);
lastRecord.setStatus(Status.ACTIVE_WITH_ERROR);
lastRecord.setTimestamp(updateTime);
lastRecord.setFailureDetails(
new FailureDetails()

View File

@ -3076,7 +3076,7 @@ public interface CollectionDAO {
.withDatabaseServiceCount(rs.getInt("databaseServiceCount"))
.withMessagingServiceCount(rs.getInt("messagingServiceCount"))
.withDashboardServiceCount(rs.getInt("dashboardServiceCount"))
.withPipelineServiceCounte(rs.getInt("pipelineServiceCount"))
.withPipelineServiceCount(rs.getInt("pipelineServiceCount"))
.withMlModelServiceCount(rs.getInt("mlModelServiceCount"));
}
}

View File

@ -48,6 +48,7 @@ import org.openmetadata.schema.api.CreateEventPublisherJob.RunMode;
import org.openmetadata.schema.entity.data.Table;
import org.openmetadata.schema.entity.teams.User;
import org.openmetadata.schema.settings.EventPublisherJob;
import org.openmetadata.schema.settings.EventPublisherJob.Status;
import org.openmetadata.schema.settings.FailureDetails;
import org.openmetadata.schema.settings.Stats;
import org.openmetadata.schema.type.Include;
@ -207,7 +208,7 @@ public class BuildSearchIndexResource {
latestJob.setTimestamp(time);
latestJob.setEndTime(time);
if (latestJob.getFailureDetails() != null) {
latestJob.setStatus(EventPublisherJob.Status.ACTIVEWITHERROR);
latestJob.setStatus(Status.ACTIVE_WITH_ERROR);
} else {
latestJob.setStatus(EventPublisherJob.Status.ACTIVE);
}
@ -379,7 +380,7 @@ public class BuildSearchIndexResource {
} catch (IOException ex) {
failureDetails = new FailureDetails().withLastFailedAt(time).withLastFailedReason(ex.getMessage());
latestJob.setFailureDetails(failureDetails);
latestJob.setStatus(EventPublisherJob.Status.ACTIVEWITHERROR);
latestJob.setStatus(Status.ACTIVE_WITH_ERROR);
}
latestJob.setTimestamp(time);
dao.entityExtensionTimeSeriesDao()

View File

@ -14,6 +14,7 @@ import org.elasticsearch.action.bulk.BulkProcessor;
import org.elasticsearch.action.bulk.BulkRequest;
import org.elasticsearch.action.bulk.BulkResponse;
import org.openmetadata.schema.settings.EventPublisherJob;
import org.openmetadata.schema.settings.EventPublisherJob.Status;
import org.openmetadata.schema.settings.FailureDetails;
import org.openmetadata.schema.settings.Stats;
import org.openmetadata.service.jdbi3.CollectionDAO;
@ -63,8 +64,7 @@ public class BulkProcessorListener implements BulkProcessor.Listener {
}
updateFailedAndSuccess(failedCount, bulkResponse.getItems().length - failedCount);
EventPublisherJob.Status status =
batchHasFailures ? EventPublisherJob.Status.ACTIVEWITHERROR : EventPublisherJob.Status.ACTIVE;
EventPublisherJob.Status status = batchHasFailures ? Status.ACTIVE_WITH_ERROR : EventPublisherJob.Status.ACTIVE;
Stats stats = new Stats().withFailed(totalFailedCount).withSuccess(totalSuccessCount).withTotal(totalRequests);
FailureDetails hasFailureDetails = batchHasFailures ? failureDetails : null;
updateElasticSearchStatus(status, hasFailureDetails, stats);
@ -77,7 +77,7 @@ public class BulkProcessorListener implements BulkProcessor.Listener {
public void afterBulk(long executionId, BulkRequest bulkRequest, Throwable throwable) {
LOG.error("Failed to execute bulk", throwable);
updateFailedAndSuccess(bulkRequest.numberOfActions(), 0);
EventPublisherJob.Status status = EventPublisherJob.Status.ACTIVEWITHERROR;
EventPublisherJob.Status status = Status.ACTIVE_WITH_ERROR;
Stats stats = new Stats().withFailed(totalFailedCount).withSuccess(totalSuccessCount).withTotal(totalRequests);
FailureDetails hasFailureDetails =
new FailureDetails()

View File

@ -148,7 +148,7 @@ public class UtilResourceTest extends OpenMetadataApplicationTest {
// Get count before adding services
int beforeMessagingServiceCount = getServicesCount().getMessagingServiceCount();
int beforeDashboardServiceCount = getServicesCount().getDashboardServiceCount();
int beforePipelineServiceCount = getServicesCount().getPipelineServiceCounte();
int beforePipelineServiceCount = getServicesCount().getPipelineServiceCount();
int beforeMlModelServiceCount = getServicesCount().getMlModelServiceCount();
// Create Database Service
@ -179,7 +179,7 @@ public class UtilResourceTest extends OpenMetadataApplicationTest {
// Get count after creating services
int afterMessagingServiceCount = getServicesCount().getMessagingServiceCount();
int afterDashboardServiceCount = getServicesCount().getDashboardServiceCount();
int afterPipelineServiceCount = getServicesCount().getPipelineServiceCounte();
int afterPipelineServiceCount = getServicesCount().getPipelineServiceCount();
int afterMlModelServiceCount = getServicesCount().getMlModelServiceCount();
int actualCount = 1;

View File

@ -52,7 +52,7 @@
"type": "string"
},
"webhookType": {
"description": "Type of webhook slack,generic,msteams etc",
"description": "Type of webhook Slack, Generic, Microsoft Teams, etc",
"$ref": "../../entity/events/webhook.json#/definitions/webhookType"
}
},

View File

@ -58,7 +58,7 @@
"type": "string"
},
"verifyCertificateHostname": {
"description": "If true use HostNameSSLVerifier(only ehen trust store as cn as hostname) else TrustAll ",
"description": "If true use HostNameSSLVerifier(only then trust store cn as hostname) else TrustAll ",
"type": "boolean",
"default": false
}

View File

@ -2,7 +2,7 @@
"$id": "https://open-metadata.org/schema/auth/loginRequest.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "LoginRequest",
"description": "This schema defines Email Verfication Token Schema.",
"description": "This schema defines Email Verification Token Schema.",
"type": "object",
"javaType": "org.openmetadata.schema.auth.LoginRequest",
"properties": {

View File

@ -1,10 +1,10 @@
{
"$id": "https://open-metadata.org/schema/datatInsight/type/dailyActiveUsers.json",
"$id": "https://open-metadata.org/schema/dataInsight/type/dailyActiveUsers.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "DailyActiveUsers",
"description": "dailyActiveUsers data blob",
"type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.DailyActiveUsers",
"javaType": "org.openmetadata.schema.dataInsight.type.DailyActiveUsers",
"properties": {
"timestamp": {
"description": "timestamp",

View File

@ -1,10 +1,10 @@
{
"$id": "https://open-metadata.org/schema/datatInsight/type/mostActiveUsers.json",
"$id": "https://open-metadata.org/schema/dataInsight/type/mostActiveUsers.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "MostActiveUsers",
"description": "pageViewsByEntities data blob",
"type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.MostActiveUsers",
"javaType": "org.openmetadata.schema.dataInsight.type.MostActiveUsers",
"properties": {
"userName": {
"description": "Name of a user",

View File

@ -1,10 +1,10 @@
{
"$id": "https://open-metadata.org/schema/datatInsight/type/mostViewedEntities.json",
"$id": "https://open-metadata.org/schema/dataInsight/type/mostViewedEntities.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "MostViewedEntities",
"description": "pageViewsByEntities data blob",
"type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.MostViewedEntities",
"javaType": "org.openmetadata.schema.dataInsight.type.MostViewedEntities",
"properties": {
"entityFqn": {
"description": "Number of page views",

View File

@ -1,10 +1,10 @@
{
"$id": "https://open-metadata.org/schema/datatInsight/type/pageViewsByEntities.json",
"$id": "https://open-metadata.org/schema/dataInsight/type/pageViewsByEntities.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "PageViewsByEntities",
"description": "pageViewsByEntities data blob",
"type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.PageViewsByEntities",
"javaType": "org.openmetadata.schema.dataInsight.type.PageViewsByEntities",
"properties": {
"timestamp": {
"description": "timestamp",

View File

@ -1,10 +1,10 @@
{
"$id": "https://open-metadata.org/schema/datatInsight/type/percentageOfEntitiesWithDescriptionByType.json",
"$id": "https://open-metadata.org/schema/dataInsight/type/percentageOfEntitiesWithDescriptionByType.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "PercentageOfEntitiesWithDescriptionByType",
"description": "percentageOfEntitiesWithDescriptionByType data blob",
"type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.PercentageOfEntitiesWithDescriptionByType",
"javaType": "org.openmetadata.schema.dataInsight.type.PercentageOfEntitiesWithDescriptionByType",
"properties": {
"timestamp": {
"description": "timestamp",

View File

@ -1,10 +1,10 @@
{
"$id": "https://open-metadata.org/schema/datatInsight/type/percentageOfEntitiesWithOwnerByType.json",
"$id": "https://open-metadata.org/schema/dataInsight/type/percentageOfEntitiesWithOwnerByType.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "PercentageOfEntitiesWithOwnerByType",
"description": "percentageOfEntitiesWithOwnerByType data blob",
"type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.PercentageOfEntitiesWithOwnerByType",
"javaType": "org.openmetadata.schema.dataInsight.type.PercentageOfEntitiesWithOwnerByType",
"properties": {
"timestamp": {
"description": "timestamp",

View File

@ -1,10 +1,10 @@
{
"$id": "https://open-metadata.org/schema/datatInsight/type/totalEntitiesByTier.json",
"$id": "https://open-metadata.org/schema/dataInsight/type/totalEntitiesByTier.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "TotalEntitiesByTier",
"description": "totalEntitiesByTier data blob",
"type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.TotalEntitiesByTier",
"javaType": "org.openmetadata.schema.dataInsight.type.TotalEntitiesByTier",
"properties": {
"timestamp": {
"description": "timestamp",

View File

@ -1,10 +1,10 @@
{
"$id": "https://open-metadata.org/schema/datatInsight/type/totalEntitiesByType.json",
"$id": "https://open-metadata.org/schema/dataInsight/type/totalEntitiesByType.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "TotalEntitiesByType",
"description": "totalEntitiesByType data blob",
"type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.TotalEntitiesByType",
"javaType": "org.openmetadata.schema.dataInsight.type.TotalEntitiesByType",
"properties": {
"timestamp": {
"description": "timestamp",

View File

@ -8,7 +8,7 @@
"javaInterfaces": ["org.openmetadata.schema.EntityInterface"],
"definitions": {
"webhookType": {
"description": "Type of webhook slack, generic, msteams, etc.",
"description": "Type of webhook Slack, Generic, MS Teams, etc.",
"type": "string",
"javaType": "org.openmetadata.schema.type.WebhookType",
"default": "generic",
@ -44,7 +44,7 @@
"type": "string"
},
"webhookType": {
"description": "Type of webhook slack, generic, msteams, etc.",
"description": "Type of webhook Slack, Generic, MS Teams, etc.",
"$ref": "#/definitions/webhookType"
},
"description": {

View File

@ -1,12 +1,12 @@
{
"$id": "https://open-metadata.org/schema/entity/services/connections/dashboard/domodashboardConnection.json",
"$id": "https://open-metadata.org/schema/entity/services/connections/dashboard/domoDashboardConnection.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "DomoDashboardConnection",
"description": "Domo Dasboard Connection Config",
"description": "Domo Dashboard Connection Config",
"type": "object",
"javaType": "org.openmetadata.schema.services.connections.dashboard.DomoDashboardConnection",
"definitions": {
"domodashboardType": {
"domoDashboardType": {
"description": " service type",
"type": "string",
"enum": ["DomoDashboard"],
@ -17,7 +17,7 @@
"type": {
"title": "Service Type",
"description": "Service Type",
"$ref": "#/definitions/domodashboardType",
"$ref": "#/definitions/domoDashboardType",
"default": "DomoDashboard"
},
"clientId": {
@ -33,7 +33,7 @@
},
"accessToken": {
"title": "Access Token",
"description": "Access to connecto to DOMO",
"description": "Access token to connect to to DOMO",
"type": "string"
},
"apiHost": {

View File

@ -1,12 +1,12 @@
{
"$id": "https://open-metadata.org/schema/entity/services/connections/database/domodatabaseConnection.json",
"$id": "https://open-metadata.org/schema/entity/services/connections/database/domoDatabaseConnection.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "DomoDatabaseConnection",
"description": "Domo Database Connection Config",
"type": "object",
"javaType": "org.openmetadata.schema.services.connections.database.DomoDatabaseConnection",
"definitions": {
"domodatabaseType": {
"domoDatabaseType": {
"description": " service type",
"type": "string",
"enum": ["DomoDatabase"],
@ -17,7 +17,7 @@
"type": {
"title": "Service Type",
"description": "Service Type",
"$ref": "#/definitions/domodatabaseType",
"$ref": "#/definitions/domoDatabaseType",
"default": "DomoDatabase"
},
"clientId": {
@ -33,7 +33,7 @@
},
"accessToken": {
"title": "Access Token",
"description": "Access to connecto to DOMO",
"description": "Access token to connect to DOMO",
"type": "string"
},
"apiHost": {

View File

@ -1,5 +1,5 @@
{
"$id": "https://open-metadata.org/schema/entity/services/connections/pipeline/domopipelineConnection.json",
"$id": "https://open-metadata.org/schema/entity/services/connections/pipeline/domoPipelineConnection.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "DomoPipelineConnection",
"description": "Domo Pipeline Connection Config",

View File

@ -95,7 +95,7 @@
"$ref": "./connections/dashboard/customDashboardConnection.json"
},
{
"$ref": "./connections/dashboard/domodashboardConnection.json"
"$ref": "./connections/dashboard/domoDashboardConnection.json"
},
{
"$ref": "./connections/dashboard/quickSightConnection.json"

View File

@ -231,7 +231,7 @@
"$ref": "./connections/database/datalakeConnection.json"
},
{
"$ref": "./connections/database/domodatabaseConnection.json"
"$ref": "./connections/database/domoDatabaseConnection.json"
},
{
"$ref": "./connections/database/customDatabaseConnection.json"

View File

@ -81,7 +81,7 @@
"$ref": "./connections/pipeline/nifiConnection.json"
},
{
"$ref": "./connections/pipeline/domopipelineConnection.json"
"$ref": "./connections/pipeline/domoPipelineConnection.json"
},
{
"$ref": "./connections/pipeline/customPipelineConnection.json"

View File

@ -18,7 +18,7 @@
"description": "Dashboard Service Count",
"type": "integer"
},
"pipelineServiceCounte": {
"pipelineServiceCount": {
"description": "Pipeline Service Count",
"type": "integer"
},

View File

@ -195,7 +195,7 @@
"type": "string"
},
"pipelineRunId": {
"description": "Unique identifier of pipeline run, used to identify the current pipleine run",
"description": "Unique identifier of pipeline run, used to identify the current pipeline run",
"$ref": "../type/basic.json#/definitions/uuid"
}
},

View File

@ -75,7 +75,7 @@
"STARTING",
"ACTIVE",
"RETRY",
"ACTIVEWITHERROR",
"ACTIVE_WITH_ERROR",
"IDLE",
"COMPLETED"
]

View File

@ -18,7 +18,7 @@ import {
DashboardServiceType,
} from '../generated/entity/services/dashboardService';
import customDashboardConnection from '../jsons/connectionSchemas/connections/dashboard/customDashboardConnection.json';
import domodashboardConnection from '../jsons/connectionSchemas/connections/dashboard/domodashboardConnection.json';
import domoDashboardConnection from '../jsons/connectionSchemas/connections/dashboard/domoDashboardConnection.json';
import lookerConnection from '../jsons/connectionSchemas/connections/dashboard/lookerConnection.json';
import metabaseConnection from '../jsons/connectionSchemas/connections/dashboard/metabaseConnection.json';
import modeConnection from '../jsons/connectionSchemas/connections/dashboard/modeConnection.json';
@ -74,7 +74,7 @@ export const getDashboardConfig = (type: DashboardServiceType) => {
break;
}
case DashboardServiceType.DomoDashboard: {
schema = domodashboardConnection;
schema = domoDashboardConnection;
break;
}

View File

@ -23,7 +23,7 @@ import databricksConnection from '../jsons/connectionSchemas/connections/databas
import DatalakeConnection from '../jsons/connectionSchemas/connections/database/datalakeConnection.json';
import db2Connection from '../jsons/connectionSchemas/connections/database/db2Connection.json';
import deltaLakeConnection from '../jsons/connectionSchemas/connections/database/deltaLakeConnection.json';
import domodatabaseConnection from '../jsons/connectionSchemas/connections/database/domodatabaseConnection.json';
import domoDatabaseConnection from '../jsons/connectionSchemas/connections/database/domoDatabaseConnection.json';
import druidConnection from '../jsons/connectionSchemas/connections/database/druidConnection.json';
import dynamoDBConnection from '../jsons/connectionSchemas/connections/database/dynamoDBConnection.json';
import glueConnection from '../jsons/connectionSchemas/connections/database/glueConnection.json';
@ -178,7 +178,7 @@ export const getDatabaseConfig = (type: DatabaseServiceType) => {
break;
}
case DatabaseServiceType.DomoDatabase: {
schema = domodatabaseConnection;
schema = domoDatabaseConnection;
break;
}

View File

@ -20,7 +20,7 @@ import airbyteConnection from '../jsons/connectionSchemas/connections/pipeline/a
import airflowConnection from '../jsons/connectionSchemas/connections/pipeline/airflowConnection.json';
import customPipelineConnection from '../jsons/connectionSchemas/connections/pipeline/customPipelineConnection.json';
import dagsterConnection from '../jsons/connectionSchemas/connections/pipeline/dagsterConnection.json';
import domopipelineConnection from '../jsons/connectionSchemas/connections/pipeline/domopipelineConnection.json';
import domoPipelineConnection from '../jsons/connectionSchemas/connections/pipeline/domoPipelineConnection.json';
import fivetranConnection from '../jsons/connectionSchemas/connections/pipeline/fivetranConnection.json';
import gluePipelineConnection from '../jsons/connectionSchemas/connections/pipeline/gluePipelineConnection.json';
import nifiConnection from '../jsons/connectionSchemas/connections/pipeline/nifiConnection.json';
@ -61,7 +61,7 @@ export const getPipelineConfig = (type: PipelineServiceType) => {
break;
}
case PipelineServiceType.DomoPipeline: {
schema = domopipelineConnection;
schema = domoPipelineConnection;
break;
}