components/global/core/io.cellery.observability.k8s.client/src/test/java/io/cellery/observability/k8s/client/BaseTestCase.java
Cell generateCell(String cellName, Gateway gateway, List<Component> components) {
        CellSpec cellSpec = new CellSpec();
        cellSpec.setGateway(gateway);
        cellSpec.setComponents(components);

        CellImpl cell = new CellImpl();
        cell.setMetadata(new ObjectMetaBuilder()
                .withName(cellName)
                .withCreationTimestamp(CREATION_TIMESTAMP_STRING)
                .build());
        cell.setSpec(cellSpec);
        return cell;
    }
/**
     * Generate a K8s Cell object.
     * The returned Cell can be used as one of the returned Cells in K8s Mock Server in expectation mode.
     *
     * @param cellName The name of the Cell
     * @param gateway The gateway template to be used
     * @param components The list of service templates
     * @return The generated Cell
     */
Generate a K8s Cell object.
The returned Cell can be used as one of the returned Cells in K8s Mock Server in expectation mode.

@param cellName The name of the Cell
@param gateway The gateway template to be used
@param components The list of service templates
@return The generated Cell
Generate a K8s Cell object . The returned Cell can be used as one of the returned Cells in K8s Mock Server in expectation mode . @param cellName The name of the Cell @param gateway The gateway template to be used @param components The list of service templates @return The generated Cell
Cell generateCell(String cellName, Gateway gateway, List<Component> components) {
        CellSpec cellSpec = new CellSpec();
        cellSpec.setGateway(gateway);
        cellSpec.setComponents(components);
        CellImpl cell = new CellImpl();
        cell.setMetadata(new ObjectMetaBuilder()
                .withName(cellName)
                .withCreationTimestamp(CREATION_TIMESTAMP_STRING)
                .build());
        cell.setSpec(cellSpec);
        return cell;
    }
Cell generateCell ( String cellName , Gateway gateway , List < Component > components ) { CellSpec cellSpec = new CellSpec ( ) ; cellSpec . setGateway ( gateway ) ; cellSpec . setComponents ( components ) ; CellImpl cell = new CellImpl ( ) ; cell . setMetadata ( new ObjectMetaBuilder ( ) . withName ( cellName ) . withCreationTimestamp ( CREATION_TIMESTAMP_STRING ) . build ( ) ) ; cell . setSpec ( cellSpec ) ; return cell ; }
Generate a K8s Cell object.
Generate a K8s Cell object .