diff --git a/system-apps/app-prop-viewer/pluginDefinition.json b/system-apps/app-prop-viewer/pluginDefinition.json index 8777451c..11cb8610 100644 --- a/system-apps/app-prop-viewer/pluginDefinition.json +++ b/system-apps/app-prop-viewer/pluginDefinition.json @@ -1,7 +1,7 @@ { "identifier": "org.zowe.zlux.appmanager.app.propview", "apiVersion": "2.0.0", - "pluginVersion": "2.0.0", + "pluginVersion": "3.0.0", "pluginType": "application", "license": "EPL-2.0", "author": "Zowe", @@ -9,10 +9,14 @@ "isSystemPlugin":true, "webContent": { "framework": "angular", + "entryPoint": { + "2.0": "main.js", + "3.0": "v3/main.js" + }, "launchDefinition": { "pluginShortNameKey": "Zowe Viewer", "pluginShortNameDefault": "Zowe Viewer", - "imageSrc": "assets/icon.png" + "imageSrc": "assets/v3/icon.png" }, "descriptionKey": "Zowe Viewer", "descriptionDefault": "Zowe Viewer", diff --git a/system-apps/app-prop-viewer/webClient/package.json b/system-apps/app-prop-viewer/webClient/package.json index 071d832c..f24a2fc9 100644 --- a/system-apps/app-prop-viewer/webClient/package.json +++ b/system-apps/app-prop-viewer/webClient/package.json @@ -1,6 +1,6 @@ { "name": "org.zowe.zlux.appmanager.app.propview.webclient", - "version": "2.0.0", + "version": "3.0.0", "scripts": { "start": "webpack --progress --watch", "build": "set NODE_OPTIONS=--openssl-legacy-provider && webpack --progress", diff --git a/system-apps/app-prop-viewer/webClient/src/app/app.component.ts b/system-apps/app-prop-viewer/webClient/src/app/app.component.ts index 4a5aff1b..9d153d1b 100644 --- a/system-apps/app-prop-viewer/webClient/src/app/app.component.ts +++ b/system-apps/app-prop-viewer/webClient/src/app/app.component.ts @@ -12,7 +12,7 @@ import { Component ,Inject} from '@angular/core'; import { Angular2InjectionTokens } from 'pluginlib/inject-resources'; @Component({ - selector: 'app-root', + selector: 'app-prop', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) diff --git a/system-apps/app-prop-viewer/webClient/src/index.html b/system-apps/app-prop-viewer/webClient/src/index.html index 4e305d7a..60e01a66 100644 --- a/system-apps/app-prop-viewer/webClient/src/index.html +++ b/system-apps/app-prop-viewer/webClient/src/index.html @@ -21,7 +21,7 @@ - + diff --git a/system-apps/app-prop-viewer/webClient/webpack.config.js b/system-apps/app-prop-viewer/webClient/webpack.config.js index 0016f25f..f16de3b4 100644 --- a/system-apps/app-prop-viewer/webClient/webpack.config.js +++ b/system-apps/app-prop-viewer/webClient/webpack.config.js @@ -21,7 +21,7 @@ var config = { path.resolve(__dirname, './src/plugin.ts') ], 'output': { - 'path': path.resolve(__dirname, '../web'), + 'path': path.resolve(__dirname, '../web/v3'), 'filename': 'main.js', }, 'plugins': [ @@ -29,7 +29,7 @@ var config = { patterns: [ { from: path.resolve(__dirname, './src/assets'), - to: path.resolve(__dirname, '../web/assets') + to: path.resolve(__dirname, '../web/v3/assets') }, ], }),