diff --git a/.secrets.baseline b/.secrets.baseline new file mode 100644 index 0000000..a4421d8 --- /dev/null +++ b/.secrets.baseline @@ -0,0 +1,354 @@ +{ + "exclude": { + "files": "^.secrets.baseline$", + "lines": null + }, + "generated_at": "2024-06-13T11:44:24Z", + "plugins_used": [ + { + "name": "AWSKeyDetector" + }, + { + "name": "ArtifactoryDetector" + }, + { + "name": "AzureStorageKeyDetector" + }, + { + "base64_limit": 4.5, + "name": "Base64HighEntropyString" + }, + { + "name": "BasicAuthDetector" + }, + { + "name": "BoxDetector" + }, + { + "name": "CloudantDetector" + }, + { + "ghe_instance": "github.ibm.com", + "name": "GheDetector" + }, + { + "name": "GitHubTokenDetector" + }, + { + "hex_limit": 3, + "name": "HexHighEntropyString" + }, + { + "name": "IbmCloudIamDetector" + }, + { + "name": "IbmCosHmacDetector" + }, + { + "name": "JwtTokenDetector" + }, + { + "keyword_exclude": null, + "name": "KeywordDetector" + }, + { + "name": "MailchimpDetector" + }, + { + "name": "NpmDetector" + }, + { + "name": "PrivateKeyDetector" + }, + { + "name": "SlackDetector" + }, + { + "name": "SoftlayerDetector" + }, + { + "name": "SquareOAuthDetector" + }, + { + "name": "StripeDetector" + }, + { + "name": "TwilioKeyDetector" + } + ], + "results": { + "__tests__/api/BundleContent/Manifest.test.ts": [ + { + "hashed_secret": "610e973d05145fd4c3e6c97ff349907fdc8ec4b7", + "is_secret": false, + "is_verified": false, + "line_number": 58, + "type": "Hex High Entropy String", + "verified_result": null + } + ], + "__tests__/api/BundleContent/Nodejsapp.test.ts": [ + { + "hashed_secret": "915cd12d58ce2f820959e9ba41b2ebb02f2e6005", + "is_secret": false, + "is_verified": false, + "line_number": 37, + "type": "Hex High Entropy String", + "verified_result": null + } + ], + "__tests__/api/BundleContent/__snapshots__/Manifest.test.ts.snap": [ + { + "hashed_secret": "c71490fc24aa3d19e11282da77032dd9cdb33103", + "is_secret": false, + "is_verified": false, + "line_number": 5, + "type": "Hex High Entropy String", + "verified_result": null + } + ], + "__tests__/api/BundleDeploy/BundleDeployer.test.ts": [ + { + "hashed_secret": "98ef0758e6aac6f9a9e1197548c8190b72c9581d", + "is_secret": false, + "is_verified": false, + "line_number": 29, + "type": "Secret Keyword", + "verified_result": null + }, + { + "hashed_secret": "f845328c5e7f361831a05b9fbac1ed3e4becb23a", + "is_secret": false, + "is_verified": false, + "line_number": 320, + "type": "Base64 High Entropy String", + "verified_result": null + }, + { + "hashed_secret": "d64b0e7881a8f3dad4052e418467d29080c566c5", + "is_secret": false, + "is_verified": false, + "line_number": 331, + "type": "Base64 High Entropy String", + "verified_result": null + }, + { + "hashed_secret": "42fcb041bd2c58ecb932ec0778b17ff9678abc60", + "is_secret": false, + "is_verified": false, + "line_number": 411, + "type": "Hex High Entropy String", + "verified_result": null + }, + { + "hashed_secret": "827a683fdfdbef225a2421078b7789b134c7eafa", + "is_secret": false, + "is_verified": false, + "line_number": 412, + "type": "Hex High Entropy String", + "verified_result": null + }, + { + "hashed_secret": "54ac6df4e11fe9b11e475406e23a171dac88988e", + "is_secret": false, + "is_verified": false, + "line_number": 482, + "type": "Hex High Entropy String", + "verified_result": null + }, + { + "hashed_secret": "550fdb89c639fdf2e48bc31635e339a6d39fdf9e", + "is_secret": false, + "is_verified": false, + "line_number": 669, + "type": "Hex High Entropy String", + "verified_result": null + }, + { + "hashed_secret": "e8cb79fc3abc9412a40decc9cedbbfdff3a611d7", + "is_secret": false, + "is_verified": false, + "line_number": 670, + "type": "Hex High Entropy String", + "verified_result": null + } + ], + "__tests__/api/BundlePush/BundlePusher.test.ts": [ + { + "hashed_secret": "42fcb041bd2c58ecb932ec0778b17ff9678abc60", + "is_secret": false, + "is_verified": false, + "line_number": 183, + "type": "Hex High Entropy String", + "verified_result": null + }, + { + "hashed_secret": "0a84666b66e843a4146088fb46aabaa998b4c2b1", + "is_secret": false, + "is_verified": false, + "line_number": 184, + "type": "Hex High Entropy String", + "verified_result": null + }, + { + "hashed_secret": "2ace62c1befa19e3ea37dd52be9f6d508c5163e6", + "is_secret": false, + "is_verified": false, + "line_number": 336, + "type": "Secret Keyword", + "verified_result": null + }, + { + "hashed_secret": "65a558a8cf9d33ec2dabe92f6f73175b4b8242c3", + "is_secret": false, + "is_verified": false, + "line_number": 348, + "type": "Secret Keyword", + "verified_result": null + }, + { + "hashed_secret": "14dcda85fedbdb1caadbc78099c26c3ada370265", + "is_secret": false, + "is_verified": false, + "line_number": 1691, + "type": "Secret Keyword", + "verified_result": null + }, + { + "hashed_secret": "550fdb89c639fdf2e48bc31635e339a6d39fdf9e", + "is_secret": false, + "is_verified": false, + "line_number": 1777, + "type": "Hex High Entropy String", + "verified_result": null + }, + { + "hashed_secret": "e8cb79fc3abc9412a40decc9cedbbfdff3a611d7", + "is_secret": false, + "is_verified": false, + "line_number": 1778, + "type": "Hex High Entropy String", + "verified_result": null + } + ], + "__tests__/cli/deploy/bundle/DeployBundle.handler.test.ts": [ + { + "hashed_secret": "42fcb041bd2c58ecb932ec0778b17ff9678abc60", + "is_secret": false, + "is_verified": false, + "line_number": 114, + "type": "Hex High Entropy String", + "verified_result": null + }, + { + "hashed_secret": "0a84666b66e843a4146088fb46aabaa998b4c2b1", + "is_secret": false, + "is_verified": false, + "line_number": 115, + "type": "Hex High Entropy String", + "verified_result": null + }, + { + "hashed_secret": "b9bb1e4e23ff5abdd2443687d2c61747d9255ebc", + "is_secret": false, + "is_verified": false, + "line_number": 261, + "type": "Hex High Entropy String", + "verified_result": null + }, + { + "hashed_secret": "b0f7a3b21a9445139eacaea96964d6938b1c10b8", + "is_secret": false, + "is_verified": false, + "line_number": 333, + "type": "Hex High Entropy String", + "verified_result": null + } + ], + "docs/css/font-awesome.min.css": [ + { + "hashed_secret": "e45e1c6e5028aec79dbdfbd17089b5b0f2644f20", + "is_secret": false, + "is_verified": false, + "line_number": 4, + "type": "Secret Keyword", + "verified_result": null + } + ], + "src/api/BundlePush/BundlePusher.ts": [ + { + "hashed_secret": "6b3467700bba4e6eec4fe0160cfbe34234eda324", + "is_secret": false, + "is_verified": false, + "line_number": 317, + "type": "Secret Keyword", + "verified_result": null + } + ], + "src/api/BundlePush/CmciConfig.ts": [ + { + "hashed_secret": "2fe210f6afaf9b8b03a82b1fc34d8131a26f52be", + "is_secret": false, + "is_verified": false, + "line_number": 47, + "type": "Secret Keyword", + "verified_result": null + } + ], + "src/api/BundlePush/SshConfig.ts": [ + { + "hashed_secret": "f69e55ff86f581658789afd5e0a518632207e415", + "is_secret": false, + "is_verified": false, + "line_number": 47, + "type": "Secret Keyword", + "verified_result": null + } + ], + "src/api/BundlePush/ZosmfConfig.ts": [ + { + "hashed_secret": "6d6a24db2df4d9d357a646480ba14a966638abfe", + "is_secret": false, + "is_verified": false, + "line_number": 47, + "type": "Secret Keyword", + "verified_result": null + } + ], + "src/cli/push/bundle/options/CmciOptions.ts": [ + { + "hashed_secret": "e0d4c31ee4091fd1a5cec1061d7aac7f71b8cf9d", + "is_secret": false, + "is_verified": false, + "line_number": 47, + "type": "Secret Keyword", + "verified_result": null + } + ], + "src/cli/push/bundle/options/SshOptions.ts": [ + { + "hashed_secret": "e0d4c31ee4091fd1a5cec1061d7aac7f71b8cf9d", + "is_secret": false, + "is_verified": false, + "line_number": 47, + "type": "Secret Keyword", + "verified_result": null + } + ], + "src/cli/shared/ZosmfOptions.ts": [ + { + "hashed_secret": "e0d4c31ee4091fd1a5cec1061d7aac7f71b8cf9d", + "is_secret": false, + "is_verified": false, + "line_number": 47, + "type": "Secret Keyword", + "verified_result": null + } + ] + }, + "version": "0.13.1+ibm.61.dss", + "word_list": { + "file": null, + "hash": null + } +} diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index c776fa8..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,646 +0,0 @@ -/* -* This program and the accompanying materials are made available under the terms of the * -* Eclipse Public License v2.0 which accompanies this distribution, and is available at * -* https://www.eclipse.org/legal/epl-v20.html * -* * -* SPDX-License-Identifier: EPL-2.0 * -* * -* Copyright Contributors to the Zowe Project. * -* Copyright IBM Corp, 2019. -* * -*/ - -// The following property need to be set for the HTML report @TODO figure out how to get this nicely on jenkins -//System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "") - -/** - * The following flags are switches to control which stages of the pipeline to be run. This is helpful when - * testing a specific stage of the pipeline. - */ -def PIPELINE_CONTROL = [ - build: true, - unit_test: true, - system_test: true, - cd_skip: false -] - -/** - * The result strings for a build status - */ -def BUILD_RESULT = [ - success: 'SUCCESS', - unstable: 'UNSTABLE', - failure: 'FAILURE' -] - -/** - * Test npm registry - */ -def TEST_NPM_REGISTRY = "https://eu.artifactory.swg-devops.com/artifactory/api/npm/cicsts-npm-virtual" - -/** - * npm registry - */ -def NPM_REGISTRY = "registry.npmjs.org" -def NPM_FULL_REGISTRY = "https://registry.npmjs.org" - -/** - * The root results folder for items configurable by environmental variables - */ -def TEST_RESULTS_FOLDER = "__tests__/__results__" - -/** - * The location of the unit test results - */ -def UNIT_RESULTS = "${TEST_RESULTS_FOLDER}/unit" - -/** - * The location of the system test results - */ -def SYSTEM_RESULTS = "${TEST_RESULTS_FOLDER}/system" - -/** - * The name of the master branch - */ -def MASTER_BRANCH = "master" - -/** - * The name of the dev branch - */ -def DEV_BRANCH = "dev" - -/** - * Release branches - */ -def RELEASE_BRANCHES = [MASTER_BRANCH, DEV_BRANCH] - -/** - * Branches to send notifcations for -*/ -def NOTIFY_BRANCHES = [MASTER_BRANCH, DEV_BRANCH] - - -/** - * Variables to check any new commit since the previous successful commit - */ -def GIT_COMMIT = "null" -def GIT_PREVIOUS_SUCCESSFUL_COMMIT = "null" - -/** - * This is the product name used by the build machine to store information about - * the builds - */ -def PRODUCT_NAME = "zowe-cli-cics-deploy-plugin" - -/** - * This is where the Zowe project needs to be installed - */ -def ZOWE_CLI_INSTALL_DIR = "/.npm-global/lib/node_modules/@zowe/cli" - -def ARTIFACTORY_CREDENTIALS_ID = "c8e3aa62-5eef-4e6b-8a3f-aa1006a7ef01" - -// Setup conditional build options. Would have done this in the options of the declarative pipeline, but it is pretty -// much impossible to have conditional options based on the branch :/ -def opts = [] - -// Setup a schedule to run build periodically -// Run a build at 2.00AM everyday -def CRON_STRING = RELEASE_BRANCHES.contains(BRANCH_NAME) ? "H 2 * * *" : "" - -if (RELEASE_BRANCHES.contains(BRANCH_NAME)) { - // Only keep 20 builds - opts.push(buildDiscarder(logRotator(numToKeepStr: '20'))) - - // Concurrent builds need to be disabled on the master branch because - // it needs to actively commit and do a build. There's no point in publishing - // twice in quick succession - opts.push(disableConcurrentBuilds()) -} else { - // Only keep 5 builds on other branches - opts.push(buildDiscarder(logRotator(numToKeepStr: '5'))) -} - -properties(opts) - -pipeline { - - agent any - - options { - skipDefaultCheckout true - } - - triggers { - cron(CRON_STRING) - } - - environment { - // Environment variable for flow control. Indicates if the git source was updated by the pipeline. - GIT_SOURCE_UPDATED = "false" - - // Tell npm to install global packages within the workspace dir, and add it - // to PATH. This allows us to do a global install for Zowe without affect - // other Jenkins jobs or needing root access. - NPM_CONFIG_PREFIX = "${WORKSPACE}/npm-global" - PATH = "${NPM_CONFIG_PREFIX}/bin:${PATH}" - - // Credential to publish to npmjs.org - // NPM_CREDENTIALS_USR is email address - // NPM_REDENTIALS_PSW is the login token - NPM_CREDENTIALS = credentials('ibmcics.npmjs.auth.token') - } - - stages { - stage("Clean workspace and checkout source") { - steps { - timeout(time: 5, unit: 'MINUTES') { - script { - cleanWs() - scmInfo = checkout scm - - GIT_COMMIT = scmInfo.GIT_COMMIT - GIT_PREVIOUS_SUCCESSFUL_COMMIT = scmInfo.GIT_PREVIOUS_SUCCESSFUL_COMMIT - } - } - } - } - - /************************************************************************ - * STAGE - * ----- - * Install Zowe CLI - * - * TIMEOUT - * ------- - * 10 Minutes - * - * EXECUTION CONDITIONS - * -------------------- - * - PIPELINE_CONTROL.build is true or PIPELINE_CONTROL.smoke_test is true - * - * DESCRIPTION - * ----------- - * Install Zowe CLI globally to be used to build the plugin and install - * plugin to for smoke test - * - * OUTPUTS - * ------- - * Able to issue zowe commands. - ************************************************************************/ - stage('Install Zowe CLI') { - when { - allOf { - expression { - return PIPELINE_CONTROL.build || PIPELINE_CONTROL.smoke_test - } - } - } - steps('Install Zowe CLI') { - timeout(time: 10, unit: 'MINUTES') { - echo "Install Zowe CLI globaly" - // remove per-project config - sh "rm -f .npmrc" - // remove user config - sh "rm -f ~/.npmrc" - // set user config - sh "npm config set always-auth=false" - sh "npm config set @brightside:always-auth=false" - sh "npm set registry https://registry.npmjs.org" - sh "npm set @brightside:registry=https://api.bintray.com/npm/ca/brightside/" - sh "npm config list" - // install - sh "npm install -g @zowe/cli@zowe-v1-lts" - sh "zowe --version" - } - } - } - - - /************************************************************************ - * STAGE - * ----- - * Install Dependencies - * - * TIMEOUT - * ------- - * 10 Minutes - * - * EXECUTION CONDITIONS - * -------------------- - * - PIPELINE_CONTROL.build is true - * - * DESCRIPTION - * ----------- - * Logs into the open source registry and installs all the dependencies - * - * OUTPUTS - * ------- - * None - ************************************************************************/ - stage('Install Dependencies') { - when { - allOf { - expression { - return PIPELINE_CONTROL.build - } - } - } - steps { - timeout(time: 10, unit: 'MINUTES') { - echo 'Installing Dependencies' - sh 'npm config ls' - sh 'npm install' - } - } - } - - /************************************************************************ - * STAGE - * ----- - * Build - * - * TIMEOUT - * ------- - * 10 Minutes - * - * EXECUTION CONDITIONS - * -------------------- - * - PIPELINE_CONTROL.build is true - * - * DESCRIPTION - * ----------- - * Executes the `npm run build` command to generate the application code. - * - * OUTPUTS - * ------- - * Jenkins: Compiled application executable code - ************************************************************************/ - stage('Build') { - when { - allOf { - expression { - return PIPELINE_CONTROL.build - } - } - } - steps { - timeout(time: 10, unit: 'MINUTES') { - echo 'Build' - sh 'node --version' - sh "echo '${ZOWE_CLI_INSTALL_DIR}' | npm run build" - - sh 'tar -czvf BuildArchive.tar.gz ./lib/' - archiveArtifacts 'BuildArchive.tar.gz' - - } - } - } - - /************************************************************************ - * STAGE - * ----- - * Test: Unit - * - * TIMEOUT - * ------- - * 10 Minutes - * - * EXECUTION CONDITIONS - * -------------------- - * - PIPELINE_CONTROL.unit_test is true - * - * ENVIRONMENT VARIABLES - * --------------------- - * JEST_JUNIT_OUTPUT: - * Configures the jest junit reporter's output location. - * - * JEST_SUITE_NAME: - * Configures the test suite name. - * - * JEST_JUNIT_ANCESTOR_SEPARATOR - * Configures the separator used for nested describe blocks. - * - * JEST_JUNIT_CLASSNAME: - * Configures how test class names are output. - * - * JEST_JUNIT_TITLE: - * Configures the title of the tests. - * - * JEST_STARE_RESULT_DIR: - * Configures the jest stare result output directory. - * - * JEST_STARE_RESULT_HTML: - * Configures the jest stare result html file name. - * - * DESCRIPTION - * ----------- - * Executes the `npm run test:unit` command to perform unit tests and - * captures the resulting html and junit outputs. - * - * OUTPUTS - * ------- - * Jenkins: Unit Test Report (through junit plugin) - * HTML: Unit Test Report - * HTML: Unit Test Code Coverage Report - ************************************************************************/ - stage('Test: Unit') { - when { - allOf { - expression { - return PIPELINE_CONTROL.unit_test - } - } - } - environment { - JEST_SUITE_NAME = "Unit Tests" - JEST_JUNIT_OUTPUT_DIR = "${UNIT_RESULTS}/jest-junit" - JEST_JUNIT_OUTPUT_NAME = "${UNIT_RESULTS}/junit.xml" - JEST_JUNIT_ANCESTOR_SEPARATOR = " > " - JEST_JUNIT_CLASSNAME="Unit.{classname}" - JEST_JUNIT_TITLE="{title}" - //JEST_STARE_RESULT_DIR = "${UNIT_RESULTS}/jest-stare" - //JEST_STARE_RESULT_HTML = "index.html" - } - steps { - timeout(time: 10, unit: 'MINUTES') { - echo 'Running Unit Tests' - - // Run tests but don't fail if the script reports an error - sh "npm run test:unit || exit 0" - - // Capture test report - echo 'Running JUnit Collector' - junit allowEmptyResults: true, testResults: JEST_JUNIT_OUTPUT_NAME - - echo 'Running Covertura Code Coverage Report' - cobertura autoUpdateHealth: false, - autoUpdateStability: false, - coberturaReportFile: "${UNIT_RESULTS}/coverage/cobertura-coverage.xml", - failUnhealthy: false, - failUnstable: false, - onlyStable: false, - zoomCoverageChart: false, - maxNumberOfBuilds: 20, - // classCoverageTargets: '85, 80, 75', - // conditionalCoverageTargets: '70, 65, 60', - // lineCoverageTargets: '80, 70, 50', - // methodCoverageTargets: '80, 70, 50', - sourceEncoding: 'ASCII' - - echo 'Running HTML Generation' - publishHTML(target: [ - allowMissing : false, - alwaysLinkToLastBuild: true, - keepAll : true, - reportDir : "${UNIT_RESULTS}/coverage/lcov-report", - reportFiles : 'index.html', - reportName : "${PRODUCT_NAME} - Unit Test Coverage Report" - ]) - } - } - } - - /************************************************************************ - * STAGE - * ----- - * Test: System - * - * TIMEOUT - * ------- - * 30 Minutes - * - * EXECUTION CONDITIONS - * -------------------- - * - PIPELINE_CONTROL.system_test is true - * - * ENVIRONMENT VARIABLES - * --------------------- - * JEST_JUNIT_OUTPUT: - * Configures the jest junit reporter's output location. - * - * JEST_SUITE_NAME: - * Configures the test suite name. - * - * JEST_JUNIT_ANCESTOR_SEPARATOR - * Configures the separator used for nested describe blocks. - * - * JEST_JUNIT_CLASSNAME: - * Configures how test class names are output. - * - * JEST_JUNIT_TITLE: - * Configures the title of the tests. - * - * JEST_HTML_REPORTER_OUTPUT_PATH: - * Configures the jest html reporter's output location. - * - * JEST_HTML_REPORTER_PAGE_TITLE: - * Configures the jset html reporter's page title. - * - * TEST_SCRIPT: - * A variable that contains the shell script that runs the integration - * tests. So we don't have to type out a lot of text. - * - * DESCRIPTION - * ----------- - * Executes the `npm run test:integration` command to perform - * integration tests and captures the resulting html and junit outputs. - * - * OUTPUTS - * ------- - * Jenkins: Integration Test Report (through junit plugin) - * HTML: Integration Test Report - ************************************************************************/ - stage('Test: System') { - when { - allOf { - expression { - return PIPELINE_CONTROL.system_test - } - } - } - environment { - JEST_SUITE_NAME = "System Tests" - JEST_JUNIT_OUTPUT_DIR = "${SYSTEM_RESULTS}/jest-junit" - JEST_JUNIT_OUTPUT_NAME = "${SYSTEM_RESULTS}/junit.xml" - JEST_JUNIT_ANCESTOR_SEPARATOR = " > " - JEST_JUNIT_CLASSNAME="System.{classname}" - JEST_JUNIT_TITLE="{title}" - JEST_HTML_REPORTER_OUTPUT_PATH = "${SYSTEM_RESULTS}/index.html" - JEST_HTML_REPORTER_PAGE_TITLE = "${BRANCH_NAME} - System Test" - //JEST_STARE_RESULT_DIR = "${SYSTEM_RESULTS}/jest-stare" - //JEST_STARE_RESULT_HTML = "index.html" - TEST_SCRIPT = "./jenkins/system_tests.sh" - TEST_PROPERTIES_FILE = "./__tests__/__resources__/properties/custom_properties.yaml" - } - steps { - timeout(time: 30, unit: 'MINUTES') { - sh "mkdir -p ./__tests__/__resources__/properties" - sh "touch $TEST_PROPERTIES_FILE" - - sh 'npm run test:system' - - // Capture test report - junit allowEmptyResults: true, testResults: JEST_JUNIT_OUTPUT_NAME - } - } - } - - /************************************************************************ - * STAGE - * ----- - * Check for CD Skip - * - * TIMEOUT - * ------- - * 2 Minutes - * - * EXECUTION CONDITIONS - * -------------------- - * - Always - * - * DECRIPTION - * ---------- - * Compare the version in package.json with released version. If the same, - * the build is stopped. Needed because the pipeline does do some simple - * merge on the master branch for documentation updates - * - * OUTPUTS - * ------- - * PIPELINE_CONTROL.cd_skip will be set to 'true', - * - if master branch's release version and new version are the same - * - if there isn't any new commit - ************************************************************************/ - stage('Check for CD Skip') { - when { - allOf { - expression { - return PIPELINE_CONTROL.cd_skip == false - } - expression { - return RELEASE_BRANCHES.contains(BRANCH_NAME) - } - } - } - steps { - timeout(time: 2, unit: 'MINUTES') { - script { - // Retrieve new version from package.json - def NEW_VERSION = sh ( - script: 'echo "console.log(require(\'./package.json\').version);" | node', - returnStdout: true - ).trim() - echo "NEW_VERSION: ${NEW_VERSION}" - // Retrieve released version from npmjs.org - def RELEASED_VERSION = sh ( - script: 'npm view "$(echo "console.log(require(\'./package.json\').name);" | node)" version --registry '+NPM_FULL_REGISTRY+' || true', - returnStdout: true - ).trim() - echo "RELEASED_VERSION: ${RELEASED_VERSION}" - - // skip deploying, if version has not changed. - // However, we deploy dev branch even if version has not changed - // as long as there is any new commit - if (NEW_VERSION == RELEASED_VERSION && BRANCH_NAME != DEV_BRANCH) { - echo 'New version and released version are the same. Skip deploying.' - PIPELINE_CONTROL.cd_skip = true - } - if (GIT_COMMIT == GIT_PREVIOUS_SUCCESSFUL_COMMIT) { - echo 'There is no new commit. Skip deploying' - PIPELINE_CONTROL.cd_skip = true - } - } - } - } - } - - /************************************************************************ - * STAGE - * ----- - * Deploy - * - * TIMEOUT - * ------- - * 5 Minutes - * - * EXECUTION CONDITIONS - * -------------------- - * - The build is still successful and not unstable - * - * DESCRIPTION - * ----------- - * Deploys the current build as an npm package to an npm registry. The - * build will be tagged as beta. - * - * OUTPUTS - * ------- - * npm: A package to an npm registry - ************************************************************************/ - stage('Deploy') { - when { - allOf { - expression { - return PIPELINE_CONTROL.cd_skip == false - } - expression { - return RELEASE_BRANCHES.contains(BRANCH_NAME) - } - } - } - steps { - timeout(time: 5, unit: 'MINUTES') { - echo 'Deploy Binary' - script { - sh "rm -f .npmrc" - // set @zowe registry - sh "echo always-auth=true >> .npmrc" - sh "echo @brightside:registry=https://api.bintray.com/npm/ca/brightside/ >> .npmrc" - sh "echo @brightside:always-auth=false >> .npmrc" - if (BRANCH_NAME == MASTER_BRANCH) { - // Set registry - sh "echo registry=$NPM_FULL_REGISTRY >> .npmrc" - // Set credential - sh "echo //$NPM_REGISTRY/:_authToken=${NPM_CREDENTIALS_PSW} >> .npmrc" - // deploy - echo "publishing to $NPM_FULL_REGISTRY" - sh "npm publish --tag latest" - } else if (BRANCH_NAME == DEV_BRANCH) { - // Set version - def baseVersion = sh returnStdout: true, script: 'node -e "console.log(require(\'./package.json\').version.split(\'-\')[0])"' - def preReleaseVersion = baseVersion.trim() + "-next." + new Date().format("yyyyMMddHHmm", TimeZone.getTimeZone("UTC")) - sh "npm version ${preReleaseVersion} --no-git-tag-version" - // Set credential - withCredentials([usernamePassword(credentialsId: ARTIFACTORY_CREDENTIALS_ID, usernameVariable: 'USERNAME', passwordVariable: 'API_KEY')]) { - sh 'curl -u $USERNAME:$API_KEY https://eu.artifactory.swg-devops.com/artifactory/api/npm/auth/ >> .npmrc' - } - // Set registry - sh "echo registry=$TEST_NPM_REGISTRY >> .npmrc" - // deploy - echo "publishing to $TEST_NPM_REGISTRY" - sh "npm publish --tag alpha" - } else { - echo "Only master and dev branch is allowed to deploy the app (current branch: $BRANCH_NAME). Skip deploying" - } - } - } - } - } - } - - // Slack notification when fails or back to normal - post { - unsuccessful { - script { - if (NOTIFY_BRANCHES.contains(BRANCH_NAME)) { - slackSend (channel: '#cics-node-dev', message: "${env.JOB_NAME} #${env.BUILD_NUMBER} completed - ${currentBuild.result} (<${env.BUILD_URL}|Open>)", tokenCredentialId: 'slack-cics-node-dev') - } - } - } - fixed { - script { - if (NOTIFY_BRANCHES.contains(BRANCH_NAME)) { - slackSend (channel: '#cics-node-dev', message: "${env.JOB_NAME} #${env.BUILD_NUMBER} completed - Back to normal (<${env.BUILD_URL}|Open>)", tokenCredentialId: 'slack-cics-node-dev') - } - } - } - } -} diff --git a/NOTICES.md b/NOTICES.md index 1ffe453..d8f0e11 100644 --- a/NOTICES.md +++ b/NOTICES.md @@ -1,284 +1,286 @@ -# Notices and Information +# NOTICES AND INFORMATION + +## zowe-cli-cics-deploy-plugin 1.1.1 + +Please note: This Notices file may identify information that is not used by, +or that was not shipped with, the Program as Licensee installed it. + + +NOTE: Search on "SECTION_START" to step through the different sections of this Notices. + +-------------------------------------------------------------------------------- +SECTION_START +-------------------------------------------------------------------------------- +EPL-2.0 CODE NOTICES AND INFORMATION + +The following third party components might be provided for use with the Program: + +cics-for-zowe-cli-4.0.11.tgz, cics-for-zowe-sdk-4.0.11.tgz + +Eclipse Public License - v 2.0 + +THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE +("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES +RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + +1. DEFINITIONS +"Contribution" means: + +a) in the case of the initial Contributor, the initial content Distributed under +this Agreement, and +b) in the case of each subsequent Contributor: +i) changes to the Program, and +ii) additions to the Program; +where such changes and/or additions to the Program originate from and are Distributed +by that particular Contributor. A Contribution "originates" from a Contributor if +it was added to the Program by such Contributor itself or anyone acting on such +Contributor's behalf. Contributions do not include changes or additions to the Program +that are not Modified Works. +"Contributor" means any person or entity that Distributes the Program. + +"Licensed Patents" mean patent claims licensable by a Contributor which are necessarily +infringed by the use or sale of its Contribution alone or when combined with the +Program. + +"Program" means the Contributions Distributed in accordance with this Agreement. + +"Recipient" means anyone who receives the Program under this Agreement or any Secondary +License (as applicable), including Contributors. + +"Derivative Works" shall mean any work, whether in Source Code or other form, that +is based on (or derived from) the Program and for which the editorial revisions, +annotations, elaborations, or other modifications represent, as a whole, an original +work of authorship. + +"Modified Works" shall mean any work in Source Code or other form that results from +an addition to, deletion from, or modification of the contents of the Program, including, +for purposes of clarity any new file in Source Code form that contains any contents +of the Program. Modified Works shall not include works that contain only declarations, +interfaces, types, classes, structures, or files of the Program solely in each case +in order to link to, bind by name, or subclass the Program or Modified Works thereof. + +"Distribute" means the acts of a) distributing or b) making available in any manner +that enables the transfer of a copy. + +"Source Code" means the form of a Program preferred for making modifications, including +but not limited to software source code, documentation source, and configuration +files. + +"Secondary License" means either the GNU General Public License, Version 2.0, or +any later versions of that license, including any exceptions or additional permissions +as identified by the initial Contributor. + +2. GRANT OF RIGHTS +a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient +a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare +Derivative Works of, publicly display, publicly perform, Distribute and sublicense +the Contribution of such Contributor, if any, and such Derivative Works. +b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient +a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to +make, use, sell, offer to sell, import and otherwise transfer the Contribution of +such Contributor, if any, in Source Code or other form. This patent license shall +apply to the combination of the Contribution and the Program if, at the time the +Contribution is added by the Contributor, such addition of the Contribution causes +such combination to be covered by the Licensed Patents. The patent license shall +not apply to any other combinations which include the Contribution. No hardware +per se is licensed hereunder. +c) Recipient understands that although each Contributor grants the licenses to its +Contributions set forth herein, no assurances are provided by any Contributor that +the Program does not infringe the patent or other intellectual property rights of +any other entity. Each Contributor disclaims any liability to Recipient for claims +brought by any other entity based on infringement of intellectual property rights +or otherwise. As a condition to exercising the rights and licenses granted hereunder, +each Recipient hereby assumes sole responsibility to secure any other intellectual +property rights needed, if any. For example, if a third party patent license is +required to allow Recipient to Distribute the Program, it is Recipient's responsibility +to acquire that license before distributing the Program. +d) Each Contributor represents that to its knowledge it has sufficient copyright +rights in its Contribution, if any, to grant the copyright license set forth in +this Agreement. +e) Notwithstanding the terms of any Secondary License, no Contributor makes additional +grants to any Recipient (other than those set forth in this Agreement) as a result +of such Recipient's receipt of the Program under the terms of a Secondary License +(if permitted under the terms of Section 3). +3. REQUIREMENTS +3.1 If a Contributor Distributes the Program in any form, then: + +a) the Program must also be made available as Source Code, in accordance with section +3.2, and the Contributor must accompany the Program with a statement that the Source +Code for the Program is available under this Agreement, and informs Recipients how +to obtain it in a reasonable manner on or through a medium customarily used for +software exchange; and +b) the Contributor may Distribute the Program under a license different than this +Agreement, provided that such license: +i) effectively disclaims on behalf of all other Contributors all warranties and +conditions, express and implied, including warranties or conditions of title and +non-infringement, and implied warranties or conditions of merchantability and fitness +for a particular purpose; +ii) effectively excludes on behalf of all other Contributors all liability for damages, +including direct, indirect, special, incidental and consequential damages, such +as lost profits; +iii) does not attempt to limit or alter the recipients' rights in the Source Code +under section 3.2; and +iv) requires any subsequent distribution of the Program by any party to be under +a license that satisfies the requirements of this section 3. +3.2 When the Program is Distributed as Source Code: + +a) it must be made available under this Agreement, or if the Program (i) is combined +with other material in a separate file or files made available under a Secondary +License, and (ii) the initial Contributor attached to the Source Code the notice +described in Exhibit A of this Agreement, then the Program may be made available +under the terms of such Secondary Licenses, and +b) a copy of this Agreement must be included with each copy of the Program. +3.3 Contributors may not remove or alter any copyright, patent, trademark, attribution +notices, disclaimers of warranty, or limitations of liability ('notices') contained +within the Program from any copy of the Program which they Distribute, provided +that Contributors may add their own appropriate notices. + +4. COMMERCIAL DISTRIBUTION +Commercial distributors of software may accept certain responsibilities with respect +to end users, business partners and the like. While this license is intended to +facilitate the commercial use of the Program, the Contributor who includes the Program +in a commercial product offering should do so in a manner which does not create +potential liability for other Contributors. Therefore, if a Contributor includes +the Program in a commercial product offering, such Contributor ("Commercial Contributor") +hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") +against any losses, damages and costs (collectively "Losses") arising from claims, +lawsuits and other legal actions brought by a third party against the Indemnified +Contributor to the extent caused by the acts or omissions of such Commercial Contributor +in connection with its distribution of the Program in a commercial product offering. +The obligations in this section do not apply to any claims or Losses relating to +any actual or alleged intellectual property infringement. In order to qualify, an +Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing +of such claim, and b) allow the Commercial Contributor to control, and cooperate +with the Commercial Contributor in, the defense and any related settlement negotiations. +The Indemnified Contributor may participate in any such claim at its own expense. + +For example, a Contributor might include the Program in a commercial product offering, +Product X. That Contributor is then a Commercial Contributor. If that Commercial +Contributor then makes performance claims, or offers warranties related to Product +X, those performance claims and warranties are such Commercial Contributor's responsibility +alone. Under this section, the Commercial Contributor would have to defend claims +against the other Contributors related to those performance claims and warranties, +and if a court requires any other Contributor to pay any damages as a result, the +Commercial Contributor must pay those damages. + +5. NO WARRANTY +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT PERMITTED BY +APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES +OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, +ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS +FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the +appropriateness of using and distributing the Program and assumes all risks associated +with its exercise of rights under this Agreement, including but not limited to the +risks and costs of program errors, compliance with applicable laws, damage to or +loss of data, programs or equipment, and unavailability or interruption of operations. + +6. DISCLAIMER OF LIABILITY +EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT PERMITTED BY +APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR +THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY +OF SUCH DAMAGES. + +7. GENERAL +If any provision of this Agreement is invalid or unenforceable under applicable +law, it shall not affect the validity or enforceability of the remainder of the +terms of this Agreement, and without further action by the parties hereto, such +provision shall be reformed to the minimum extent necessary to make such provision +valid and enforceable. + +If Recipient institutes patent litigation against any entity (including a cross-claim +or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations +of the Program with other software or hardware) infringes such Recipient's patent(s), +then such Recipient's rights granted under Section 2(b) shall terminate as of the +date such litigation is filed. + +All Recipient's rights under this Agreement shall terminate if it fails to comply +with any of the material terms or conditions of this Agreement and does not cure +such failure in a reasonable period of time after becoming aware of such noncompliance. +If all Recipient's rights under this Agreement terminate, Recipient agrees to cease +use and distribution of the Program as soon as reasonably practicable. However, +Recipient's obligations under this Agreement and any licenses granted by Recipient +relating to the Program shall continue and survive. + +Everyone is permitted to copy and distribute copies of this Agreement, but in order +to avoid inconsistency the Agreement is copyrighted and may only be modified in +the following manner. The Agreement Steward reserves the right to publish new versions +(including revisions) of this Agreement from time to time. No one other than the +Agreement Steward has the right to modify this Agreement. The Eclipse Foundation +is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility +to serve as the Agreement Steward to a suitable separate entity. Each new version +of the Agreement will be given a distinguishing version number. The Program (including +Contributions) may always be Distributed subject to the version of the Agreement +under which it was received. In addition, after a new version of the Agreement is +published, Contributor may elect to Distribute the Program (including its Contributions) +under the new version. + +Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no +rights or licenses to the intellectual property of any Contributor under this Agreement, +whether expressly, by implication, estoppel or otherwise. All rights in the Program +not expressly granted under this Agreement are reserved. Nothing in this Agreement +is intended to be enforceable by any entity that is not a Contributor or Recipient. +No third-party beneficiary rights are created under this Agreement. + +Exhibit A - Form of Secondary Licenses Notice +"This Source Code may also be made available under the following Secondary Licenses +when the conditions for such availability set forth in the Eclipse Public License, +v. 2.0 are satisfied: {name license(s), version(s), and exceptions or additional +permissions here}." + +Simply including a copy of this Agreement, including this Exhibit A is not sufficient +to license the Source Code under Secondary Licenses. + +If it is not possible or desirable to put the notice in a particular file, then +You may include the notice in a location (such as a LICENSE file in a relevant directory) +where a recipient would be likely to look for such a notice. + +You may add additional accurate notices of copyright ownership. + + +END OF EPL-2.0 CODE NOTICES AND INFORMATION + +-------------------------------------------------------------------------------- +MIT CODE NOTICES AND INFORMATION + +The following third party components might be provided for use with the Program: + +fast-xml-parser-4.4.0.tgz +sax-1.2.4.tgz +strnum-1.0.5.tgz +xml2js-0.5.0.tgz +xmlbuilder-11.0.1.tgz + + + +Copyright + +Permission is hereby granted, free of charge, to +any person obtaining a copy of this software and +associated documentation files (the Software), +to deal in the Software without restriction, +including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit +persons to whom the Software is furnished to do so. + +THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE +OR OTHER DEALINGS IN THE SOFTWARE. -## Zowe CLI IBM CICS deploy plug-in - -This file provides details concerning notices applicable to third party code included in the products listed above ("the Program"). - -The third party code identified below is subject to the terms and conditions of the license agreement for the Program and not the license terms that may be contained in the notices below. The notices are provided for informational purposes. - -Please note: This Notices file may identify information that is not used by, or that was not shipped with, the Program as Licensee installed it. - -THE FOLLOWING SECTIONS IDENTIFY VARIOUS COMPONENTS CONTAINED IN THE PROGRAM IDENTIFIED ABOVE, AND SPECIFY CERTAIN NOTICES AND OTHER INFORMATION REGARDING THOSE COMPONENTS THAT ARE REQUIRED TO BE PROVIDED TO YOU. - -NOTWITHSTANDING ANY PROVISION CONTAINED IN ANY OF THE NOTICES AND OTHER INFORMATION SET FORTH BELOW, YOUR USE OF THESE PROGRAM COMPONENTS REMAINS SUBJECT TO THE TERMS AND CONDITIONS SET FORTH IN THE PROGRAM'S LICENSE AGREEMENT - -## Notices and Information - -The following are third party components, some of which may be included for use in the Program: - -- Bootstrap 3.3.2 -- copy-to-clipboard 3.0.8 -- Font Awesome 4.7.0 -- jekyll-documentation-theme 6.0.0 -- jQuery navgoco 0.2.1 -- jQuery Shuffle 3.0.0 -- jQuery-throttle-debounce 1.1 -- Modernizr.js 2.6.2 -- Start Bootstrap Modern Business HTML 1.0.5 - -### APACHE 2.0 CODE NOTICES AND INFORMATION - -The following third-party component may be provided for use with the Program and is available for use under the following terms and conditions: -- Start Bootstrap Modern Business HTML 1.0.5 - - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - -END OF APACHE CODE NOTICES AND INFORMATION - -======================================================================= -### BSD CODE NOTICES AND INFORMATION - -The following third-party component may be provided for use with the Program and is available for use under the following terms and conditions: -- jQuery navgoco 0.2.1 - -Copyright (c) 2013, Christodoulos Tsoulloftas, http://www.komposta.net -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the nor the names of its - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -OF THE POSSIBILITY OF SUCH DAMAGE. - -END OF BSD CODE NOTICES AND INFORMATION - -======================================================================= - -### MIT CODE NOTICES AND INFORMATION - -The following third-party components may be provided for use with the Program and are available for use under the following terms and conditions: -- Bootstrap 3.3.2 - Copyright (c) 2011-2019 Twitter, Inc.; Copyright (c) 2011-2019 The Bootstrap Authors -- copy-to-clipboard 3.0.8 - Copyright (c) 2016 Nik Butenko -- Font Awesome 4.7.0 -- jekyll-documentation-theme 6.0.0 - Copyright (c) 2017 Can Güney Aksakalli -- jQuery Shuffle 3.0.0 -- jQuery-throttle-debounce 1.1 - Copyright (c) 2010 "Cowboy" Ben Alman -- Modernizr.js 2.6.2 - - - - All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice shall be - included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE - LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION - OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +END OF MIT CODE NOTICES AND INFORMATION +-------------------------------------------------------------------------------- -END OF MIT CODE NOTICES AND INFORMATION +END OF NOTICES AND INFORMATION +--------------------------------------------------------------------------------