Class CloudEventsImpl

java.lang.Object
com.eqixiac.equinix.fabric.client.implementation.CloudEventsImpl
All Implemented Interfaces:
CloudEvents

public class CloudEventsImpl extends Object implements CloudEvents
Default CloudEvents implementation.
  • Constructor Details

    • CloudEventsImpl

      public CloudEventsImpl()
  • Method Details

    • search

      Description copied from interface: CloudEvents
      Searches cloud events with a filter built by a CloudEventQuery.
      Specified by:
      search in interface CloudEvents
      Parameters:
      query - the query (scoped by subject, project or organization)
      Returns:
      a paginated, filtered list of matching cloud events
    • search

      Description copied from interface: CloudEvents
      Searches cloud events with a CloudEventQuery and a sort order.
      Specified by:
      search in interface CloudEvents
      Parameters:
      query - the query
      sort - the sort criteria, or null
      Returns:
      a paginated, filtered list of matching cloud events
    • search

      Description copied from interface: CloudEvents
      Searches cloud events with a hand-built filter.
      Specified by:
      search in interface CloudEvents
      Parameters:
      filter - the filter; it must contain /subject, /equinixproject or /equinixorganization
      sort - the sort criteria, or null
      Returns:
      a paginated, filtered list of matching cloud events
    • getByUuid

      public CloudEvent getByUuid(String uuid)
      Description copied from interface: CloudEvents
      Retrieves a single cloud event by its unique identifier.
      Specified by:
      getByUuid in interface CloudEvents
      Parameters:
      uuid - the unique identifier of the cloud event
      Returns:
      the cloud event matching the given UUID
    • searchLiveEvents

      public PaginatedFilteredList<CloudEvent> searchLiveEvents(String... subjects)
      Description copied from interface: CloudEvents
      Returns the last operational event of each given subject (POST /fabric/v4/liveEvents/search), for example the current port-status alert.

      Live behaviour (observed 2026-11-11): exact subjects such as /fabric/v4/ports/{uuid} work with IN; an empty filter answers HTTP 500 and a wildcard subject is rejected, so at least one exact subject is required.

      Specified by:
      searchLiveEvents in interface CloudEvents
      Parameters:
      subjects - the exact subject paths (at least one)
      Returns:
      a paginated, filtered list of the live events