UNPKG

@sap/adp-cf

Version:
68 lines 6.43 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Messages = void 0; /* istanbul ignore file */ exports.Messages = { I18N_KEY_APPLICATION_DO_NOT_SUPPORT_ADAPTATION: "Select a different application. Selected application does not support Flexibility and therefore it does not support Adaptation Project.", ADAPTATIONPROJECTPLUGIN_SMARTTEMPLATE_PROJECT_CHECK: "Select a different application. Adaptation project doesn't support the selected application.", CLOUD_FOUNDRY_NOT_INSTALLED: "Cloud Foundry is not installed in your space.", CANNOT_RECIEVE_TOKEN_ERROR_MSG: "Cannot receive token.", LOGIN_FAILED_MSG: "Login failed.", CANNOT_GET_ORGANIZATIONS: "Cannot get organizations.", CANNOT_GET_SPACES: "Cannot get spaces.", INVALID_GUID_MSG: "Invalid guid.", NO_PROJECT_PATH_ERR_MSG: "Project path is missing.", FAILED_TO_FIND_BUSINESS_SERVICES: `No business services found, please specify the business services in resource section of mts.yaml: - name: <arbitrary name of resource, e.g. my_service> type: org.cloudfoundry.<managed|existing>-service parameters: service: <business service name, e.g. my-service-name> service-name: <business service instance name, e.g. my_service_instance_name> service-plan: <plan name, e.g. standard>`, XSAPP_ROUTE_SOURCE_NOT_MATCH: (source) => `Route source '${source}' doesn't match a corresponding data source in manifest.json sap.app/dataSources`, MANIFEST_DATASOURCE_NOT_MATCH: (endpoint) => `Route endpoint '${endpoint}' doesn't match a corresponding OData endpoint`, SERVICE_KEY_ENDPOINT_NOT_MATCH: (dataSourceName) => `Data source '${dataSourceName}' doesn't match a corresponding route in xs-app.json routes`, MANIFEST_MISSING_DATASOURCES: "Base app manifest.json doesn't contain data sources specified in xs-app.json", XSAPP_MISSING_ROUTES: "Base app xs-app.json doesn't contain data sources routes specified in manifest.json", MISSING_HTML5_RUNTIME: `Cannot find HTML5 Repo runtime in current space`, FAILED_TO_PARSE_ZIP: (error) => `Failed to parse zip content from HTML5 repository. Reason: ${error}`, NO_ZIP_CONTENT_PARSED: "No zip content was parsed from HTML5 repository", FAILED_TO_PARSE_RESPONSE_FROM_CF: (error) => `Failed to parse response from request CF API: ${error}`, FAILED_TO_CREATE_SERVICE_INSTANCE: (serviceInstanceName, spaceGuid, reason) => `Cannot create a service instance '${serviceInstanceName}' in space '${spaceGuid}'. Reason: ${reason}`, FAILED_TO_CONNECT_TO_FDC: (appHostId, reason) => `Failed to connect to Flexibility Design and Configuration service for app_host_id ${appHostId}. Reason: ${reason}`, MISSING_ORG_OR_SPACE_NAME: "Organization or space name is not provided.", FAILED_TO_GET_HTML5_CREDENTIALS: (spaceGuid, reason) => `Failed to get credentials from HTML5 repository for space ${spaceGuid}. Reason: ${reason}`, FAILED_TO_DOWNLOAD_APP_CONTENT: (spaceGuid, appHostId, appName, reason) => `Failed to download the application content from HTML5 repository for space ${spaceGuid} and app ${appName} (${appHostId}). Reason: ${reason}`, FAILED_TO_GET_OAUTH_TOKEN: (reason) => `Failed to get the OAuth token from HTML5 repository. Reason: ${reason}`, FAILED_TO_DOWNLOAD_ZIP: (reason) => `Failed to download zip from HTML5 repository. Reason: ${reason}`, FAILED_TO_FIND_MANIFEST_IN_APP: "Failed to find manifest.json in the application content from HTML5 repository", FAILED_TO_PARSE_MANIFEST_JSON: "Failed to parse manifest.json.", NO_UAA_CREDENTIALS: "No UAA credentials found for HTML5 repository", REQUEST_TO_CF_API_FAILED: (reason) => `Request to CF API failed. Reason: ${reason}`, FAILED_TO_GET_SERVICE_INSTANCE: (params, reason) => `Failed to get service instance with params ${params}. Reason: ${reason}`, NO_VALID_JSON_FOR_SERVICE_INSTANCE: "No valid JSON for service instance", FAILED_TO_GET_SERVICE_INSTANCE_KEYS: (reason) => `Failed to get service instance keys. Reason: ${reason}`, FAILED_TO_GET_INSTANCE_CREDENTIALS: (instanceGuid, reason) => `Failed to get service instance credentials from CFLocal for guid ${instanceGuid}. Reason: ${reason}`, FAILED_TO_GET_OR_CREATE_SERVICE_KEYS: (instanceName, reason) => `Failed to get or create service keys for instance name ${instanceName}. Reason: ${reason}`, FAILED_TO_CREATE_SERVICE_KEY_FOR_INSTANCE: (instanceName, reason) => `Failed to create service key for instance name ${instanceName}. Reason: ${reason}`, FAILED_TO_GET_FDC_APP: (url, reason) => `Failed to get application from Flexibility Design and Configuration service ${url}. Reason: ${reason}`, HTTP_STATUS_MESSAGE: (status, statusText) => `HTTP status code ${status}: ${statusText}`, FAILED_TO_PARSE_XS_APP_JSON_IN_APP_ZIP: (reason) => `Failed to parse xs-app.json. Reason: ${reason}`, FAILED_TO_PARSE_MANIFEST_JSON_IN_APP_ZIP: (reason) => `Failed to parse manifest.json. Reason: ${reason}`, EXTERNAL_LOGIN_MESSAGE: "Please complete your CF login using the form on the right side.", EXTERNAL_LOGIN_MESSAGE_MANIFEST_APPDESCR: "To make changes to your adaptation project, please log in using the following CF parameters provided during the project creation. You can find the login form on the right side of the screen.", EXTERNAL_LOGIN_WRONG_SOURCE_MAIN_MESSAGE: "You are currently logged into:", LOGGED_IN_INFORMATION_MESSAGE: "You are currently logged in:", CF_API_ENDPOINT: (cfApiUrl) => `CF API Endpoint: ${cfApiUrl}`, CF_ORGANIZATION: (cfOrganization) => `Organization: ${cfOrganization}`, CF_SPACE: (cfSpace) => `Space: ${cfSpace}`, LOGGED_IN_INFORMATION_ENDING_MESSAGE: "You can proceed with the project creation.", /** * Errors */ ERROR_COULD_NOT_RETRIEVE_MANIFEST: (error) => `\nCould not retrieve manifest.\n${error}`, EXTERNAL_LOGIN_WRONG_SOURCE_MIDDLE_MESSAGE: "However, the project you are trying to modify was created from an application in:", EXTERNAL_LOGIN_WRONG_SOURCE_ENDING_MESSAGE: "To create changes, please log into the correct endpoint, organization, and space using the form provided on the right side of the screen.", EXTERNAL_LOGIN_DISABLED_MESSAGE: "CF Login cannot be detected as extension in current installation of VSCode, please refer to documentation (link not yet available) in order to install it." }; //# sourceMappingURL=messages.js.map