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

Add valid values for files plus various code recator and fixes #7977

Merged
merged 2 commits into from
Dec 30, 2023
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion CocoComboGUIDMap.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion OpenConnectorsArchiveGUIDMap.json

Large diffs are not rendered by default.

24 changes: 16 additions & 8 deletions application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@
################################################
server.port=9443

###############################################
### Set up the configuration document store the OMAG Server Platform
### The values below will set up the clear text config document store
### (the default is the encrypted config document store).
################################################
#platform.configstore.provider=org.odpi.openmetadata.adapters.adminservices.configurationstore.file.FileBasedServerConfigStoreProvider
#platform.configstore.endpoint=data/servers/{0}/config/{0}.config

################################################
### startup servers configuration
################################################
#userId used to start up the list of configured servers default is 'system'
startup.user=system
# Comma separated names of servers to be started. The server names should be unquoted.
#startup.server.list=active-metadata-store,integration-daemon

################################################
### SSL security.
# The keystore determines the information sent out by the server to identify itself.
Expand Down Expand Up @@ -133,14 +149,6 @@ role.visibleComponents.COCO_PHARMA_ADMIN=*
################################################
scan.packages=org.odpi.openmetadata.*

################################################
### startup servers configuration
################################################
#userId used to start up the list of configured servers default is 'system'
startup.user=system
# Comma separated names of servers to be started. The server names should be unquoted.
startup.server.list=

