solace_applicationsolace_application_domainsolace_application_versionsolace_configurationsolace_configuration_typesolace_consumersolace_custom_attribute_definitionsolace_datacentersolace_enumsolace_enum_versionsolace_environmentsolace_eventsolace_event_broker_servicesolace_event_broker_service_detailsolace_event_broker_service_versionsolace_event_management_agentsolace_event_meshsolace_event_versionsolace_eventapisolace_eventapi_productsolace_eventapi_product_versionsolace_eventapi_versionsolace_lifecycle_statesolace_messaging_servicesolace_schemasolace_schema_versionsolace_service_classsolace_topic_domain
Table: solace_enum
In Event Portal, a schema defines the payload of an event. Producers and consumers of an event can both understand an event's payload based on the schema definition assigned to the event. Some events need complex schemas to describe the properties of each value that could be used in the event.
Key columns
- Provide a numeric
id
if you want to query for a specific schema. This can be either set directly in awhere
clause, or specified as part ofjoin
with another table.
Caveat
- Be careful when requesting all columns (
*
) without using anid
in the query. To load this data, Steampipe will have to issue multiple API request to retrieve all resources (essentially issuing a paginated queries).
Examples
List of all Schemas
select s.name as schema, sv.version as version, sv.display_name as versionNamefrom solace_schema s join solace_schema_version sv on sv.schema_id = s.idwhere s.id = '08ctmc2lyp6';-- or a simplified versionselect id, namefrom solace_schema;
Details of a Schema
select id, name, application_domain_id, shared, schema_type, number_of_versions, created_time, created_by, changed_by, updated_timefrom solace_schemawhere id = 'n5o4xx2fh62';
List Schemas that have been created in the last 30 days
select id, name, application_domain_id, shared, schema_type, number_of_versions, created_time, created_by, changed_by, updated_timefrom solace_schemawhere created_time >= now() - interval '30' day;
List Schemas that have not been updated in the last 10 days
select id, name, application_domain_id, shared, schema_type, number_of_versions, created_time, created_by, changed_by, updated_timefrom solace_schemawhere updated_time <= now() - interval '10' day;