rtstatistics-web-mconsole

Single page management console application for rtstatistics.com

License

License

Categories

Categories

Net
GroupId

GroupId

net.sf.jabb
ArtifactId

ArtifactId

rtstatistics-web-mconsole
Last Version

Last Version

1.0.8
Release Date

Release Date

Type

Type

jar
Description

Description

rtstatistics-web-mconsole
Single page management console application for rtstatistics.com
Project URL

Project URL

https://github.com/james-hu/rtstatistics-web-mconsole
Source Code Management

Source Code Management

https://github.com/james-hu/rtstatistics-web-mconsole

Download rtstatistics-web-mconsole

How to add to project

<!-- https://jarcasting.com/artifacts/net.sf.jabb/rtstatistics-web-mconsole/ -->
<dependency>
    <groupId>net.sf.jabb</groupId>
    <artifactId>rtstatistics-web-mconsole</artifactId>
    <version>1.0.8</version>
</dependency>
// https://jarcasting.com/artifacts/net.sf.jabb/rtstatistics-web-mconsole/
implementation 'net.sf.jabb:rtstatistics-web-mconsole:1.0.8'
// https://jarcasting.com/artifacts/net.sf.jabb/rtstatistics-web-mconsole/
implementation ("net.sf.jabb:rtstatistics-web-mconsole:1.0.8")
'net.sf.jabb:rtstatistics-web-mconsole:jar:1.0.8'
<dependency org="net.sf.jabb" name="rtstatistics-web-mconsole" rev="1.0.8">
  <artifact name="rtstatistics-web-mconsole" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.sf.jabb', module='rtstatistics-web-mconsole', version='1.0.8')
)
libraryDependencies += "net.sf.jabb" % "rtstatistics-web-mconsole" % "1.0.8"
[net.sf.jabb/rtstatistics-web-mconsole "1.0.8"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Single page management console application for rtstatistics.com

Codeship Status for rtstatistics/rtstatistics-web-mconsole

The app is built with Angular 2 and Angular Material 2.

The packaged application is embedded in web-manage and served from the Tomcat server. It can also be run as a standalone single page application either from local file system or from a web server.

The latest release is deployed at rtstatistics-web-mconsole.herokuapp.com. It can also be accessed through domain name console.rtstatistics.com.

To see it in production, visit https://manage.rtstatistics.com/webjars/rtstatistics-web-mconsole/.

Develop

  • NPM 3 is required.
  • To clean up node modules: npm run clean
  • To re-generate typings information: npm run typings install. You have to do this at least once befre you can compile the scripts.
  • To run locally in the quickest way: npm start. It will do the compilation automatically.
  • To run locally using deliverables generated on the fly: npm run server.
  • To build the deliverables for production usage: npm run build
    • Deliverables will be generated in dist/ directory.
  • To create webjar for distribution: mvn package
    • The webjar file will be generated in target/ directory.
  • To release the webjar:
    1. mvn -B jgitflow:release-start
    2. npm --no-git-tag-version version `git rev-parse --abbrev-ref HEAD | sed -e "s#release/##"`
    3. git add package.json
    4. git commit -m 'update version number according to gitflow'
    5. mvn jgitflow:release-finish

When running locally, the listening port number is 3000.

About authentication

When running inside web-manage

  1. The user should have already been authenticated by web-manage before having access to the console app.
  2. Console app calls web-manage REST APIs without specifying api_key of the organization in the requests.
  3. If the user's session with web-manage timed out, authentication may fail when calling web-manage REST API. In that case, the console app will prompt the user to authenticate again by either specifying an API key or by logging in in an embedded log in page.
  4. When 403 error message is received from web-manager server, console app pops up a dialog showing the login page of web-manage. A special flag is passed to the login url indicating that the login page is embedded in the console app, so that after successfully login, the dialog can be closed silently.

When running outside of web-manage

  1. The console app will prompt the user to authenticate by specifying an API key.

Versions

Version
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0