-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1247 from Sohandey/develop
Added Auth Testrig to Auth Repo
- Loading branch information
Showing
247 changed files
with
35,584 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
*.class | ||
.mtj.tmp/ | ||
*.war | ||
*.ear | ||
hs_err_pid* | ||
#ignored files | ||
|
||
.springBeans | ||
.metadata | ||
.factorypath | ||
.classpath | ||
.project | ||
.settings/ | ||
bin/ | ||
tmp/ | ||
|
||
logs/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.loadpath | ||
.DS_Store | ||
test.txt | ||
.idea/ | ||
.settings/ | ||
.sonarlint/ | ||
.recommenders/ | ||
/.recommenders/ | ||
|
||
**/*.iml | ||
*.log | ||
src/logs/mosip-api-test.log | ||
/target/ | ||
target/ | ||
test-output/ | ||
testng-report/ | ||
/reg | ||
./reg |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
apitest/.temp-MosipFunctionalTest-classpath-arg-1695652238739.txt
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
apitest/.temp-New_configuration (1)-classpath-arg-1658840665646.txt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
FROM openjdk:11 | ||
|
||
ARG SOURCE | ||
ARG COMMIT_HASH | ||
ARG COMMIT_ID | ||
ARG BUILD_TIME | ||
LABEL source=${SOURCE} | ||
LABEL commit_hash=${COMMIT_HASH} | ||
LABEL commit_id=${COMMIT_ID} | ||
LABEL build_time=${BUILD_TIME} | ||
|
||
# can be passed during Docker build as build time environment for github branch to pickup configuration from. | ||
ARG container_user=mosip | ||
|
||
# can be passed during Docker build as build time environment for github branch to pickup configuration from. | ||
ARG container_user_group=mosip | ||
|
||
# can be passed during Docker build as build time environment for github branch to pickup configuration from. | ||
ARG container_user_uid=1001 | ||
|
||
# can be passed during Docker build as build time environment for github branch to pickup configuration from. | ||
ARG container_user_gid=1001 | ||
|
||
ARG KUBECTL_VERSION=1.22.9 | ||
|
||
# install packages and create user | ||
RUN apt-get -y update \ | ||
&& apt-get install -y unzip jq \ | ||
&& groupadd -g ${container_user_gid} ${container_user_group} \ | ||
&& useradd -u ${container_user_uid} -g ${container_user_group} -s /bin/sh -m ${container_user} \ | ||
&& curl -LO "https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl" \ | ||
&& chmod +x kubectl \ | ||
&& mv kubectl /usr/local/bin/ | ||
|
||
# set working directory for the user | ||
WORKDIR /home/${container_user} | ||
|
||
ENV work_dir=/home/${container_user} | ||
|
||
ADD ./target/ $work_dir | ||
|
||
ADD entrypoint.sh $work_dir/entrypoint.sh | ||
|
||
RUN chmod +x $work_dir/entrypoint.sh | ||
|
||
#ADD ./testNgXmlFiles/ $work_dir/testNgXmlFiles/ | ||
|
||
# change permissions of file inside working dir | ||
RUN chown -R ${container_user}:${container_user} /home/${container_user} /usr/local/openjdk-11/lib/security/cacerts | ||
|
||
RUN chmod 644 /usr/local/openjdk-11/lib/security/cacerts | ||
|
||
# select container user for all tasks | ||
USER ${container_user_uid}:${container_user_gid} | ||
|
||
EXPOSE 8083 | ||
|
||
ENV MODULES= | ||
ENV ENV_USER= | ||
ENV ENV_ENDPOINT= | ||
ENV ENV_TESTLEVEL=smokeAndRegression | ||
|
||
ENTRYPOINT ["./entrypoint.sh"] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Automation test | ||
|
||
All automation test code. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
## Run automationtests | ||
java -jar -Dmodules="$MODULES" -Denv.user="$ENV_USER" -Denv.endpoint="$ENV_ENDPOINT" -Denv.testLevel="$ENV_TESTLEVEL" automationtests.jar; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,185 @@ | ||
<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>io.mosip.authentication</groupId> | ||
<artifactId>apitest-auth</artifactId> | ||
<packaging>jar</packaging> | ||
<name>apitest-auth</name> | ||
<description>Parent project of MOSIP functional tests</description> | ||
<url>https://github.com/mosip/mosip-functional-tests</url> | ||
<version>1.2.0.1-SNAPSHOT</version> | ||
|
||
<licenses> | ||
<license> | ||
<name>MPL 2.0</name> | ||
<url>https://www.mozilla.org/en-US/MPL/2.0/</url> | ||
</license> | ||
</licenses> | ||
|
||
<scm> | ||
<connection>scm:git:git://github.com/mosip/mosip-functional-tests.git</connection> | ||
<developerConnection>scm:git:ssh://github.com:mosip/mosip-functional-tests.git</developerConnection> | ||
<url>https://github.com/mosip/mosip-functional-tests</url> | ||
<tag>HEAD</tag> | ||
</scm> | ||
|
||
|
||
|
||
|
||
<properties> | ||
<!-- kernel versions --> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
|
||
<!-- maven --> | ||
<maven.compiler.target>11</maven.compiler.target> | ||
<maven.compiler.source>11</maven.compiler.source> | ||
<maven.compiler.version>3.7.0</maven.compiler.version> | ||
<maven.jar.plugin.version>3.0.2</maven.jar.plugin.version> | ||
<maven.war.plugin.version>3.1.0</maven.war.plugin.version> | ||
<maven.surefire.plugin.version>2.9</maven.surefire.plugin.version> | ||
<maven.jacoco.plugin.version>0.8.1</maven.jacoco.plugin.version> | ||
<maven.sonar.plugin.version>3.2</maven.sonar.plugin.version> | ||
<maven.javadoc.version>3.0.1</maven.javadoc.version> | ||
<maven-shade-plugin.version>2.3</maven-shade-plugin.version> | ||
<maven.javadoc.skip>false</maven.javadoc.skip> | ||
<maven.sonar.plugin.version>3.7.0.1746</maven.sonar.plugin.version> | ||
<!-- spring --> | ||
<spring.boot.version>2.0.2.RELEASE</spring.boot.version> | ||
<spring.data.jpa.version>2.0.7.RELEASE</spring.data.jpa.version> | ||
<spring.security.test.version>5.0.5.RELEASE</spring.security.test.version> | ||
<spring-cloud-config.version>2.0.0.RELEASE</spring-cloud-config.version> | ||
|
||
<swagger.core.version>2.0.7</swagger.core.version> | ||
<swagger.annotations.version>1.5.20</swagger.annotations.version> | ||
<springfox.version>2.9.2</springfox.version> | ||
|
||
<vertx.version>3.6.2</vertx.version> | ||
<vertx.health.check.version>3.7.0</vertx.health.check.version> | ||
|
||
|
||
<!-- javax --> | ||
<javax.interceptor.version>1.2</javax.interceptor.version> | ||
<javax.el-api.version>3.0.0</javax.el-api.version> | ||
<javax.transaction.api.version>1.3</javax.transaction.api.version> | ||
<javax.persistence.api.version>2.2</javax.persistence.api.version> | ||
<javax.validation-api.version>2.0.1.Final</javax.validation-api.version> | ||
<glassfish.javax.el>2.2.6</glassfish.javax.el> | ||
|
||
<!-- data --> | ||
<h2.version>1.4.197</h2.version> | ||
<mysql.connector.version>5.1.46</mysql.connector.version> | ||
<postgresql.version>42.2.2</postgresql.version> | ||
<eclipselink.version>2.5.0</eclipselink.version> | ||
<hibernate.validator.version>6.0.12.Final</hibernate.validator.version> | ||
|
||
<!-- test --> | ||
<mockito.version>1.10.19</mockito.version> | ||
<powermock.version>1.7.4</powermock.version> | ||
<powermock.beta.version>2.0.0-beta.5</powermock.beta.version> | ||
|
||
<!-- utilities --> | ||
<commons-math3>3.6.1</commons-math3> | ||
<commons-lang3>3.7</commons-lang3> | ||
<commons-io>2.6</commons-io> | ||
<commons-codec>1.11</commons-codec> | ||
<commons-collections4.version>4.3</commons-collections4.version> | ||
<commons.beanutils.version>1.9.2</commons.beanutils.version> | ||
<commons.configuration2.version>2.2</commons.configuration2.version> | ||
<apache.httpcomponents.version>4.5.6</apache.httpcomponents.version> | ||
<guava.version>19.0</guava.version> | ||
<lombok.version>1.18.8</lombok.version> | ||
<jsch.version>0.1.54</jsch.version> | ||
<sshd.version>1.4.0</sshd.version> | ||
<itextcore.version>7.1.0</itextcore.version> | ||
<itexthtml2pdf.version>2.0.0</itexthtml2pdf.version> | ||
<itext.version>5.5.13</itext.version> | ||
<freemarker.version>2.3.23</freemarker.version> | ||
<velocity.version>1.7</velocity.version> | ||
<velocity.tool.version>2.0</velocity.tool.version> | ||
<datamapper.orika>1.5.2</datamapper.orika> | ||
<modelmapper.version>2.1.1</modelmapper.version> | ||
<bouncycastle.version>1.60</bouncycastle.version> | ||
<icu4j.version>63.1</icu4j.version> | ||
<seventeam-otp.version>1.0.0</seventeam-otp.version> | ||
<google.zxing.version>3.3.3</google.zxing.version> | ||
<hadoop-client>2.8.1</hadoop-client> | ||
<htrace-core4>4.1.0-incubating</htrace-core4> | ||
<aws.javasdk.version>1.11.368</aws.javasdk.version> | ||
<s3mock.version>0.2.4</s3mock.version> | ||
<ignite.version>2.3.0</ignite.version> | ||
<findbugs.version>3.0.1</findbugs.version> | ||
<byte.buddy.version>1.9.12</byte.buddy.version> | ||
<io.jsonwebtoken.jjwt.version>0.6.0</io.jsonwebtoken.jjwt.version> | ||
<apache.directory.api.version>2.0.0.AM2</apache.directory.api.version> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- registration versions --> | ||
<maven.jacoco.version>0.8.2</maven.jacoco.version> | ||
<javafx.version>2.2</javafx.version> | ||
<maven.sonar.version>3.2</maven.sonar.version> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.version>3.7.0</maven.compiler.version> | ||
<maven.javadoc.version>3.0.1</maven.javadoc.version> | ||
|
||
<!-- Test & Logging --> | ||
<logback.version>1.1.6</logback.version> | ||
<slf4j.version>1.7.19</slf4j.version> | ||
<mockito.version>1.10.19</mockito.version> | ||
|
||
<!-- Orika Mapper --> | ||
<orika.version>1.4.6</orika.version> | ||
|
||
<!-- Spring version --> | ||
<spring.version>5.0.6.RELEASE</spring.version> | ||
|
||
<!-- Hibernate version --> | ||
<hibernate.version>5.4.2.Final</hibernate.version> | ||
|
||
<!-- Apache Commons DPC2 version --> | ||
<apache.commons.dpce.version>2.1.1</apache.commons.dpce.version> | ||
|
||
<!-- Derby Version --> | ||
<apache.derby.version>10.13.1.1</apache.derby.version> | ||
|
||
<!-- sourceafis Version --> | ||
<sourceafis.version>3.4.0</sourceafis.version> | ||
|
||
<!-- openimaj version --> | ||
<org.openimaj.version>1.3.5</org.openimaj.version> | ||
|
||
<!-- webcam-capture version --> | ||
<webcam-capture.version>0.3.12</webcam-capture.version> | ||
|
||
<!-- TSS Version --> | ||
<tss.version>0.3.0</tss.version> | ||
|
||
<!-- automationtests version --> | ||
<wink-json4j-provider.version>1.1.2-incubating</wink-json4j-provider.version> | ||
<kernel.version>1.2.0.1-B1</kernel.version> | ||
<zjsonpatch.version>0.4.7</zjsonpatch.version> | ||
<extentreports.aventstack.version>3.0.0</extentreports.aventstack.version> | ||
<extentreports.relevantcodes.version>2.41.2</extentreports.relevantcodes.version> | ||
<json-path.version>2.4.0</json-path.version> | ||
<maven.model.version>3.3.9</maven.model.version> | ||
<rest.assured.version>3.0.7</rest.assured.version> | ||
<testng.version>6.11</testng.version> | ||
<zt.zip.version>1.13</zt.zip.version> | ||
<fileName>automationtests-commons-1.2.0.1-SNAPSHOT-jar-with-dependencies</fileName> | ||
|
||
</properties> | ||
<dependencies> | ||
|
||
<dependency> | ||
<groupId>io.mosip.testrig.apirig.automationtests.commons</groupId> | ||
<artifactId>automationtests-commons</artifactId> | ||
<version>1.2.0.1-SNAPSHOT</version> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
</project> |
Oops, something went wrong.