################################################
### Logging
################################################
Expand Down
2 changes: 1 addition & 1 deletion content-packs/CocoBusinessSystemsArchive.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoBusinessSystemsArchive.omarchive

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoClinicalTrialsTemplatesArchive.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"class":"OpenMetadataArchive","archiveProperties":{"class":"OpenMetadataArchiveProperties","archiveGUID":"74a786b2-d6d7-401d-b8c1-7d798f752c55","archiveName":"Coco Pharmaceuticals Clinical Trials Templates","archiveDescription":"Templates for new assets relating to a clinical trial.","archiveType":"CONTENT_PACK","originatorName":"Egeria Project","originatorLicense":"Apache 2.0","creationDate":1701964927588,"dependsOnArchives":["bce3b0a0-662a-4f87-b8dc-844078a11a6e"]}}
{"class":"OpenMetadataArchive","archiveProperties":{"class":"OpenMetadataArchiveProperties","archiveGUID":"74a786b2-d6d7-401d-b8c1-7d798f752c55","archiveName":"Coco Pharmaceuticals Clinical Trials Templates","archiveDescription":"Templates for new assets relating to a clinical trial.","archiveType":"CONTENT_PACK","originatorName":"Egeria Project","originatorLicense":"Apache 2.0","creationDate":1703845830271,"dependsOnArchives":["bce3b0a0-662a-4f87-b8dc-844078a11a6e"]}}
2 changes: 1 addition & 1 deletion content-packs/CocoClinicalTrialsTemplatesArchive.omarchive
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"class":"OpenMetadataArchive","archiveProperties":{"class":"OpenMetadataArchiveProperties","archiveGUID":"74a786b2-d6d7-401d-b8c1-7d798f752c55","archiveName":"Coco Pharmaceuticals Clinical Trials Templates","archiveDescription":"Templates for new assets relating to a clinical trial.","archiveType":"CONTENT_PACK","originatorName":"Egeria Project","originatorLicense":"Apache 2.0","creationDate":1702387089899,"dependsOnArchives":["bce3b0a0-662a-4f87-b8dc-844078a11a6e"]}}
{"class":"OpenMetadataArchive","archiveProperties":{"class":"OpenMetadataArchiveProperties","archiveGUID":"74a786b2-d6d7-401d-b8c1-7d798f752c55","archiveName":"Coco Pharmaceuticals Clinical Trials Templates","archiveDescription":"Templates for new assets relating to a clinical trial.","archiveType":"CONTENT_PACK","originatorName":"Egeria Project","originatorLicense":"Apache 2.0","creationDate":1703845830271,"dependsOnArchives":["bce3b0a0-662a-4f87-b8dc-844078a11a6e"]}}
2 changes: 1 addition & 1 deletion content-packs/CocoComboArchive.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoComboArchive.omarchive

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoGovernanceEngineDefinitionsArchive.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"class":"OpenMetadataArchive","archiveProperties":{"class":"OpenMetadataArchiveProperties","archiveGUID":"9cbd2b33-e80f-4df2-adc6-d859ebff4c34","archiveName":"CocoGovernanceEngineDefinitions","archiveDescription":"Governance Engine for Coco Pharmaceuticals.","archiveType":"CONTENT_PACK","originatorName":"Egeria Project","originatorLicense":"Apache 2.0","creationDate":1702387089986,"dependsOnArchives":["bce3b0a0-662a-4f87-b8dc-844078a11a6e"]},"archiveInstanceStore":{"class":"OpenMetadataArchiveInstanceStore","entities":[{"class":"EntityDetail","headerVersion":1,"type":{"class":"InstanceType","headerVersion":1,"typeDefCategory":"ENTITY_DEF","typeDefGUID":"be650674-790b-487a-a619-0a9002488055","typeDefName":"OpenDiscoveryEngine","typeDefVersion":2},"instanceProvenanceType":"CONTENT_PACK","metadataCollectionId":"9cbd2b33-e80f-4df2-adc6-d859ebff4c34","metadataCollectionName":"CocoGovernanceEngineDefinitions","createdBy":"Egeria Project","createTime":1702387089986,"version":1,"guid":"1a2878f6-35ab-4984-b3c9-953124a22d9a","properties":{"class":"InstanceProperties","headerVersion":1,"instanceProperties":{"name":{"class":"PrimitivePropertyValue","headerVersion":1,"instancePropertyCategory":"PRIMITIVE","typeGUID":"b34a64b9-554a-42b1-8f8a-7d5c2339f9c4","typeName":"string","primitiveDefCategory":"OM_PRIMITIVE_TYPE_STRING","primitiveValue":"AssetQuality Open Discovery Engine"},"description":{"class":"PrimitivePropertyValue","headerVersion":1,"instancePropertyCategory":"PRIMITIVE","typeGUID":"b34a64b9-554a-42b1-8f8a-7d5c2339f9c4","typeName":"string","primitiveDefCategory":"OM_PRIMITIVE_TYPE_STRING","primitiveValue":"Assess the quality of a digital resource identified by the asset in the request."},"qualifiedName":{"class":"PrimitivePropertyValue","headerVersion":1,"instancePropertyCategory":"PRIMITIVE","typeGUID":"b34a64b9-554a-42b1-8f8a-7d5c2339f9c4","typeName":"string","primitiveDefCategory":"OM_PRIMITIVE_TYPE_STRING","primitiveValue":"AssetQuality"}}},"status":"ACTIVE"}]}}
{"class":"OpenMetadataArchive","archiveProperties":{"class":"OpenMetadataArchiveProperties","archiveGUID":"9cbd2b33-e80f-4df2-adc6-d859ebff4c34","archiveName":"CocoGovernanceEngineDefinitions","archiveDescription":"Governance Engine for Coco Pharmaceuticals.","archiveType":"CONTENT_PACK","originatorName":"Egeria Project","originatorLicense":"Apache 2.0","creationDate":1703845830373,"dependsOnArchives":["bce3b0a0-662a-4f87-b8dc-844078a11a6e"]},"archiveInstanceStore":{"class":"OpenMetadataArchiveInstanceStore","entities":[{"class":"EntityDetail","headerVersion":1,"type":{"class":"InstanceType","headerVersion":1,"typeDefCategory":"ENTITY_DEF","typeDefGUID":"be650674-790b-487a-a619-0a9002488055","typeDefName":"OpenDiscoveryEngine","typeDefVersion":2},"instanceProvenanceType":"CONTENT_PACK","metadataCollectionId":"9cbd2b33-e80f-4df2-adc6-d859ebff4c34","metadataCollectionName":"CocoGovernanceEngineDefinitions","createdBy":"Egeria Project","createTime":1703845830373,"version":1,"guid":"1a2878f6-35ab-4984-b3c9-953124a22d9a","properties":{"class":"InstanceProperties","headerVersion":1,"instanceProperties":{"name":{"class":"PrimitivePropertyValue","headerVersion":1,"instancePropertyCategory":"PRIMITIVE","typeGUID":"b34a64b9-554a-42b1-8f8a-7d5c2339f9c4","typeName":"string","primitiveDefCategory":"OM_PRIMITIVE_TYPE_STRING","primitiveValue":"AssetQuality Open Discovery Engine"},"description":{"class":"PrimitivePropertyValue","headerVersion":1,"instancePropertyCategory":"PRIMITIVE","typeGUID":"b34a64b9-554a-42b1-8f8a-7d5c2339f9c4","typeName":"string","primitiveDefCategory":"OM_PRIMITIVE_TYPE_STRING","primitiveValue":"Assess the quality of a digital resource identified by the asset in the request."},"qualifiedName":{"class":"PrimitivePropertyValue","headerVersion":1,"instancePropertyCategory":"PRIMITIVE","typeGUID":"b34a64b9-554a-42b1-8f8a-7d5c2339f9c4","typeName":"string","primitiveDefCategory":"OM_PRIMITIVE_TYPE_STRING","primitiveValue":"AssetQuality"}}},"status":"ACTIVE"}]}}
2 changes: 1 addition & 1 deletion content-packs/CocoGovernanceProgramArchive.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoGovernanceProgramArchive.omarchive

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoOrganizationArchive.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoOrganizationArchive.omarchive

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoSustainabilityArchive.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoSustainabilityArchive.omarchive

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/CocoTypesArchive.omarchive

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/OpenConnectorsArchive.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/OpenConnectorsArchive.omarchive

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/OpenMetadataTypes.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content-packs/OpenMetadataTypes.omarchive

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.List;

import static com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility.NONE;
Expand All @@ -20,10 +19,8 @@
@JsonAutoDetect(getterVisibility=PUBLIC_ONLY, setterVisibility=PUBLIC_ONLY, fieldVisibility=NONE)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown=true)
public class OpenMetadataConformanceProfileResults implements Serializable
public class OpenMetadataConformanceProfileResults
{
private static final long serialVersionUID = 1L;

private Integer id = 0;
private String name = null;
private String description = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,24 @@ public abstract class OpenMetadataTestCase
protected ExceptionBean exceptionBean = null;
protected String successMessage = null;

/*
/**
* Enumerated type for control of multiphase tests
*/
public enum TestPhase
{
/**
* Set up test
*/
SEED,

/**
* Run test
*/
EXECUTE,

/**
* clear up after test
*/
CLEAN
}

Expand Down
Loading
Loading