UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

93 lines (92 loc) 3.92 kB
/** * Copyright Super iPaaS Integration LLC, an IBM Company 2024 */ export const MESSAGES = { //GENERAL '0001': '{0} Logger is getting Initialized', '0002': 'Received {0} request for {1}.', '0003': '{0}', '0004': 'Error: {0}', '0005': 'Making {0} request to {1}', '0006': '{0} request to {1} successful.', '0007': '{0} request error: {1}', '0008': 'Unsupported data type: {0}', '0009': '{0} error: {1}', '0010': 'Response recieved: {0}', '0011': 'Parsed request body: {0}', '0012': 'Failed to parse error message. Error: {0}', '0013': 'Error {0}: {1}', //LINT '0051': 'Lint type received: {0}', '0052': 'Invalid lint type specified: {0}', '0053': 'Lint Configuration - Protocol: {0}, Domain: {1}, Port: {2}', '0054': 'Processing data of type: {0}', '0055': 'Data Type: {0} is not supported for linting.', '0056': 'Lint Response: {0}', '0057': 'The domain value is {0} and port is {1}.', '0058': 'Using endpoint: {0}', //DEPLOY '0101': 'Processing file upload: {0}', '0102': 'File upload failed due to: {0}', '0103': 'Deployment succeeded for file: {0}', '0104': 'Deployment failed for file: {0}. Reason: {1}', '0105': 'Starting deployment process for {0} gateways.', '0106': 'Deploying to gateway: {0}', '0107': 'Successfully deployed to gateway: {0}', '0108': 'Preparing to send request to gateway: {0}', //LOGGER '0151': 'Logger not found for component: {0}', '0152': 'Log level for component {0} updated to {1}', '0153': 'Error updating log level: {0}', //TEST '0201': 'File buffer read successfully for {0}', '0202': 'Error added to Response - Code: {0}, Field: {1}, Description: {2}', '0203': 'Constructed error response with {0} errors.', '0204': 'Starting {0} validation', '0205': 'Invalid or empty endpoint for reference {0}', '0206': '{0} validation completed successfully', '0207': 'Validation failed for reference {0}', '0208': 'Processing test file: {0}', '0209': 'Test file: {0} processed successfully', '0210': 'Attempting to retrieve entry: {0}', '0211': 'File retrieved: {0}', '0212': 'Fetching API endpoints for {0}', '0213': 'Creating collection for: {0}', '0214': 'Collection created successfully for: {0}', '0215': 'Starting Newman run for collection: {0}', '0216': 'Test run summary created successfully for collection: {0}', //VALIDATION '0251': 'Validating URL: {0}', '0252': 'Validation Response Status: {0}', '0253': 'Running health check with URL: {0}', '0254': 'Health check passed for URL: {0}', '0255': 'Validation failed: {0}', '0256': 'Validating asset kind: {0}', '0257': 'Validation failed: Invalid {0} specification', '0258': '{0} specification validation passed', //BUILD '0301': 'Normalized {0} path: {1}', '0302': 'Found folders: {0)', '0303': 'Getting file: {0} from zip', '0304': 'File: {0} not found in zip', '0305': 'Referenced File: {0} not found', '0306': 'Creating consolidated YAML for folder: {0}', '0307': 'Processing YAML files in folder: {0}', '0308': 'Loaded ZIP with {0} files.', '0309': 'Reference extracted: {0}', '0310': '{0} reference updated: {1}', //ASSET-VALIDATION '0351': 'Creating project {0} reference map for folder: {1}', '0352': 'Processing YAML files in folder: {0}', '0353': 'Processing YAML file: {0}', '0354': 'Successfully processed {0} from file: {1}', '0355': 'Validating {0} in folder: {1}', '0356': 'Validated {0} from folder: {0}', '0357': 'Validating {0} in file: {1}', '0358': 'Validated {0} from file: {0}', '0359': 'Invalid {0} in file: {1}', '0360': 'Validation of {0} failed', '0361': 'Validation of {0} started', '0362': 'Validation of {0} completed', '0363': 'Validation error added: {0}', };