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 typing import Union
from metadata.generated.schema.entity.services.connections.dashboard.domodashboardConnection import ( from metadata.generated.schema.entity.services.connections.dashboard.domoDashboardConnection import (
DomoDashboardConnection, DomoDashboardConnection,
) )
from metadata.generated.schema.entity.services.connections.database.domodatabaseConnection import ( from metadata.generated.schema.entity.services.connections.database.domoDatabaseConnection import (
DomoDatabaseConnection, DomoDatabaseConnection,
) )
from metadata.generated.schema.entity.services.connections.pipeline.domopipelineConnection import ( from metadata.generated.schema.entity.services.connections.pipeline.domoPipelineConnection import (
DomoPipelineConnection, DomoPipelineConnection,
) )
from metadata.ingestion.ometa.client import REST, ClientConfig 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.createChart import CreateChartRequest
from metadata.generated.schema.api.data.createDashboard import CreateDashboardRequest from metadata.generated.schema.api.data.createDashboard import CreateDashboardRequest
from metadata.generated.schema.api.lineage.addLineage import AddLineageRequest 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, DomoDashboardConnection,
) )
from metadata.generated.schema.entity.services.connections.metadata.openMetadataConnection import ( 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.data.createTable import CreateTableRequest
from metadata.generated.schema.api.lineage.addLineage import AddLineageRequest 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.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, DomoDatabaseConnection,
) )
from metadata.generated.schema.entity.services.connections.metadata.openMetadataConnection import ( 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 ( from metadata.generated.schema.entity.services.connections.metadata.openMetadataConnection import (
OpenMetadataConnection, OpenMetadataConnection,
) )
from metadata.generated.schema.entity.services.connections.pipeline.domopipelineConnection import ( from metadata.generated.schema.entity.services.connections.pipeline.domoPipelineConnection import (
DomoPipelineConnection, DomoPipelineConnection,
) )
from metadata.generated.schema.metadataIngestion.workflow import ( 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 ( from metadata.generated.schema.entity.services.connections.connectionBasicType import (
ConnectionArguments, ConnectionArguments,
) )
from metadata.generated.schema.entity.services.connections.dashboard.domodashboardConnection import ( from metadata.generated.schema.entity.services.connections.dashboard.domoDashboardConnection import (
DomoDashboardConnection, DomoDashboardConnection,
) )
from metadata.generated.schema.entity.services.connections.dashboard.lookerConnection import ( 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 ( from metadata.generated.schema.entity.services.connections.database.deltaLakeConnection import (
DeltaLakeConnection, DeltaLakeConnection,
) )
from metadata.generated.schema.entity.services.connections.database.domodatabaseConnection import ( from metadata.generated.schema.entity.services.connections.database.domoDatabaseConnection import (
DomoDatabaseConnection, DomoDatabaseConnection,
) )
from metadata.generated.schema.entity.services.connections.database.dynamoDBConnection import ( from metadata.generated.schema.entity.services.connections.database.dynamoDBConnection import (
@ -151,7 +151,7 @@ from metadata.generated.schema.entity.services.connections.pipeline.dagsterConne
DagsterConnection, DagsterConnection,
LocalDagtser, LocalDagtser,
) )
from metadata.generated.schema.entity.services.connections.pipeline.domopipelineConnection import ( from metadata.generated.schema.entity.services.connections.pipeline.domoPipelineConnection import (
DomoPipelineConnection, DomoPipelineConnection,
) )
from metadata.generated.schema.entity.services.connections.pipeline.fivetranConnection import ( 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.Aggregations;
import org.elasticsearch.search.aggregations.bucket.histogram.Histogram; import org.elasticsearch.search.aggregations.bucket.histogram.Histogram;
import org.openmetadata.schema.dataInsight.DataInsightChartResult; 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> { 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.bucket.histogram.Histogram;
import org.elasticsearch.search.aggregations.metrics.Sum; import org.elasticsearch.search.aggregations.metrics.Sum;
import org.openmetadata.schema.dataInsight.DataInsightChartResult; import org.openmetadata.schema.dataInsight.DataInsightChartResult;
import org.openmetadata.schema.datatInsight.type.PercentageOfEntitiesWithDescriptionByType; import org.openmetadata.schema.dataInsight.type.PercentageOfEntitiesWithDescriptionByType;
public class EntitiesDescriptionAggregator public class EntitiesDescriptionAggregator
extends DataInsightAggregatorInterface<PercentageOfEntitiesWithDescriptionByType> { 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.bucket.histogram.Histogram;
import org.elasticsearch.search.aggregations.metrics.Sum; import org.elasticsearch.search.aggregations.metrics.Sum;
import org.openmetadata.schema.dataInsight.DataInsightChartResult; 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> { 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.Max;
import org.elasticsearch.search.aggregations.metrics.Sum; import org.elasticsearch.search.aggregations.metrics.Sum;
import org.openmetadata.schema.dataInsight.DataInsightChartResult; 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> { 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.bucket.MultiBucketsAggregation;
import org.elasticsearch.search.aggregations.metrics.Sum; import org.elasticsearch.search.aggregations.metrics.Sum;
import org.openmetadata.schema.dataInsight.DataInsightChartResult; 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> { 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.bucket.histogram.Histogram;
import org.elasticsearch.search.aggregations.metrics.Sum; import org.elasticsearch.search.aggregations.metrics.Sum;
import org.openmetadata.schema.dataInsight.DataInsightChartResult; 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 class PageViewsByEntitiesAggregator extends DataInsightAggregatorInterface<PageViewsByEntities> {
public PageViewsByEntitiesAggregator( 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.bucket.histogram.Histogram;
import org.elasticsearch.search.aggregations.metrics.Sum; import org.elasticsearch.search.aggregations.metrics.Sum;
import org.openmetadata.schema.dataInsight.DataInsightChartResult; 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> { 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.bucket.histogram.Histogram;
import org.elasticsearch.search.aggregations.metrics.Sum; import org.elasticsearch.search.aggregations.metrics.Sum;
import org.openmetadata.schema.dataInsight.DataInsightChartResult; 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 class TotalEntitiesByTierAggregator extends DataInsightAggregatorInterface<TotalEntitiesByTier> {
public TotalEntitiesByTierAggregator( 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.Team;
import org.openmetadata.schema.entity.teams.User; import org.openmetadata.schema.entity.teams.User;
import org.openmetadata.schema.settings.EventPublisherJob; import org.openmetadata.schema.settings.EventPublisherJob;
import org.openmetadata.schema.settings.EventPublisherJob.Status;
import org.openmetadata.schema.settings.FailureDetails; import org.openmetadata.schema.settings.FailureDetails;
import org.openmetadata.schema.type.ChangeDescription; import org.openmetadata.schema.type.ChangeDescription;
import org.openmetadata.schema.type.ChangeEvent; import org.openmetadata.schema.type.ChangeEvent;
@ -180,7 +181,7 @@ public class ElasticSearchEventPublisher extends AbstractEventPublisher {
LOG.error("Missing Document", ex); LOG.error("Missing Document", ex);
updateElasticSearchFailureStatus( updateElasticSearchFailureStatus(
contextInfo, contextInfo,
EventPublisherJob.Status.ACTIVEWITHERROR, Status.ACTIVE_WITH_ERROR,
String.format( String.format(
"Missing Document while Updating ES. Reason[%s], Cause[%s], Stack [%s]", "Missing Document while Updating ES. Reason[%s], Cause[%s], Stack [%s]",
ex.getMessage(), ex.getCause(), ExceptionUtils.getStackTrace(ex))); ex.getMessage(), ex.getCause(), ExceptionUtils.getStackTrace(ex)));
@ -191,7 +192,7 @@ public class ElasticSearchEventPublisher extends AbstractEventPublisher {
LOG.error("Error in publishing to ElasticSearch"); LOG.error("Error in publishing to ElasticSearch");
updateElasticSearchFailureStatus( updateElasticSearchFailureStatus(
contextInfo, contextInfo,
EventPublisherJob.Status.ACTIVEWITHERROR, Status.ACTIVE_WITH_ERROR,
String.format( String.format(
"Timeout when updating ES request. Reason[%s], Cause[%s], Stack [%s]", "Timeout when updating ES request. Reason[%s], Cause[%s], Stack [%s]",
e.getMessage(), e.getCause(), ExceptionUtils.getStackTrace(e))); e.getMessage(), e.getCause(), ExceptionUtils.getStackTrace(e)));
@ -199,7 +200,7 @@ public class ElasticSearchEventPublisher extends AbstractEventPublisher {
} else { } else {
updateElasticSearchFailureStatus( updateElasticSearchFailureStatus(
contextInfo, contextInfo,
EventPublisherJob.Status.ACTIVEWITHERROR, Status.ACTIVE_WITH_ERROR,
String.format( String.format(
"Failed while updating ES. Reason[%s], Cause[%s], Stack [%s]", "Failed while updating ES. Reason[%s], Cause[%s], Stack [%s]",
e.getMessage(), e.getCause(), ExceptionUtils.getStackTrace(e))); e.getMessage(), e.getCause(), ExceptionUtils.getStackTrace(e)));
@ -208,7 +209,7 @@ public class ElasticSearchEventPublisher extends AbstractEventPublisher {
} catch (IOException ie) { } catch (IOException ie) {
updateElasticSearchFailureStatus( updateElasticSearchFailureStatus(
contextInfo, contextInfo,
EventPublisherJob.Status.ACTIVEWITHERROR, Status.ACTIVE_WITH_ERROR,
String.format( String.format(
"Issue in updating ES request. Reason[%s], Cause[%s], Stack [%s]", "Issue in updating ES request. Reason[%s], Cause[%s], Stack [%s]",
ie.getMessage(), ie.getCause(), ExceptionUtils.getStackTrace(ie))); 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.client.indices.PutMappingRequest;
import org.elasticsearch.common.xcontent.XContentType; import org.elasticsearch.common.xcontent.XContentType;
import org.openmetadata.schema.settings.EventPublisherJob; import org.openmetadata.schema.settings.EventPublisherJob;
import org.openmetadata.schema.settings.EventPublisherJob.Status;
import org.openmetadata.schema.settings.FailureDetails; import org.openmetadata.schema.settings.FailureDetails;
import org.openmetadata.schema.type.TagLabel; import org.openmetadata.schema.type.TagLabel;
import org.openmetadata.service.Entity; import org.openmetadata.service.Entity;
@ -221,7 +222,7 @@ public class ElasticSearchIndexDefinition {
dao.entityExtensionTimeSeriesDao().getExtension(ELASTIC_SEARCH_ENTITY_FQN_STREAM, ELASTIC_SEARCH_EXTENSION); dao.entityExtensionTimeSeriesDao().getExtension(ELASTIC_SEARCH_ENTITY_FQN_STREAM, ELASTIC_SEARCH_EXTENSION);
EventPublisherJob lastRecord = JsonUtils.readValue(recordString, EventPublisherJob.class); EventPublisherJob lastRecord = JsonUtils.readValue(recordString, EventPublisherJob.class);
long originalLastUpdate = lastRecord.getTimestamp(); long originalLastUpdate = lastRecord.getTimestamp();
lastRecord.setStatus(EventPublisherJob.Status.ACTIVEWITHERROR); lastRecord.setStatus(Status.ACTIVE_WITH_ERROR);
lastRecord.setTimestamp(updateTime); lastRecord.setTimestamp(updateTime);
lastRecord.setFailureDetails( lastRecord.setFailureDetails(
new FailureDetails() new FailureDetails()

View File

@ -3076,7 +3076,7 @@ public interface CollectionDAO {
.withDatabaseServiceCount(rs.getInt("databaseServiceCount")) .withDatabaseServiceCount(rs.getInt("databaseServiceCount"))
.withMessagingServiceCount(rs.getInt("messagingServiceCount")) .withMessagingServiceCount(rs.getInt("messagingServiceCount"))
.withDashboardServiceCount(rs.getInt("dashboardServiceCount")) .withDashboardServiceCount(rs.getInt("dashboardServiceCount"))
.withPipelineServiceCounte(rs.getInt("pipelineServiceCount")) .withPipelineServiceCount(rs.getInt("pipelineServiceCount"))
.withMlModelServiceCount(rs.getInt("mlModelServiceCount")); .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.data.Table;
import org.openmetadata.schema.entity.teams.User; import org.openmetadata.schema.entity.teams.User;
import org.openmetadata.schema.settings.EventPublisherJob; import org.openmetadata.schema.settings.EventPublisherJob;
import org.openmetadata.schema.settings.EventPublisherJob.Status;
import org.openmetadata.schema.settings.FailureDetails; import org.openmetadata.schema.settings.FailureDetails;
import org.openmetadata.schema.settings.Stats; import org.openmetadata.schema.settings.Stats;
import org.openmetadata.schema.type.Include; import org.openmetadata.schema.type.Include;
@ -207,7 +208,7 @@ public class BuildSearchIndexResource {
latestJob.setTimestamp(time); latestJob.setTimestamp(time);
latestJob.setEndTime(time); latestJob.setEndTime(time);
if (latestJob.getFailureDetails() != null) { if (latestJob.getFailureDetails() != null) {
latestJob.setStatus(EventPublisherJob.Status.ACTIVEWITHERROR); latestJob.setStatus(Status.ACTIVE_WITH_ERROR);
} else { } else {
latestJob.setStatus(EventPublisherJob.Status.ACTIVE); latestJob.setStatus(EventPublisherJob.Status.ACTIVE);
} }
@ -379,7 +380,7 @@ public class BuildSearchIndexResource {
} catch (IOException ex) { } catch (IOException ex) {
failureDetails = new FailureDetails().withLastFailedAt(time).withLastFailedReason(ex.getMessage()); failureDetails = new FailureDetails().withLastFailedAt(time).withLastFailedReason(ex.getMessage());
latestJob.setFailureDetails(failureDetails); latestJob.setFailureDetails(failureDetails);
latestJob.setStatus(EventPublisherJob.Status.ACTIVEWITHERROR); latestJob.setStatus(Status.ACTIVE_WITH_ERROR);
} }
latestJob.setTimestamp(time); latestJob.setTimestamp(time);
dao.entityExtensionTimeSeriesDao() 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.BulkRequest;
import org.elasticsearch.action.bulk.BulkResponse; import org.elasticsearch.action.bulk.BulkResponse;
import org.openmetadata.schema.settings.EventPublisherJob; import org.openmetadata.schema.settings.EventPublisherJob;
import org.openmetadata.schema.settings.EventPublisherJob.Status;
import org.openmetadata.schema.settings.FailureDetails; import org.openmetadata.schema.settings.FailureDetails;
import org.openmetadata.schema.settings.Stats; import org.openmetadata.schema.settings.Stats;
import org.openmetadata.service.jdbi3.CollectionDAO; import org.openmetadata.service.jdbi3.CollectionDAO;
@ -63,8 +64,7 @@ public class BulkProcessorListener implements BulkProcessor.Listener {
} }
updateFailedAndSuccess(failedCount, bulkResponse.getItems().length - failedCount); updateFailedAndSuccess(failedCount, bulkResponse.getItems().length - failedCount);
EventPublisherJob.Status status = EventPublisherJob.Status status = batchHasFailures ? Status.ACTIVE_WITH_ERROR : EventPublisherJob.Status.ACTIVE;
batchHasFailures ? EventPublisherJob.Status.ACTIVEWITHERROR : EventPublisherJob.Status.ACTIVE;
Stats stats = new Stats().withFailed(totalFailedCount).withSuccess(totalSuccessCount).withTotal(totalRequests); Stats stats = new Stats().withFailed(totalFailedCount).withSuccess(totalSuccessCount).withTotal(totalRequests);
FailureDetails hasFailureDetails = batchHasFailures ? failureDetails : null; FailureDetails hasFailureDetails = batchHasFailures ? failureDetails : null;
updateElasticSearchStatus(status, hasFailureDetails, stats); updateElasticSearchStatus(status, hasFailureDetails, stats);
@ -77,7 +77,7 @@ public class BulkProcessorListener implements BulkProcessor.Listener {
public void afterBulk(long executionId, BulkRequest bulkRequest, Throwable throwable) { public void afterBulk(long executionId, BulkRequest bulkRequest, Throwable throwable) {
LOG.error("Failed to execute bulk", throwable); LOG.error("Failed to execute bulk", throwable);
updateFailedAndSuccess(bulkRequest.numberOfActions(), 0); 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); Stats stats = new Stats().withFailed(totalFailedCount).withSuccess(totalSuccessCount).withTotal(totalRequests);
FailureDetails hasFailureDetails = FailureDetails hasFailureDetails =
new FailureDetails() new FailureDetails()

View File

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

View File

@ -52,7 +52,7 @@
"type": "string" "type": "string"
}, },
"webhookType": { "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" "$ref": "../../entity/events/webhook.json#/definitions/webhookType"
} }
}, },

View File

@ -58,7 +58,7 @@
"type": "string" "type": "string"
}, },
"verifyCertificateHostname": { "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", "type": "boolean",
"default": false "default": false
} }

View File

@ -2,7 +2,7 @@
"$id": "https://open-metadata.org/schema/auth/loginRequest.json", "$id": "https://open-metadata.org/schema/auth/loginRequest.json",
"$schema": "http://json-schema.org/draft-07/schema#", "$schema": "http://json-schema.org/draft-07/schema#",
"title": "LoginRequest", "title": "LoginRequest",
"description": "This schema defines Email Verfication Token Schema.", "description": "This schema defines Email Verification Token Schema.",
"type": "object", "type": "object",
"javaType": "org.openmetadata.schema.auth.LoginRequest", "javaType": "org.openmetadata.schema.auth.LoginRequest",
"properties": { "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#", "$schema": "http://json-schema.org/draft-07/schema#",
"title": "DailyActiveUsers", "title": "DailyActiveUsers",
"description": "dailyActiveUsers data blob", "description": "dailyActiveUsers data blob",
"type": "object", "type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.DailyActiveUsers", "javaType": "org.openmetadata.schema.dataInsight.type.DailyActiveUsers",
"properties": { "properties": {
"timestamp": { "timestamp": {
"description": "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#", "$schema": "http://json-schema.org/draft-07/schema#",
"title": "MostActiveUsers", "title": "MostActiveUsers",
"description": "pageViewsByEntities data blob", "description": "pageViewsByEntities data blob",
"type": "object", "type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.MostActiveUsers", "javaType": "org.openmetadata.schema.dataInsight.type.MostActiveUsers",
"properties": { "properties": {
"userName": { "userName": {
"description": "Name of a user", "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#", "$schema": "http://json-schema.org/draft-07/schema#",
"title": "MostViewedEntities", "title": "MostViewedEntities",
"description": "pageViewsByEntities data blob", "description": "pageViewsByEntities data blob",
"type": "object", "type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.MostViewedEntities", "javaType": "org.openmetadata.schema.dataInsight.type.MostViewedEntities",
"properties": { "properties": {
"entityFqn": { "entityFqn": {
"description": "Number of page views", "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#", "$schema": "http://json-schema.org/draft-07/schema#",
"title": "PageViewsByEntities", "title": "PageViewsByEntities",
"description": "pageViewsByEntities data blob", "description": "pageViewsByEntities data blob",
"type": "object", "type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.PageViewsByEntities", "javaType": "org.openmetadata.schema.dataInsight.type.PageViewsByEntities",
"properties": { "properties": {
"timestamp": { "timestamp": {
"description": "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#", "$schema": "http://json-schema.org/draft-07/schema#",
"title": "PercentageOfEntitiesWithDescriptionByType", "title": "PercentageOfEntitiesWithDescriptionByType",
"description": "percentageOfEntitiesWithDescriptionByType data blob", "description": "percentageOfEntitiesWithDescriptionByType data blob",
"type": "object", "type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.PercentageOfEntitiesWithDescriptionByType", "javaType": "org.openmetadata.schema.dataInsight.type.PercentageOfEntitiesWithDescriptionByType",
"properties": { "properties": {
"timestamp": { "timestamp": {
"description": "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#", "$schema": "http://json-schema.org/draft-07/schema#",
"title": "PercentageOfEntitiesWithOwnerByType", "title": "PercentageOfEntitiesWithOwnerByType",
"description": "percentageOfEntitiesWithOwnerByType data blob", "description": "percentageOfEntitiesWithOwnerByType data blob",
"type": "object", "type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.PercentageOfEntitiesWithOwnerByType", "javaType": "org.openmetadata.schema.dataInsight.type.PercentageOfEntitiesWithOwnerByType",
"properties": { "properties": {
"timestamp": { "timestamp": {
"description": "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#", "$schema": "http://json-schema.org/draft-07/schema#",
"title": "TotalEntitiesByTier", "title": "TotalEntitiesByTier",
"description": "totalEntitiesByTier data blob", "description": "totalEntitiesByTier data blob",
"type": "object", "type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.TotalEntitiesByTier", "javaType": "org.openmetadata.schema.dataInsight.type.TotalEntitiesByTier",
"properties": { "properties": {
"timestamp": { "timestamp": {
"description": "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#", "$schema": "http://json-schema.org/draft-07/schema#",
"title": "TotalEntitiesByType", "title": "TotalEntitiesByType",
"description": "totalEntitiesByType data blob", "description": "totalEntitiesByType data blob",
"type": "object", "type": "object",
"javaType": "org.openmetadata.schema.datatInsight.type.TotalEntitiesByType", "javaType": "org.openmetadata.schema.dataInsight.type.TotalEntitiesByType",
"properties": { "properties": {
"timestamp": { "timestamp": {
"description": "timestamp", "description": "timestamp",

View File

@ -8,7 +8,7 @@
"javaInterfaces": ["org.openmetadata.schema.EntityInterface"], "javaInterfaces": ["org.openmetadata.schema.EntityInterface"],
"definitions": { "definitions": {
"webhookType": { "webhookType": {
"description": "Type of webhook slack, generic, msteams, etc.", "description": "Type of webhook Slack, Generic, MS Teams, etc.",
"type": "string", "type": "string",
"javaType": "org.openmetadata.schema.type.WebhookType", "javaType": "org.openmetadata.schema.type.WebhookType",
"default": "generic", "default": "generic",
@ -44,7 +44,7 @@
"type": "string" "type": "string"
}, },
"webhookType": { "webhookType": {
"description": "Type of webhook slack, generic, msteams, etc.", "description": "Type of webhook Slack, Generic, MS Teams, etc.",
"$ref": "#/definitions/webhookType" "$ref": "#/definitions/webhookType"
}, },
"description": { "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#", "$schema": "http://json-schema.org/draft-07/schema#",
"title": "DomoDashboardConnection", "title": "DomoDashboardConnection",
"description": "Domo Dasboard Connection Config", "description": "Domo Dashboard Connection Config",
"type": "object", "type": "object",
"javaType": "org.openmetadata.schema.services.connections.dashboard.DomoDashboardConnection", "javaType": "org.openmetadata.schema.services.connections.dashboard.DomoDashboardConnection",
"definitions": { "definitions": {
"domodashboardType": { "domoDashboardType": {
"description": " service type", "description": " service type",
"type": "string", "type": "string",
"enum": ["DomoDashboard"], "enum": ["DomoDashboard"],
@ -17,7 +17,7 @@
"type": { "type": {
"title": "Service Type", "title": "Service Type",
"description": "Service Type", "description": "Service Type",
"$ref": "#/definitions/domodashboardType", "$ref": "#/definitions/domoDashboardType",
"default": "DomoDashboard" "default": "DomoDashboard"
}, },
"clientId": { "clientId": {
@ -33,7 +33,7 @@
}, },
"accessToken": { "accessToken": {
"title": "Access Token", "title": "Access Token",
"description": "Access to connecto to DOMO", "description": "Access token to connect to to DOMO",
"type": "string" "type": "string"
}, },
"apiHost": { "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#", "$schema": "http://json-schema.org/draft-07/schema#",
"title": "DomoDatabaseConnection", "title": "DomoDatabaseConnection",
"description": "Domo Database Connection Config", "description": "Domo Database Connection Config",
"type": "object", "type": "object",
"javaType": "org.openmetadata.schema.services.connections.database.DomoDatabaseConnection", "javaType": "org.openmetadata.schema.services.connections.database.DomoDatabaseConnection",
"definitions": { "definitions": {
"domodatabaseType": { "domoDatabaseType": {
"description": " service type", "description": " service type",
"type": "string", "type": "string",
"enum": ["DomoDatabase"], "enum": ["DomoDatabase"],
@ -17,7 +17,7 @@
"type": { "type": {
"title": "Service Type", "title": "Service Type",
"description": "Service Type", "description": "Service Type",
"$ref": "#/definitions/domodatabaseType", "$ref": "#/definitions/domoDatabaseType",
"default": "DomoDatabase" "default": "DomoDatabase"
}, },
"clientId": { "clientId": {
@ -33,7 +33,7 @@
}, },
"accessToken": { "accessToken": {
"title": "Access Token", "title": "Access Token",
"description": "Access to connecto to DOMO", "description": "Access token to connect to DOMO",
"type": "string" "type": "string"
}, },
"apiHost": { "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#", "$schema": "http://json-schema.org/draft-07/schema#",
"title": "DomoPipelineConnection", "title": "DomoPipelineConnection",
"description": "Domo Pipeline Connection Config", "description": "Domo Pipeline Connection Config",

View File

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

View File

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

View File

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

View File

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

View File

@ -195,7 +195,7 @@
"type": "string" "type": "string"
}, },
"pipelineRunId": { "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" "$ref": "../type/basic.json#/definitions/uuid"
} }
}, },

View File

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

View File

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

View File

@ -23,7 +23,7 @@ import databricksConnection from '../jsons/connectionSchemas/connections/databas
import DatalakeConnection from '../jsons/connectionSchemas/connections/database/datalakeConnection.json'; import DatalakeConnection from '../jsons/connectionSchemas/connections/database/datalakeConnection.json';
import db2Connection from '../jsons/connectionSchemas/connections/database/db2Connection.json'; import db2Connection from '../jsons/connectionSchemas/connections/database/db2Connection.json';
import deltaLakeConnection from '../jsons/connectionSchemas/connections/database/deltaLakeConnection.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 druidConnection from '../jsons/connectionSchemas/connections/database/druidConnection.json';
import dynamoDBConnection from '../jsons/connectionSchemas/connections/database/dynamoDBConnection.json'; import dynamoDBConnection from '../jsons/connectionSchemas/connections/database/dynamoDBConnection.json';
import glueConnection from '../jsons/connectionSchemas/connections/database/glueConnection.json'; import glueConnection from '../jsons/connectionSchemas/connections/database/glueConnection.json';
@ -178,7 +178,7 @@ export const getDatabaseConfig = (type: DatabaseServiceType) => {
break; break;
} }
case DatabaseServiceType.DomoDatabase: { case DatabaseServiceType.DomoDatabase: {
schema = domodatabaseConnection; schema = domoDatabaseConnection;
break; 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 airflowConnection from '../jsons/connectionSchemas/connections/pipeline/airflowConnection.json';
import customPipelineConnection from '../jsons/connectionSchemas/connections/pipeline/customPipelineConnection.json'; import customPipelineConnection from '../jsons/connectionSchemas/connections/pipeline/customPipelineConnection.json';
import dagsterConnection from '../jsons/connectionSchemas/connections/pipeline/dagsterConnection.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 fivetranConnection from '../jsons/connectionSchemas/connections/pipeline/fivetranConnection.json';
import gluePipelineConnection from '../jsons/connectionSchemas/connections/pipeline/gluePipelineConnection.json'; import gluePipelineConnection from '../jsons/connectionSchemas/connections/pipeline/gluePipelineConnection.json';
import nifiConnection from '../jsons/connectionSchemas/connections/pipeline/nifiConnection.json'; import nifiConnection from '../jsons/connectionSchemas/connections/pipeline/nifiConnection.json';
@ -61,7 +61,7 @@ export const getPipelineConfig = (type: PipelineServiceType) => {
break; break;
} }
case PipelineServiceType.DomoPipeline: { case PipelineServiceType.DomoPipeline: {
schema = domopipelineConnection; schema = domoPipelineConnection;
break; break;
} }