This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.lnu.is.integration | |
| import assertions._ | |
| import org.lnu.is.integration.adminunit.AdminUnitIntegrationTest | |
| import io.gatling.core.Predef.Simulation | |
| import io.gatling.core.Predef.atOnceUsers | |
| import io.gatling.core.Predef.stringToExpression | |
| import io.gatling.http.Predef.http | |
| import io.gatling.http.config.HttpProtocolBuilder.toHttpProtocol | |
| import org.lnu.is.integration.education.types.EducationTypeIntegrationTest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0"?> | |
| <project | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | |
| xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <parent> | |
| <groupId>is-lnu</groupId> | |
| <artifactId>is-lnu</artifactId> | |
| <version>0.0.1-SNAPSHOT</version> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.lnu.is.integration | |
| import org.lnu.is.integration.adminunit.AdminUnitIntegrationTest | |
| import io.gatling.core.Predef.Simulation | |
| import io.gatling.core.Predef.atOnceUsers | |
| import io.gatling.core.Predef.stringToExpression | |
| import io.gatling.http.Predef.http | |
| import io.gatling.http.config.HttpProtocolBuilder.toHttpProtocol | |
| class IntegrationTest extends Simulation { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.lnu.is.integration | |
| import org.lnu.is.integration.adminunit.AdminUnitIntegrationTest | |
| import io.gatling.core.Predef._ | |
| import io.gatling.core.Predef.Simulation | |
| import io.gatling.core.Predef.atOnceUsers | |
| import io.gatling.core.Predef.stringToExpression | |
| import io.gatling.http.Predef._ | |
| import io.gatling.http.Predef.http | |
| import io.gatling.http.config.HttpProtocolBuilder.toHttpProtocol |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='utf-8'?> | |
| <tomcat-users> | |
| <role rolename="manager-gui"/> | |
| <role rolename="manager-script"/> | |
| <user username="admin" password="password" roles="manager-gui,manager-script" /> | |
| </tomcat-users> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <settings> | |
| <servers> | |
| <server> | |
| <id>TomcatServer</id> | |
| <username>admin</username> | |
| <password>password</password> | |
| </server> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <plugin> | |
| <groupId>org.apache.tomcat.maven</groupId> | |
| <artifactId>tomcat7-maven-plugin</artifactId> | |
| <version>2.2</version> | |
| <configuration> | |
| <url>${tomcat.deploy.url}</url> | |
| <server>${tomcat.server.name}</server> | |
| <path>${tomcat.contextPath}</path> | |
| </configuration> | |
| </plugin> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <properties> | |
| ... | |
| <tomcat.deploy.url>http://${remoteIp}:8080/manager/text</tomcat.deploy.url> | |
| <tomcat.server.name>TomcatServer</tomcat.server.name> | |
| <tomcat.contextPath>/is-lnu-rest-api</tomcat.contextPath> | |
| </properties> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.lnu.is.dao.dao; | |
| import org.lnu.is.dao.builder.QueryBuilder; | |
| import org.lnu.is.dao.persistence.PersistenceManager; | |
| import org.lnu.is.domain.Model; | |
| import org.lnu.is.pagination.PagedQuerySearch; | |
| import org.lnu.is.pagination.PagedResult; | |
| import org.lnu.is.pagination.PagedSearch; | |
| import org.lnu.is.queries.Query; | |
| import org.slf4j.Logger; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <beans xmlns="http://www.springframework.org/schema/beans" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" | |
| xmlns:tx="http://www.springframework.org/schema/tx" | |
| xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd | |
| http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd | |
| http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd" | |
| default-autowire="byName"> | |
| <bean id="operationTypeDao" class="org.lnu.is.dao.dao.DefaultDao"> |