• Jump To … +
    support/check_manifest.js support/create_worker_pool.js support/message_parser.js support/microservice_creator.js support/microservice_event_setter.js support/monitor.js support/shutdown_microservices.js
  • ¶

    Arc | Support

    Check Manifest

    • Arc can check the microservice manifest object
    module.exports = (manifest = {}) => {
  • ¶

    TODO: Arc will check the values according to a schema using indicative

    • Pivotal Story
      return new Promise((resolve) => {
        if(Object.keys(manifest).length === 0 && manifest.constructor === Object) {
          console.error(`This Arc manifest is empty!`.red);
        }
  • ¶

    Then the manifest check will return the manifest

        resolve(manifest);
      });
    };