All files / core/blong-gogo/src/codec server.ts

100% Statements 22/22
100% Branches 3/3
100% Functions 0/0
100% Lines 22/22

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 237x 7x 7x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x  
import {realm} from '@feasibleone/blong/types';
 
export default realm(blong => ({
    url: import.meta.url,
    validation: blong.type.Object({}),
    children: ['./adapter', './test'],
    config: {
        default: {
            adapter: true,
            // The codec realm turns a transport into handlers; it is plumbing every process carries,
            // not a service a deployment publishes and not a companion a microservice repeats on its
            // own (D-433). Declared in `default` because the answer is the same in every intent — the
            // operator runs `release`, so a block beside `default` would never be merged.
            k8s: {k8sRealmRole: 'none'},
        },
        dev: {},
        microservice: {},
        integration: {
            test: true,
        },
    },
}));