Socket
Book a DemoInstallSign in
Socket

cells-platform-tests-composer-catalog

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

cells-platform-tests-composer-catalog

Cells Platform Integration tests Composer vs Catalog

unpublished
latest
npmnpm
Version
0.1.5
Version published
Maintainers
1
Created
Source

Composer vs Catalog Integration Tests

IMPORTANT: This module works running npm test, but should be configured as a dependency of cells-platform module in order to work properly. This is because all modules needed are provided by a previous step on cells-platform validation pipeline.

This module build a integration tests environment with elements provided by cells-platform. This 2 elements are necessary:

  • Composer (inside a docker image)
  • Catalog (packed ass a tar.gz file)

All modules configuration are provided by tests.json generated by resolve-deps step in validation process. This is the minimum tests.json required:

{
  "catalog": {
    "type": "http",
    "dependencies": [
      "http://bbva-files.s3.amazonaws.com/cells/catalog-data/versions/{{version}}/specsFile.tar.gz"
    ],
    "version": "1.5.2"
  },
  "composer": {
    "type": "docker",
    "dependencies": {
      "catalog": "cellsbox/composer-catalog-compatibility",
      "bridge": "cellsbox/composer-core-compatibility"
    },
    "version": "0.0.5"
  },
  "dockerRegistry": "52.210.54.51:5000"
}

It checks that composer say ok to catalog version

  • Starts a http daemon with the catalog configured file
  • Starts composer as a daemon
  • Send a request to check the provided catalog file.
 Composer-Catalog compatibility checks
    ✓ Should composer docker image validate catalog bundle file (30805ms)

Keywords

cells-platform-tests

FAQs

Package last updated on 21 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts