npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@onlineapps/conn-orch-validator

v2.0.13

Published

Validation orchestrator for OA Drive microservices - coordinates validation across all layers (base, infra, orch, business)

Readme

@onlineapps/conn-orch-validator

Validation Orchestrator for OA Drive Microservices

Coordinates validation across ALL layers (base, infra, orch, business) to ensure service + connectors work correctly together.

Purpose

This is NOT a development testing tool. This is a production validation orchestrator that:

  1. Validates service structure - directories, files, configuration
  2. Validates configuration - config.json, operations.json compliance
  3. Validates business logic - cookbook tests with mocked infrastructure
  4. Validates HTTP API - endpoints respond correctly
  5. Validates connector integration - all connectors work with service
  6. Generates validation proof - cryptographic SHA256 proof for registry

Used in Tier 1 Pre-Validation (offline, before registration) and invoked automatically by ServiceWrapper.

Quick Start

You don't use this directly! ServiceWrapper handles validation automatically:

// services/my-service/index.js
const { ServiceWrapper } = require('@onlineapps/service-wrapper');

const wrapper = new ServiceWrapper({
  service: app,
  serviceRoot: __dirname
});

// Validation happens automatically
await wrapper.initialize();

No test files needed in business service!


Validation Process (6 Steps)

  1. Service Structure - directories and files exist
  2. Config Files - valid JSON, required fields
  3. Operations Compliance - follows OPERATIONS.md standard
  4. Cookbook Tests - business logic + integration (MOCKED infra)
  5. Service Readiness - HTTP API works
  6. Connector Integration - all connectors functional

Output: Validation proof saved to conn-runtime/validation-proof.json


Runtime Directory Structure

services/my-service/
├── conn-config/              ← Static (gitignored: NO)
│   ├── config.json
│   └── operations.json
├── conn-runtime/             ← Runtime (gitignored: YES)
│   ├── validation-proof.json
│   └── cache/
└── .gitignore

Validation Proof Structure

Location: conn-runtime/validation-proof.json

{
  "validationProof": "sha256-hash-of-validationData",
  "validationData": {
    "serviceName": "hello-service",
    "version": "1.0.0",
    "validator": "@onlineapps/conn-orch-validator",
    "validatorVersion": "2.0.6",
    "validatedAt": "2025-10-22T10:30:45.123Z",
    "testsRun": 15,
    "testsPassed": 15,
    "testsFailed": 0,
    "durationMs": 234
  }
}

Proof Lifecycle:

  • Valid for: 30 days OR until service fingerprint changes
  • Fingerprint: SHA256 hash of (version + operations + dependencies + config)
  • Revalidation: Automatic if proof missing/invalid/expired
  • Registry: Accepts service with valid proof (skips Tier 2 validation)

Related Documentation


Last updated: 2025-10-22