aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSindhuri.A <arcot.sindhuri@huawei.com>2019-04-19 14:15:08 +0530
committerSindhuri.A <arcot.sindhuri@huawei.com>2019-04-19 14:15:08 +0530
commitece7b2b8d4f53febbb63fbc8d05c98dd6f21618d (patch)
treedb900265b1a7e3b12eae05732637bac11f3a9b2b /common
parent074c0ebe9c1a0db0a5e0cc936898c35569ff4029 (diff)
Shifted getter setter for CustomQuery class
Shifted getter setter after constructor call for CustomQuery class Issue-ID: SO-1490 Change-Id: I5f836ad6e354610988f9a44bfbc1b2094c3b5cea Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
Diffstat (limited to 'common')
-rw-r--r--common/src/main/java/org/onap/so/client/aai/entities/CustomQuery.java17
1 files changed, 8 insertions, 9 deletions
diff --git a/common/src/main/java/org/onap/so/client/aai/entities/CustomQuery.java b/common/src/main/java/org/onap/so/client/aai/entities/CustomQuery.java
index af7ccf661e..3433e36151 100644
--- a/common/src/main/java/org/onap/so/client/aai/entities/CustomQuery.java
+++ b/common/src/main/java/org/onap/so/client/aai/entities/CustomQuery.java
@@ -34,15 +34,6 @@ public class CustomQuery {
private String query;
private String gremlin;
- public String getGremlin() {
- return gremlin;
- }
-
- public void setGremlin(String gremlin) {
- this.gremlin = gremlin;
- }
-
-
public CustomQuery(List<AAIResourceUri> start) {
this.setStart(start);
}
@@ -56,6 +47,14 @@ public class CustomQuery {
this.gremlin = gremlin;
}
+ public String getGremlin() {
+ return gremlin;
+ }
+
+ public void setGremlin(String gremlin) {
+ this.gremlin = gremlin;
+ }
+
public List<String> getStart() {
return start;
}
s="kr">const path = require('path'); const merge = require('webpack-merge'); const webpack = require('webpack'); const ServerConfig = require('./webpack.server'); const webpackCommonConfig = require('./webpack.common'); const {GlobCopyWebpackPlugin, BaseHrefWebpackPlugin} = require('@angular/cli/plugins/webpack'); const CopyWebpackPlugin = require('copy-webpack-plugin'); var CompressionPlugin = require('compression-webpack-plugin'); var currentTime = new Date().getTime(); const params = {}; const webpackProdConfig = { module: { rules: [ {test: /\.(eot|svg)$/, loader: "file-loader?name=/scripts/fonts/[name].[hash:20].[ext]"}, { test: /\.(jpg|png|gif|otf|ttf|woff|woff2|cur|ani)$/, loader: "url-loader?name=/scripts/images/[name].[hash:20].[ext]&limit=10000" } ] }, output: { path: path.join(process.cwd(), "dist"), filename: "[name]." + currentTime + ".bundle.js", chunkFilename: "[id].chunk.js", publicPath: "/sdc1" }, plugins: [ new webpack.DefinePlugin({ __DEBUG__: JSON.stringify(false), __ENV__: JSON.stringify('prod') }), new CopyWebpackPlugin([ { from: './src/index.html', transform: function (content, path) { content = (content + '').replace(/\.bundle.js/g, '.' + currentTime + '.bundle.jsgz'); return content; } } ]), new webpack.optimize.UglifyJsPlugin({ beautify: false, mangle: { screw_ie8: true, keep_fnames: true }, compress: { warnings: false, screw_ie8: true }, comments: false }), new webpack.optimize.AggressiveMergingPlugin(),//Merge chunks new CompressionPlugin({ asset: "[path]gz", algorithm: "gzip", test: /\.js$|\.css$|\.html$/ }) ] }; module.exports = merge(webpackProdConfig, webpackCommonConfig(params));