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 6d2856bb
authored
Jun 11, 2022
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker stuffendalen
1 parent
9a936a8f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
9 deletions
code/moya-beans/src/test/java/fi/codecrew/moya/beans/CheckoutFiBeanTest.java
code/moya-parent/pom.xml
code/moya-web/pom.xml
code/moya-web/src/main/java/fi/codecrew/moya/handler/SessionStore.java
docker/docker-compose.yml
docker/pom.xml
code/moya-beans/src/test/java/fi/codecrew/moya/beans/CheckoutFiBeanTest.java
View file @
6d2856b
...
...
@@ -123,10 +123,8 @@ public class CheckoutFiBeanTest {
queryBuilder
.
addParam
(
CheckoutFiPaymentParam
.
DELAYED
,
returnUrl
+
"delayed.jsf"
);
requiredParams
.
put
(
"DELAYED"
,
"https://localhost/MoyaWeb/checkout/delayed.jsf"
);
queryBuilder
.
addParam
(
CheckoutFiPaymentParam
.
DELIVERY_DATE
,
new
SimpleDateFormat
(
DATEFORMAT
).
format
(
d
));
requiredParams
.
put
(
"DELIVERY_DATE"
,
"20150328"
);
requiredParams
.
put
(
"MAC"
,
"
7FBDC5A633794B7292E6B02020330E64
"
);
requiredParams
.
put
(
"MAC"
,
"
B3C473308FEE29313C581456C64D3596
"
);
List
<
NameValuePair
>
nvpairs
=
queryBuilder
.
getNameValuePairs
();
for
(
NameValuePair
p
:
nvpairs
)
{
...
...
code/moya-parent/pom.xml
View file @
6d2856b
...
...
@@ -6,6 +6,7 @@
<artifactId>
moya-parent
</artifactId>
<packaging>
pom
</packaging>
<modules>
<module>
../moya-utils
</module>
<module>
../moya-authmodule-client
</module>
...
...
@@ -17,6 +18,8 @@
<module>
../moya-mgmt
</module>
<module>
../moya-terminal-web
</module>
<module>
../moya-ear
</module>
<module>
../../docker
</module>
<!-- <module>../moya-angular</module> -->
</modules>
...
...
code/moya-web/pom.xml
View file @
6d2856b
...
...
@@ -5,7 +5,6 @@
<packaging>
war
</packaging>
<build>
<plugins>
<plugin>
<artifactId>
maven-war-plugin
</artifactId>
<version>
${war-plugin-version}
</version>
...
...
code/moya-web/src/main/java/fi/codecrew/moya/handler/SessionStore.java
View file @
6d2856b
...
...
@@ -55,9 +55,8 @@ public class SessionStore implements Serializable {
Locale
ret
=
locale
;
if
(
ret
==
null
||
ret
.
toString
().
equals
(
""
))
{
LanEvent
e
=
eventbean
.
getCurrentEvent
();
EventOrganiser
o
=
e
.
getOrganiser
();
String
retStr
=
o
.
getBundleCountry
();
String
retStr
=
eventbean
.
getCurrentEvent
().
getOrganiser
().
getBundleCountry
();
if
(
retStr
!=
null
&&
!
retStr
.
isEmpty
())
{
try
{
...
...
docker/docker-compose.yml
View file @
6d2856b
...
...
@@ -22,9 +22,20 @@ services:
-
"
127.0.0.1:4848:4848"
maven
:
build
:
maven
entrypoint
:
"
/bin/bash
"
tty
:
true
restart
:
"
no
"
command
:
mvn clean install -P exploded
working_dir
:
/usr/src/moya/code/moya-parent
volumes
:
-
../:/usr/src/moya
-
~/.m2:/root/.m2
#
# maven:
# build: maven
# restart: no
# command: postgres -c max_prepared_transactions=10
# tty: true
# working_dir: /usr/src/moya/code/moya-parent
# volumes:
# - ../:/usr/src/moya
# - ~/.m2:/root/.m2
docker/pom.xml
0 → 100644
View file @
6d2856b
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
fi.codecrew.moya
</groupId>
<name>
Docker development environment
</name>
<artifactId>
development-environment
</artifactId>
<version>
1.0
</version>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-install-plugin
</artifactId>
<configuration>
<skip>
true
</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
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