Class ChronologyStoreVerifier

java.lang.Object
network.ike.knowledge.provider.ChronologyStoreVerifier
All Implemented Interfaces:
network.ike.knowledge.spi.KnowledgeService<network.ike.knowledge.spi.VerifyRequest, network.ike.knowledge.spi.VerifyReport>, network.ike.knowledge.spi.KnowledgeVerifier

public final class ChronologyStoreVerifier extends Object implements network.ike.knowledge.spi.KnowledgeVerifier
The chronology-store KnowledgeVerifier: assembles a pristine throwaway store from the declared base plus the artifact under verification and runs the requested checks against it — never against the store that produced the artifact (IKE-Network/ike-issues#852, #951).

Implemented checks:

  • VerifyRequest.Check.PRESENCE — the artifact loads into the pristine store with its own manifest verification and count-equality check intact: the exact gate a consumer's import runs, moved into the build.
  • VerifyRequest.Check.FIT_REFERENCES — every loaded entity survives the protobuf transform, which resolves every reference it serializes: a reference to a component with no entity and no resolvable public id is reported with the carrying entity named.
Any other requested check fails closed with an Finding.Severity.ERROR: a check this provider cannot run must never read as a check that passed.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates the provider (ServiceLoader requirement).
  • Method Summary

    Modifier and Type
    Method
    Description
    network.ike.knowledge.spi.VerifyReport
    verify(network.ike.knowledge.spi.VerifyRequest request)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface network.ike.knowledge.spi.KnowledgeVerifier

    execute, requestFromProperties, resultToProperties
  • Constructor Details

    • ChronologyStoreVerifier

      public ChronologyStoreVerifier()
      Creates the provider (ServiceLoader requirement).
  • Method Details

    • verify

      public network.ike.knowledge.spi.VerifyReport verify(network.ike.knowledge.spi.VerifyRequest request)
      Specified by:
      verify in interface network.ike.knowledge.spi.KnowledgeVerifier