Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e5e0b74b
authored
May 12, 2017
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed melody, added MoyaNG to urls
1 parent
353dd98c
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
27 additions
and
65 deletions
code/moya-angular-common/src/index.ts
code/moya-angular/package.json
code/moya-angular/pom.xml
code/moya-angular/src/app/app.component.html
code/moya-angular/src/index.html
code/moya-ear/pom.xml
code/moya-parent/pom.xml
code/moya-terminal-web/WebContent/WEB-INF/web.xml
code/moya-web/WebContent/WEB-INF/web.xml
code/pom.xml
code/moya-angular-common/src/index.ts
View file @
e5e0b74
...
...
@@ -6,7 +6,7 @@ export * from './moya-rest';
const
MODULES
=
[
MoyaRestModule
]
]
;
@
NgModule
({
imports
:
[
MoyaRestModule
.
forRoot
()],
...
...
code/moya-angular/package.json
View file @
e5e0b74
...
...
@@ -3,7 +3,14 @@
"version"
:
"0.0.0"
,
"license"
:
"UNLICENSED"
,
"angular-cli"
:
{},
"scripts"
:
{},
"scripts"
:
{
"ng"
:
"ng"
,
"start"
:
"ng serve"
,
"build"
:
"ng build"
,
"test"
:
"ng test"
,
"lint"
:
"ng lint"
,
"e2e"
:
"ng e2e"
},
"private"
:
true
,
"dependencies"
:
{
"@angular/animations"
:
"^4.1.2"
,
...
...
code/moya-angular/pom.xml
View file @
e5e0b74
...
...
@@ -61,14 +61,6 @@
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>
fi.codecrew.moya
</groupId>
<artifactId>
moya-beans-client
</artifactId>
<version>
1.2-SNAPSHOT
</version>
</dependency>
</dependencies>
<parent>
<groupId>
fi.codecrew.moya
</groupId>
<artifactId>
moya-parent
</artifactId>
...
...
code/moya-angular/src/app/app.component.html
View file @
e5e0b74
<router-outlet></router-outlet>
<app-test
([
counter
])="
counter
"
>
</app-test>
{{counter}}
<a
routerLink=
"/test"
routerLinkActive=
"active"
>
test
</a>
<a
routerLink=
"/vip/viplist"
routerLinkActive=
"active"
>
viplist
</a>
code/moya-angular/src/index.html
View file @
e5e0b74
...
...
@@ -3,12 +3,12 @@
<head>
<meta
charset=
"utf-8"
>
<title>
MoyaAngular
</title>
<base
href=
"/"
>
<base
href=
"/
MoyaNG/
"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"icon"
type=
"image/x-icon"
href=
"favicon.ico"
>
</head>
<body>
<app-root>
Loading...
</app-root>
<app-root>
Welcome to new MOYA
</app-root>
</body>
</html>
code/moya-ear/pom.xml
View file @
e5e0b74
...
...
@@ -16,16 +16,7 @@
<version>
7
</version>
<defaultLibBundleDir>
lib
</defaultLibBundleDir>
<modules>
<jarModule>
<groupId>
net.bull.javamelody
</groupId>
<artifactId>
javamelody-core
</artifactId>
<includeInApplicationXml>
true
</includeInApplicationXml>
</jarModule>
<jarModule>
<groupId>
org.jrobin
</groupId>
<artifactId>
jrobin
</artifactId>
<includeInApplicationXml>
true
</includeInApplicationXml>
</jarModule>
<ejbModule>
<groupId>
fi.codecrew.moya
</groupId>
...
...
@@ -43,6 +34,11 @@
</webModule>
<webModule>
<groupId>
fi.codecrew.moya
</groupId>
<artifactId>
moya-angular
</artifactId>
<contextRoot>
/MoyaNG
</contextRoot>
</webModule>
<webModule>
<groupId>
fi.codecrew.moya
</groupId>
<artifactId>
moya-terminal-web
</artifactId>
<contextRoot>
/terminal
</contextRoot>
</webModule>
...
...
@@ -53,11 +49,7 @@
</build>
<dependencies>
<dependency>
<groupId>
net.bull.javamelody
</groupId>
<artifactId>
javamelody-core
</artifactId>
<version>
${javamelody.version}
</version>
</dependency>
<dependency>
<groupId>
fi.codecrew.moya
</groupId>
<artifactId>
moya-beans
</artifactId>
...
...
@@ -79,6 +71,13 @@
<dependency>
<groupId>
fi.codecrew.moya
</groupId>
<artifactId>
moya-angular
</artifactId>
<version>
1.2-SNAPSHOT
</version>
<type>
war
</type>
</dependency>
<dependency>
<groupId>
fi.codecrew.moya
</groupId>
<artifactId>
moya-terminal-web
</artifactId>
<version>
1.2-SNAPSHOT
</version>
<type>
war
</type>
...
...
code/moya-parent/pom.xml
View file @
e5e0b74
...
...
@@ -44,12 +44,7 @@
<artifactId>
sshd-core
</artifactId>
<version>
0.14.0
</version>
</dependency>
<dependency>
<!-- Java melody dependency -->
<groupId>
org.jrobin
</groupId>
<artifactId>
jrobin
</artifactId>
<version>
1.5.9
</version>
</dependency>
<dependency>
<groupId>
fi.iudex.pdfjet
</groupId>
<artifactId>
pdfjet
</artifactId>
...
...
code/moya-terminal-web/WebContent/WEB-INF/web.xml
View file @
e5e0b74
...
...
@@ -16,19 +16,6 @@
</session-config>
<!-- Java melody monitoring -->
<filter>
<filter-name>
javamelody
</filter-name>
<filter-class>
net.bull.javamelody.MonitoringFilter
</filter-class>
<async-supported>
true
</async-supported>
</filter>
<filter-mapping>
<filter-name>
javamelody
</filter-name>
<url-pattern>
/*
</url-pattern>
</filter-mapping>
<listener>
<listener-class>
net.bull.javamelody.SessionListener
</listener-class>
</listener>
<servlet>
<servlet-name>
Faces Servlet
</servlet-name>
...
...
code/moya-web/WebContent/WEB-INF/web.xml
View file @
e5e0b74
...
...
@@ -28,20 +28,7 @@
<param-name>
javax.faces.PROJECT_STAGE
</param-name>
<param-value>
Development
</param-value>
</context-param>
<!-- Java melody monitoring -->
<filter>
<filter-name>
javamelody
</filter-name>
<filter-class>
net.bull.javamelody.MonitoringFilter
</filter-class>
<async-supported>
true
</async-supported>
</filter>
<filter-mapping>
<filter-name>
javamelody
</filter-name>
<url-pattern>
/*
</url-pattern>
</filter-mapping>
<listener>
<listener-class>
net.bull.javamelody.SessionListener
</listener-class>
</listener>
<filter>
<display-name>
PrimefacesFileupload
</display-name>
...
...
code/pom.xml
View file @
e5e0b74
...
...
@@ -36,7 +36,6 @@
<logback.version>
1.2.3
</logback.version>
<testng.version>
6.11
</testng.version>
<javamelody.version>
1.65.0
</javamelody.version>
<primefaces.version>
6.0
</primefaces.version>
<primefaces.themeversion>
1.0.10
</primefaces.themeversion>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment