UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

146 lines 11.9 kB
/** * Copyright Super iPaaS Integration LLC, an IBM Company 2024 */ export declare const CHECKING_ROOT_DIRECTORY = "Checking local directory..."; export declare const CHECKING_FOR_PROJECT = "Checking for projects... "; export declare const INVALID_PROJECT_NAMES = "Invalid project names..."; export declare const BUILDING_PROJECTS = "Building projects..."; export declare const CHECKING_ALL_PROJECTS = "Checking list of all projects in the directory "; export declare const DEPLOYING_PROJECTS = "Deploying to the api gateway..."; export declare const IDENTIFIED_PROJECTS = "Identified projects: "; export declare const BUILDING_LIST_ALL_PROJECTS = "Building list of all projects in the local directory "; export declare const DEPLOYMENT_SUCCESS = "\n\nDeployment to api gateway is successful!"; export declare const DEPLOYMENT_FAILURE = "\n\nDeployment to api gateway has failed!"; export declare const DIRECTORY_DOESNT_EXIST = "Directory do not exist :"; export declare const ERROR_PROCESSING_YAML_FILE = "Error processing YAML file"; export declare const IGNORE_PROJECT_ARG = "[WARNING] Using --all with projects will ignore the projects argument\n"; export declare const IGNORE_NAMES_OPT = "[WARNING] Using --all with --names will ignore the names option\n"; export declare const BUILD_SUCCESSFUL = "\nBuild completed successfully!\n"; export declare const MULTIPLE_PROJECTS_SPECIFIED = "You can not specify multiple projects with --names"; export declare const EXECUTING_TESTS_SUCCESS = "Test executed successfully..."; export declare const ERROR_IN_EXECUTING_TEST = "Validation failed. Test results were null."; export declare const ERROR_PREPARE_TEST_RESULTS = "Error preparing test results"; export declare const ERROR_GENERATE_TEST_RESULTS_FILE = "Error in generating test results file"; export declare const ERROR_DURING_TESTING = "An error occurred during testing"; export declare const NO_VALID_API_ASSET_FOUND = "No valid API asset ref found in the test file."; export declare const INVALID_OR_EMPTY_DEPLOYMENT_RESPONSES = "Invalid or empty deployment responses provided."; export declare const TEST_EXECUTION_FAILED = "Test execution failed :"; export declare const FAILED_TESTS = "There are failed tests "; export declare const ADDING_ENDPOINT_FILE_FAILED = "Adding endpoint file to test assets failed:"; export declare const FAILED_TO_BUILD_TEST_ASSETS = "Failed to build test assets"; export declare const INVALID_ASSET_KIND_TEST = "Invalid asset of kind 'TEST' :"; export declare const NO_API_ASSET_REF_FOUND = "No API asset reference found in the test file."; export declare const CREATED_DEPLOY_ZIP = "[ZIP FILE GENERATED] Zip file created from the build is available at "; export declare const ERROR_PROCESSING_JSON_FILE = "Error processing JSON file"; export declare const LINE = "--------------------------"; export declare const BUILD_STARTED = "Build Started"; export declare const ASSERT_ADDED = "Asset Added : "; export declare const SPEC_ADDED = "Spec Added : "; export declare const DEPLOY_STARTED = "Deploy Started"; export declare const TEST_STARTED = "Test Started"; export declare const CHECKING_DEPENDENCY = "Checking dependency for kind"; export declare const INVALID_ASSET = "Invalid asset: "; export declare const KIND = "Kind"; export declare const REF = "ref"; export declare const NAME = "Name"; export declare const VERSION = "Version"; export declare const SKIPPED = "Skipped"; export declare const DEPENDENCY_IDENTIFIED = "Dependency identified: "; export declare const AND_REF = "and ref"; export declare const NO_DEPENDENCY_FOUND = "There are no dependencies found for kind"; export declare const INVALID_DIRECTORY = "Invalid directory"; export declare const DUPLICATE_ENTRIES_FOR_KIND = "Duplicate entries for kind"; export declare const NO_ENTRIES_FOUND_FOR_KIND = "No entries found for kind"; export declare const NO_FURTHER_DEPENDENCY = "There are no further dependency assets to check in the given local directory."; export declare const DEPENDENT_ASSETS_TO_BE_PROCESSED = "dependent assets to be processed"; export declare const ASSET_DEPENDENCIES = "asset dependencies are identified to check:"; export declare const THERE_ARE = "There are "; export declare const FOLLOWING = "Following "; export declare const METADATA_NAME = "metadata name"; export declare const IS_FOUND_IN = "is found in"; export declare const SEARCHING = "Searching"; export declare const INSIDE_THE_PROJECT_PATH = "inside the project path"; export declare const ADDING_DEPENDENCY = "Adding dependency: "; export declare const API_DEPENDENCY_IDENTIFIED = "API Dependency identified: "; export declare const DEPLOYMENT_FAILURE_SOME_ASSET = "Deployment to the api gateway has failed for some assets"; export declare const APIENDPOINTS = "\nGateway endpoints of the APIs in the project"; export declare const DETAILED_INFO = "Detailed info about deployment"; export declare const TESTING_LIST_ALL_PROJECTS = "Testing list of all projects in the local directory "; export declare const ERROR_IN_SEARCH_OF_ASSET = "Error searching valid asset files of kind: "; export declare const ERROR_IN_COMBINING_TEST_ASSET = "Error occured while combining ZIPs of test assets for project:"; export declare const MULTIPLE_PROJECTS_NOT_ALLOWED = "Multiple projects are not allowed when using --names.\nPlease specify only one project.\n"; export declare const SEARCH_METADATA = "Searching test meta data..."; export declare const EXTRACT_METADATA_PROJECT = "Searching test meta data for project -"; export declare const EXTRACT_METADATA_PROJECT_SUCCESS = "Successfully extracted meta data for project - "; export declare const EXTRACT_METADATA_SUCCESS = "Successfully extracted test metadata for projects"; export declare const FORMAT_METADATA = "Formatting metadata ..."; export declare const FORMAT_METADATA_SUCCESS = "Successfully formatted metadata"; export declare const COMBINING_TEST_ZIP = "Combining ZIPs of test assets for project..."; export declare const BUILDING_TEST = "Building test asset for project "; export declare const BUILDING_TEST_SUCCESS = "Successfully built test asset for project "; export declare const COMBINING_TEST_ZIP_SUCCESS = "Successfully extracted test assets and combined to a zip"; export declare const EXECUTING_TEST = "Executing test files ..."; export declare const PREPARE_TESTS_RESULT = "Preparing test results ..."; export declare const PREPARE_TESTS_RESULT_SUCCESS = "Successfully prepared and printed test result"; export declare const CREATE_TEST_TABLE = "Creating test table ..."; export declare const CREATE_TEST_TABLE_SUCCESS = "Successfully created test table"; export declare const ENTER_PASS = "Enter the password: "; export declare const ENTER_SECRET = "Enter the secret: "; export declare const PROCESS_ENDPOINT_RESPONSE = "Processing endpoint from response..."; export declare const PROCESS_ENDPOINT_RESPONSE_SUCCESS = "Successfully processed endpoint from response..."; export declare const PROCESS_GATEWAY_RESPONSE = "Processing gateway response : "; export declare const ENDPOINT_TEST = "Adding endpoint to test assets..."; export declare const ENDPOINT_TEST_SUCCESS = "Endpoint Successfully added to test assets..."; export declare const PREPARE_TEST_RESULT = "Preparing test result for "; export declare const PREPARE_TEST_RESULT_SUCCESS = "Successfully prepared test result for "; export declare const NO_ASSET_METADATA = "No asset metadata provided"; export declare const CREATED_TEST_ZIP = "[ZIP FILE GENERATED] Zip file created from the test is available at "; export declare const YAML_SEPARATOR = "---\n"; export declare const ALL_ENDPOINTS_FETCHED_FROM_STORE = "Got all gatewayEndpoints from the store"; export declare const SOME_ENDPOINTS_MISSING_FROM_STORE = "Some gatewayEndpoints aren't available in the store \nBuilding those assets.....\n"; export declare const NO_ENDPOINTS_IN_STORE = "No gatewayEndpoints found in the store"; export declare const NO_ENDPOINTS_STORE_CONFIGURED = "gatewayEndpoint store is not configured yet"; export declare const JSON_FILE_MISSING = "The JSON file does not exist in the zip buffer."; export declare const UPDATE_ENDPOINT_FAILED = "Failed to update the endpoint file:"; export declare const ASSETS_BUILD_FAILED = "Failed to build assets for project:"; export declare const FAILED_TO_SET_ENDPOINT = "Failed to set gateway endpoint:"; export declare const NO_DATA_TO_PROCESS = "No endpoint data received from deployment to store"; export declare const DEPLOYMENT_DATA_UPDATED = "Deployment data updated"; export declare const APPEND_ENDPOINTS_FAILED = "Failed to append endpoints:"; export declare const UPDATE_ENDPOINTS_FAILED = "Failed to check and update endpoints:"; export declare const CONFIG_FILE_CREATION_FAILED = "Failed to create configuration file,"; export declare const CONFIG_FILE_CREATED = "Created configuration file"; export declare const READ_CURRENT_ENDPOINTS_FAILED = "Failed to read current endpoints,"; export declare const NO_UPDATES_NEEDED = "No updates needed for existing APIs."; export declare const CONFIG = "[CONFIG] "; export declare const TESTING = "Executing Tests"; export declare const API_DETAILS_MISSING = "API Gateway details are missing. Please try again with the following command."; export declare const RETRY_TEST_COMMAND = "apic test <project_name> --localDir <local_dir_path> --target <target> --username <username> --password <password>"; export declare const DEPLOYMENT_DETAILS_NOT_IDENTIFIED_LOCALLY = "Deployment details can't be identified locally...Proceeding with build and deploy.."; export declare const DEPLOYMENT_DOESNOT_OVERWRITE = "Please note that the deployment doesn't overwrite the existing assets in the api gateway"; export declare const NO_ENV_FILE = "No environment kind files found in the directory."; export declare const KEY_MISSING = "Key must be provided for the value: "; export declare const VALUE_MISSING = "Value must be provided for the key: "; export declare const DUPLICATE_KEY_WARNING = "\nOnly the last occurrence of key and it's value will be considered."; export declare const FAILED_TO_PROCESS_ENTRY = "Failed to process entry:"; export declare const INVALID_ENV_VARIABLE_FORMAT = "Invalid environment variable format:"; export declare const OVERALL_TEST_SUMMARY = "Overall Test Summary"; export declare const OVERALL_TEST_SUMMARY_HEADINGS: string[]; export declare const INDIVIDUAL_TEST_RESULT_HEADINGS: string[]; export declare const INDIVIDUAL_TEST_SUMMARY_HEADINGS: string[]; export declare const FAILED = "Failed"; export declare const PASSED = "Passed"; export declare const FILE_OVERWRITTEN = "[WARNING] If a build zip with the name exists, it will be overwritten"; export declare const CREATED_BUILD_ZIP = "[ZIP FILE GENERATED] Your build can be found at "; export declare const OUTPUT_FORMAT_NOT_SUPPORTED_ERROR = "Error: Output format not supported, make sure you are providing a .zip ouput path"; export declare const OUTPUT_DIR_PATH_TO_BE_CREATED = "[WARNING] The specified directory in output will be created if it does not already exist"; export declare const EMPTY_RESULT = "Test results are empty"; export declare const ENDPOINT_ARGUMENT_NOT_AVAILABLE = "The -en /--endpoint option is only available when asset names are specified."; export declare const INVALID_ENDPOINT: (endpoint: string) => string; export declare const NO_VALID_ENDPOINT_FOUND = "No valid endpoints found"; export declare const ERROR_PROCESSING_ENDPOINT = "Error processing endpoint:"; export declare const MISMATCH_IN_API_AND_ENDPOINT = "The number of endpoints provided is not match with api reference"; export declare const UNKNOWN_ERROR = "Unknown error"; export declare const MIGRATION_STARTED = "Starting migration of ATM test files"; export declare const MIGRATION_COMPLETED = "Migration of ATM test files completed"; //# sourceMappingURL=message-constants.d.ts.map