OpenTOSCA UI
Switch branches/tags
Clone or download
Latest commit 38d5925 Jun 19, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.mvn/wrapper Init Spring Boot Mar 10, 2017
docs/third-party-content Init NOTICE file Nov 28, 2017
e2e Major refactoring introducing angular-cli along with organizing compo… Jun 3, 2017
src Merge pull request #27 from OpenTOSCA/issue/#24 May 15, 2018
.angular-cli.json Change the global element prefix Feb 20, 2018
.editorconfig Major refactoring introducing angular-cli along with organizing compo… Jun 3, 2017
.gitignore Removed explicit exepts from gitignore for vscode May 8, 2018
.travis.yml Update .travis.yml Jun 19, 2018
Dockerfile Build WAR file with Maven Assembly plugin Aug 14, 2017
ISSUE_TEMPLATE.md Create ISSUE_TEMPLATE.md Jul 5, 2017
LICENSE-ASL.txt Rename LICENSE to LICENSE-ASL.txt Jul 17, 2017
LICENSE-EPL.txt Create LICENSE-EPL.txt Jul 17, 2017
NOTICE Update NOTICE Mar 15, 2018
PULL_REQUEST_TEMPLATE.md Fix typo Sep 22, 2017
README.md Fix for the badge order in the readme.md Oct 26, 2017
karma.conf.js Major refactoring introducing angular-cli along with organizing compo… Jun 3, 2017
mvnw Executables Mar 10, 2017
mvnw.cmd Executables Mar 10, 2017
npm-shrinkwrap.json Change the link of the repository page May 7, 2018
package.json Pin versions Sep 26, 2017
pom.xml Use latest NodeJS version Aug 14, 2017
protractor.conf.js Major refactoring introducing angular-cli along with organizing compo… Jun 3, 2017
tsconfig.json Change tsconfig ECMAScript target version back to ES5 since uglify ca… Jul 31, 2017
tslint.json Add the plan execution dialog Feb 28, 2018
ui-war.xml Build WAR file with Maven Assembly plugin Aug 14, 2017

README.md

OpenTOSCA UI

Build Status License License

Part of the OpenTOSCA Ecosystem

Prerequisites

  1. Install Git
  2. Install and setup Node.js > 6.9.0 and NPM > 3 for Angular.io
  3. Install angular-cli npm install -g @angular/cli
  4. Install proper node-gyp dependencies for your OS (e.g. for Windows: npm install --global --production windows-build-tools)

Local Development Setup

  1. git clone https://github.com/OpenTOSCA/ui.git opentosca-ui && cd opentosca-ui
  2. npm install

Run Development Server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Note: Be sure that no other process is listening on port 4200. You can change the port in the defaults object in .angular-cli.json.

Production Build

Before conducting a release, we have to lock down the dependency versions:

npm install --no-shrinkwrap
npm shrinkwrap

Afterwards, run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Lint the TypeScript project

ng lint

Build the WAR archive

mvnw clean package

Copy the WAR archive from Maven's build output directory (build\target) to your Apache Tomcat instance.

Code scaffolding

Use angular-cli to generate new files!

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|module.

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

License

Copyright (c) 2016-2017 University of Stuttgart.

All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 and the Apache License v2.0 which both accompany this distribution, and are available at http://www.eclipse.org/legal/epl-v10.html and http://www.apache.org/licenses/LICENSE-2.0.

Haftungsausschluss

Dies ist ein Forschungsprototyp. Die Haftung für entgangenen Gewinn, Produktionsausfall, Betriebsunterbrechung, entgangene Nutzungen, Verlust von Daten und Informationen, Finanzierungsaufwendungen sowie sonstige Vermögens- und Folgeschäden ist, außer in Fällen von grober Fahrlässigkeit, Vorsatz und Personenschäden ausgeschlossen.

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.