summaryrefslogtreecommitdiffstats
path: root/integration-tests
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2020-08-21 11:31:47 +0100
committerSébastien Determe <sebastien.determe@intl.att.com>2020-09-10 15:22:10 +0000
commit662fcbae499d428189bc3246821ed6c773938fce (patch)
tree644ae1eabb28695ff29eea6dec88d6d92dd7200f /integration-tests
parent4fc21a61e8b73c19fa2e211a879a6ab3217cf5bc (diff)
Update sdc start to mount catalog-be plugins
Change-Id: Ic1a0a8b01f1ef4ac23829431bbab7a7e10836ae6 Issue-ID: SDC-3252 Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'integration-tests')
-rw-r--r--integration-tests/pom.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml
index ce38c9ee9c..bceb7bee2e 100644
--- a/integration-tests/pom.xml
+++ b/integration-tests/pom.xml
@@ -46,6 +46,7 @@ limitations under the License.
<it.sdc.user>asdc_user</it.sdc.user>
<it.sdc.password>Aa1234%^!</it.sdc.password>
<it.chef.config>${project.build.directory}/chef-config</it.chef.config>
+ <it.sdc-be.plugins>${project.build.directory}/plugins/sdc-be</it.sdc-be.plugins>
<it.shared.volume>/tmp/sdc-integration-tests</it.shared.volume>
<it.docker.version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest
</it.docker.version>
@@ -267,6 +268,25 @@ limitations under the License.
</resources>
</configuration>
</execution>
+ <execution>
+ <id>copy-sdc-be-plugins</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${it.sdc-be.plugins}</outputDirectory>
+ <resources>
+ <resource>
+ <directory>../catalog-be-plugins/etsi-nfv-nsd-csar-plugin/target</directory>
+ <filtering>false</filtering>
+ <includes>
+ <include>etsi-nfv-nsd-csar-plugin-${version}.jar</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
@@ -537,6 +557,7 @@ limitations under the License.
<bind>
<volume>${it.chef.config}:/var/lib/jetty/chef-solo/environments</volume>
<volume>${it.shared.volume}:/var/lib/jetty/logs</volume>
+ <volume>${it.sdc-be.plugins}:/var/lib/jetty/plugins</volume>
</bind>
</volumes>
<wait>
rs-color-scheme: light) { .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
{
    "name": "dox-ui",
    "version": "1.0.0",
    "description": "",
    "author": "ONAP",
    "license": "SEE LICENSE IN LICENSE",
    "scripts": {
        "build": "webpack --mode=production",
        "build-dev": "webpack --mode=development",
        "start": "webpack-dev-server --progress --mode=development",
        "test": "jest",
        "test-failedTestReport": "jest --json | node test-utils/failedTestReport.js",
        "test-dev": "jest --watch",
        "test-coverage": "jest --coverage && start ./coverage/lcov-report/index.html",
        "test-build": "jest --coverage",
        "storyshots": "jest storyshots.test.js",
        "lint-fix": "eslint --fix  --ext .js --ext .jsx src"
    },
    "dependencies": {
        "attr-accept": "^1.1.0",
        "axios": "^0.16.2",
        "classnames": "^2.2.5",
        "core-js": "^2.4.0",
        "d3": "^4.10.0",
        "dox-sequence-diagram-ui": "file:../dox-sequence-diagram-ui",
        "intl": "^1.0.1",
        "intl-format-cache": "^2.0.5",
        "intl-messageformat": "^1.2.0",
        "intl-relativeformat": "^1.2.0",
        "lodash": "^4.13.1",
        "md5": "^2.1.0",
        "prop-types": "^15.6.0",
        "react": "^15.6.2",
        "react-bootstrap": "^0.32.1",
        "react-click-outside": "^2.3.1",
        "react-datepicker": "^0.48.0",
        "react-dnd": "^2.5.4",
        "react-dnd-html5-backend": "^2.5.4",
        "react-dom": "^15.6.2",
        "react-dropzone": "4.2.3",
        "react-input-autosize": "^2.2.0",
        "react-redux": "^5.0.6",
        "react-select": "1.2.1",
        "react-show-more-text": "^1.0.3",
        "react-sortable": "^1.2.0",
        "react-transition-group": "^2.3.1",
        "redux": "^3.7.2",
        "sdc-ui": "1.6.57",
        "uuid-js": "^0.7.5",
        "validator": "^4.3.0"
    },
    "devDependencies": {
        "babel-core": "^6.24.0",
        "babel-eslint": "^8.2.1",
        "babel-jest": "^22.1.0",
        "babel-loader": "7.1.4",
        "babel-plugin-transform-class-properties": "^6.10.2",
        "babel-plugin-transform-decorators-legacy": "^1.3.4",
        "babel-plugin-transform-object-rest-spread": "^6.8.0",
        "babel-plugin-transform-runtime": "^6.22.0",
        "babel-preset-env": "^1.6.1",
        "babel-preset-react": "^6.23.0",
        "clean-webpack-plugin": "^0.1.19",
        "css-loader": "^0.23.1",
        "deep-freeze": "0.0.1",
        "del": "^3.0.0",
        "enzyme": "^2.7.1",
        "eslint": "^4.18.1",
        "eslint-config-prettier": "^2.9.0",
        "eslint-loader": "^2.0.0",
        "eslint-plugin-import": "^2.9.0",
        "eslint-plugin-prettier": "^2.6.0",
        "eslint-plugin-react": "^7.7.0",
        "express": "^4.13.3",
        "file-loader": "^0.8.5",
        "html-loader": "^0.4.3",
        "http-proxy-middleware": "^0.17.4",
        "ignore-loader": "^0.1.1",
        "jasmine-core": "^2.5.2",
        "jest": "^21.2.1",
        "jshint": "^2.9.4",
        "json-loader": "^0.5.4",
        "jsx-loader": "^0.13.2",
        "mkdirp": "^0.5.1",
        "moment": "^2.18.1",
        "node-sass": "^4.7.2",
        "node-watch": "^0.3.5",
        "prettier": "1.10.2",
        "prompt": "^0.2.14",
        "randomstring": "^1.1.5",
        "react-addons-test-utils": "~15.3.2",
        "react-hot-loader": "^3.1.3",
        "rosie": "^1.6.0",
        "run-sequence": "^2.2.1",
        "sass-loader": "^6.0.6",
        "source-map-loader": "^0.1.5",
        "storyshots": "^3.2.2",
        "style-loader": "^0.13.0",
        "svg-sprite-loader": "^3.7.3",
        "url-loader": "^0.5.7",
        "webpack": "^4.5.0",
        "webpack-cli": "^2.0.14",
        "webpack-dev-server": "^3.1.3"
    },
    "engines": {
        "node": ">=8.0.0",
        "npm": ">=5.0.0",
        "yarn": "^1.7.0"
    },
    "jest": {
        "moduleNameMapper": {
            "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test-utils/fileMock.js",
            "\\.(css|scss)$": "<rootDir>/test-utils/styleMock.js",
            "^nfvo-utils/RestAPIUtil.js$": "<rootDir>/test-utils/MockRest.js",
            "^sdc-ui/lib/react/SVGIcon.js$": "<rootDir>/test-utils/MockSVGIcon.js",
            "^react-show-more$": "<rootDir>/test-utils/ShowMore.js",
            "^nfvo-utils(.*)$": "<rootDir>/src/nfvo-utils$1",
            "^nfvo-components(.*)$": "<rootDir>/src/nfvo-components$1",
            "^sdc-app(.*)$": "<rootDir>/src/sdc-app$1",
            "^test-utils(.*)$": "<rootDir>/test-utils$1",
            "^i18nJson$": "<rootDir>/src/nfvo-utils/i18n/en.json",
            "^src(.*)$": "<rootDir>/src$1"
        },
        "globals": {
            "DEBUG": false
        },
        "setupFiles": [
            "<rootDir>/test-utils/test-env-setup.js"
        ],
        "setupTestFrameworkScriptFile": "<rootDir>/test-utils/test-setup.js",
        "testPathIgnorePatterns": [
            "<rootDir>/node_modules/",
            "<rootDir>/test/nfvo-components/storyshots.test.js"
        ],
        "collectCoverageFrom": [
            "src/**/*.{js,jsx}"
        ],
        "coveragePathIgnorePatterns": [
            "/node_modules/",
            "(.)*.stories.js"
        ],
        "coverageReporters": [
            "lcov"
        ]
    }
}