diff --git a/.github/workflows/push-trigger.yml b/.github/workflows/push-trigger.yml index 60dffdcf184..6a4f26c3834 100644 --- a/.github/workflows/push-trigger.yml +++ b/.github/workflows/push-trigger.yml @@ -91,9 +91,9 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} build-maven-apitest-auth: - uses: mosip/kattu/.github/workflows/maven-build.yml@master + uses: mosip/kattu/.github/workflows/maven-build.yml@master-java21 with: - SERVICE_LOCATION: ./apitest + SERVICE_LOCATION: ./api-test BUILD_ARTIFACT: apitest-auth secrets: OSSRH_USER: ${{ secrets.OSSRH_USER }} @@ -105,9 +105,9 @@ jobs: publish_to_nexus_apitest_auth: if: "${{ !contains(github.ref, 'master') && github.event_name != 'pull_request' && github.event_name != 'release' && github.event_name != 'prerelease' && github.event_name != 'publish' }}" needs: build-maven-apitest-auth - uses: mosip/kattu/.github/workflows/maven-publish-to-nexus.yml@master + uses: mosip/kattu/.github/workflows/maven-publish-to-nexus.yml@master-java21 with: - SERVICE_LOCATION: ./apitest + SERVICE_LOCATION: ./api-test secrets: OSSRH_USER: ${{ secrets.OSSRH_USER }} OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }} @@ -122,15 +122,15 @@ jobs: env: NAMESPACE: ${{ secrets.dev_namespace_docker_hub }} SERVICE_NAME: apitest-auth - SERVICE_LOCATION: apitest + SERVICE_LOCATION: api-test BUILD_ARTIFACT: apitest-auth-local steps: - - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - uses: actions/checkout@v3 + - name: Set up JDK 21 + uses: actions/setup-java@v3 with: - ref: ${{ github.ref }} - java-version: 11 + distribution: 'temurin' + java-version: 21 server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file - name: Setup the settings file for ossrh server @@ -167,13 +167,13 @@ jobs: strategy: matrix: include: - - SERVICE_LOCATION: 'apitest' + - SERVICE_LOCATION: 'api-test' SERVICE_NAME: 'apitest-auth' BUILD_ARTIFACT: 'apitest-auth-local' ONLY_DOCKER: true fail-fast: false name: ${{ matrix.SERVICE_NAME }} - uses: mosip/kattu/.github/workflows/docker-build.yml@master + uses: mosip/kattu/.github/workflows/docker-build.yml@master-java21 with: SERVICE_LOCATION: ${{ matrix.SERVICE_LOCATION }} SERVICE_NAME: ${{ matrix.SERVICE_NAME }} @@ -188,9 +188,9 @@ jobs: sonar_analysis_apitest_auth: needs: build-maven-apitest-auth if: "${{ github.event_name != 'pull_request' }}" - uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master + uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master-java21 with: - SERVICE_LOCATION: ./apitest + SERVICE_LOCATION: ./api-test secrets: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} ORG_KEY: ${{ secrets.ORG_KEY }} @@ -198,4 +198,4 @@ jobs: OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }} OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} GPG_SECRET: ${{ secrets.GPG_SECRET }} - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} \ No newline at end of file diff --git a/apitest/.gitignore b/api-test/.gitignore similarity index 100% rename from apitest/.gitignore rename to api-test/.gitignore diff --git a/apitest/.temp-Functional Test-classpath-arg-1659588646071.txt b/api-test/.temp-Functional Test-classpath-arg-1659588646071.txt similarity index 100% rename from apitest/.temp-Functional Test-classpath-arg-1659588646071.txt rename to api-test/.temp-Functional Test-classpath-arg-1659588646071.txt diff --git a/apitest/.temp-Functional Test-classpath-arg-1659589592502.txt b/api-test/.temp-Functional Test-classpath-arg-1659589592502.txt similarity index 100% rename from apitest/.temp-Functional Test-classpath-arg-1659589592502.txt rename to api-test/.temp-Functional Test-classpath-arg-1659589592502.txt diff --git a/apitest/.temp-MosipFunctionalTest-classpath-arg-1695652238739.txt b/api-test/.temp-MosipFunctionalTest-classpath-arg-1695652238739.txt similarity index 100% rename from apitest/.temp-MosipFunctionalTest-classpath-arg-1695652238739.txt rename to api-test/.temp-MosipFunctionalTest-classpath-arg-1695652238739.txt diff --git a/apitest/.temp-New_configuration (1)-classpath-arg-1658840665646.txt b/api-test/.temp-New_configuration (1)-classpath-arg-1658840665646.txt similarity index 100% rename from apitest/.temp-New_configuration (1)-classpath-arg-1658840665646.txt rename to api-test/.temp-New_configuration (1)-classpath-arg-1658840665646.txt diff --git a/apitest/Biometric Devices/Face/DeviceDiscovery.json b/api-test/Biometric Devices/Face/DeviceDiscovery.json similarity index 100% rename from apitest/Biometric Devices/Face/DeviceDiscovery.json rename to api-test/Biometric Devices/Face/DeviceDiscovery.json diff --git a/apitest/Biometric Devices/Face/DeviceInfo.json b/api-test/Biometric Devices/Face/DeviceInfo.json similarity index 100% rename from apitest/Biometric Devices/Face/DeviceInfo.json rename to api-test/Biometric Devices/Face/DeviceInfo.json diff --git a/apitest/Biometric Devices/Face/DigitalId.json b/api-test/Biometric Devices/Face/DigitalId.json similarity index 100% rename from apitest/Biometric Devices/Face/DigitalId.json rename to api-test/Biometric Devices/Face/DigitalId.json diff --git a/apitest/Biometric Devices/Face/Keys/mosipface.p12 b/api-test/Biometric Devices/Face/Keys/mosipface.p12 similarity index 100% rename from apitest/Biometric Devices/Face/Keys/mosipface.p12 rename to api-test/Biometric Devices/Face/Keys/mosipface.p12 diff --git a/apitest/Biometric Devices/Face/Keys/mosipfaceftm.p12 b/api-test/Biometric Devices/Face/Keys/mosipfaceftm.p12 similarity index 100% rename from apitest/Biometric Devices/Face/Keys/mosipfaceftm.p12 rename to api-test/Biometric Devices/Face/Keys/mosipfaceftm.p12 diff --git a/apitest/Biometric Devices/Face/Stream Image/0.jpeg b/api-test/Biometric Devices/Face/Stream Image/0.jpeg similarity index 100% rename from apitest/Biometric Devices/Face/Stream Image/0.jpeg rename to api-test/Biometric Devices/Face/Stream Image/0.jpeg diff --git a/apitest/Biometric Devices/Finger/Single/DeviceDiscovery.json b/api-test/Biometric Devices/Finger/Single/DeviceDiscovery.json similarity index 100% rename from apitest/Biometric Devices/Finger/Single/DeviceDiscovery.json rename to api-test/Biometric Devices/Finger/Single/DeviceDiscovery.json diff --git a/apitest/Biometric Devices/Finger/Single/DeviceInfo.json b/api-test/Biometric Devices/Finger/Single/DeviceInfo.json similarity index 100% rename from apitest/Biometric Devices/Finger/Single/DeviceInfo.json rename to api-test/Biometric Devices/Finger/Single/DeviceInfo.json diff --git a/apitest/Biometric Devices/Finger/Single/DigitalId.json b/api-test/Biometric Devices/Finger/Single/DigitalId.json similarity index 100% rename from apitest/Biometric Devices/Finger/Single/DigitalId.json rename to api-test/Biometric Devices/Finger/Single/DigitalId.json diff --git a/apitest/Biometric Devices/Finger/Single/Keys/mosipfingersingle.p12 b/api-test/Biometric Devices/Finger/Single/Keys/mosipfingersingle.p12 similarity index 100% rename from apitest/Biometric Devices/Finger/Single/Keys/mosipfingersingle.p12 rename to api-test/Biometric Devices/Finger/Single/Keys/mosipfingersingle.p12 diff --git a/apitest/Biometric Devices/Finger/Single/Keys/mosipfingersingleftm.p12 b/api-test/Biometric Devices/Finger/Single/Keys/mosipfingersingleftm.p12 similarity index 100% rename from apitest/Biometric Devices/Finger/Single/Keys/mosipfingersingleftm.p12 rename to api-test/Biometric Devices/Finger/Single/Keys/mosipfingersingleftm.p12 diff --git a/apitest/Biometric Devices/Finger/Slap/DeviceDiscovery.json b/api-test/Biometric Devices/Finger/Slap/DeviceDiscovery.json similarity index 100% rename from apitest/Biometric Devices/Finger/Slap/DeviceDiscovery.json rename to api-test/Biometric Devices/Finger/Slap/DeviceDiscovery.json diff --git a/apitest/Biometric Devices/Finger/Slap/DeviceInfo.json b/api-test/Biometric Devices/Finger/Slap/DeviceInfo.json similarity index 100% rename from apitest/Biometric Devices/Finger/Slap/DeviceInfo.json rename to api-test/Biometric Devices/Finger/Slap/DeviceInfo.json diff --git a/apitest/Biometric Devices/Finger/Slap/DigitalId.json b/api-test/Biometric Devices/Finger/Slap/DigitalId.json similarity index 100% rename from apitest/Biometric Devices/Finger/Slap/DigitalId.json rename to api-test/Biometric Devices/Finger/Slap/DigitalId.json diff --git a/apitest/Biometric Devices/Finger/Slap/Keys/mosipfingerslap.p12 b/api-test/Biometric Devices/Finger/Slap/Keys/mosipfingerslap.p12 similarity index 100% rename from apitest/Biometric Devices/Finger/Slap/Keys/mosipfingerslap.p12 rename to api-test/Biometric Devices/Finger/Slap/Keys/mosipfingerslap.p12 diff --git a/apitest/Biometric Devices/Finger/Slap/Keys/mosipfingerslapftm.p12 b/api-test/Biometric Devices/Finger/Slap/Keys/mosipfingerslapftm.p12 similarity index 100% rename from apitest/Biometric Devices/Finger/Slap/Keys/mosipfingerslapftm.p12 rename to api-test/Biometric Devices/Finger/Slap/Keys/mosipfingerslapftm.p12 diff --git a/apitest/Biometric Devices/Finger/Slap/Stream Image/1.jpeg b/api-test/Biometric Devices/Finger/Slap/Stream Image/1.jpeg similarity index 100% rename from apitest/Biometric Devices/Finger/Slap/Stream Image/1.jpeg rename to api-test/Biometric Devices/Finger/Slap/Stream Image/1.jpeg diff --git a/apitest/Biometric Devices/Finger/Slap/Stream Image/2.jpeg b/api-test/Biometric Devices/Finger/Slap/Stream Image/2.jpeg similarity index 100% rename from apitest/Biometric Devices/Finger/Slap/Stream Image/2.jpeg rename to api-test/Biometric Devices/Finger/Slap/Stream Image/2.jpeg diff --git a/apitest/Biometric Devices/Finger/Slap/Stream Image/3.jpeg b/api-test/Biometric Devices/Finger/Slap/Stream Image/3.jpeg similarity index 100% rename from apitest/Biometric Devices/Finger/Slap/Stream Image/3.jpeg rename to api-test/Biometric Devices/Finger/Slap/Stream Image/3.jpeg diff --git a/apitest/Biometric Devices/Iris/Double/DeviceDiscovery.json b/api-test/Biometric Devices/Iris/Double/DeviceDiscovery.json similarity index 100% rename from apitest/Biometric Devices/Iris/Double/DeviceDiscovery.json rename to api-test/Biometric Devices/Iris/Double/DeviceDiscovery.json diff --git a/apitest/Biometric Devices/Iris/Double/DeviceInfo.json b/api-test/Biometric Devices/Iris/Double/DeviceInfo.json similarity index 100% rename from apitest/Biometric Devices/Iris/Double/DeviceInfo.json rename to api-test/Biometric Devices/Iris/Double/DeviceInfo.json diff --git a/apitest/Biometric Devices/Iris/Double/DigitalId.json b/api-test/Biometric Devices/Iris/Double/DigitalId.json similarity index 100% rename from apitest/Biometric Devices/Iris/Double/DigitalId.json rename to api-test/Biometric Devices/Iris/Double/DigitalId.json diff --git a/apitest/Biometric Devices/Iris/Double/Keys/mosipirisdouble.p12 b/api-test/Biometric Devices/Iris/Double/Keys/mosipirisdouble.p12 similarity index 100% rename from apitest/Biometric Devices/Iris/Double/Keys/mosipirisdouble.p12 rename to api-test/Biometric Devices/Iris/Double/Keys/mosipirisdouble.p12 diff --git a/apitest/Biometric Devices/Iris/Double/Keys/mosipirisdoubleftm.p12 b/api-test/Biometric Devices/Iris/Double/Keys/mosipirisdoubleftm.p12 similarity index 100% rename from apitest/Biometric Devices/Iris/Double/Keys/mosipirisdoubleftm.p12 rename to api-test/Biometric Devices/Iris/Double/Keys/mosipirisdoubleftm.p12 diff --git a/apitest/Biometric Devices/Iris/Double/Stream Image/1.jpeg b/api-test/Biometric Devices/Iris/Double/Stream Image/1.jpeg similarity index 100% rename from apitest/Biometric Devices/Iris/Double/Stream Image/1.jpeg rename to api-test/Biometric Devices/Iris/Double/Stream Image/1.jpeg diff --git a/apitest/Biometric Devices/Iris/Double/Stream Image/2.jpeg b/api-test/Biometric Devices/Iris/Double/Stream Image/2.jpeg similarity index 100% rename from apitest/Biometric Devices/Iris/Double/Stream Image/2.jpeg rename to api-test/Biometric Devices/Iris/Double/Stream Image/2.jpeg diff --git a/apitest/Biometric Devices/Iris/Double/Stream Image/3.jpeg b/api-test/Biometric Devices/Iris/Double/Stream Image/3.jpeg similarity index 100% rename from apitest/Biometric Devices/Iris/Double/Stream Image/3.jpeg rename to api-test/Biometric Devices/Iris/Double/Stream Image/3.jpeg diff --git a/apitest/Biometric Devices/Iris/Single/DeviceDiscovery.json b/api-test/Biometric Devices/Iris/Single/DeviceDiscovery.json similarity index 100% rename from apitest/Biometric Devices/Iris/Single/DeviceDiscovery.json rename to api-test/Biometric Devices/Iris/Single/DeviceDiscovery.json diff --git a/apitest/Biometric Devices/Iris/Single/DeviceInfo.json b/api-test/Biometric Devices/Iris/Single/DeviceInfo.json similarity index 100% rename from apitest/Biometric Devices/Iris/Single/DeviceInfo.json rename to api-test/Biometric Devices/Iris/Single/DeviceInfo.json diff --git a/apitest/Biometric Devices/Iris/Single/DigitalId.json b/api-test/Biometric Devices/Iris/Single/DigitalId.json similarity index 100% rename from apitest/Biometric Devices/Iris/Single/DigitalId.json rename to api-test/Biometric Devices/Iris/Single/DigitalId.json diff --git a/apitest/Biometric Devices/Iris/Single/Keys/mosipirissingle.p12 b/api-test/Biometric Devices/Iris/Single/Keys/mosipirissingle.p12 similarity index 100% rename from apitest/Biometric Devices/Iris/Single/Keys/mosipirissingle.p12 rename to api-test/Biometric Devices/Iris/Single/Keys/mosipirissingle.p12 diff --git a/apitest/Biometric Devices/Iris/Single/Keys/mosipirissingleftm.p12 b/api-test/Biometric Devices/Iris/Single/Keys/mosipirissingleftm.p12 similarity index 100% rename from apitest/Biometric Devices/Iris/Single/Keys/mosipirissingleftm.p12 rename to api-test/Biometric Devices/Iris/Single/Keys/mosipirissingleftm.p12 diff --git a/apitest/Biometric Devices/mosiprootca.p12 b/api-test/Biometric Devices/mosiprootca.p12 similarity index 100% rename from apitest/Biometric Devices/mosiprootca.p12 rename to api-test/Biometric Devices/mosiprootca.p12 diff --git a/apitest/Biometric Devices/mosiprootcaftm.p12 b/api-test/Biometric Devices/mosiprootcaftm.p12 similarity index 100% rename from apitest/Biometric Devices/mosiprootcaftm.p12 rename to api-test/Biometric Devices/mosiprootcaftm.p12 diff --git a/apitest/Biometric Devices/rootca.cer b/api-test/Biometric Devices/rootca.cer similarity index 100% rename from apitest/Biometric Devices/rootca.cer rename to api-test/Biometric Devices/rootca.cer diff --git a/apitest/Biometric Devices/rootcaftm.cer b/api-test/Biometric Devices/rootcaftm.cer similarity index 100% rename from apitest/Biometric Devices/rootcaftm.cer rename to api-test/Biometric Devices/rootcaftm.cer diff --git a/apitest/Dockerfile b/api-test/Dockerfile similarity index 62% rename from apitest/Dockerfile rename to api-test/Dockerfile index 17c93661229..1a87218d4ed 100644 --- a/apitest/Dockerfile +++ b/api-test/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:11 +FROM mosipdev/openjdk-21-jre:latest ARG SOURCE ARG COMMIT_HASH @@ -29,23 +29,23 @@ WORKDIR /home/${container_user} ENV work_dir=/home/${container_user} # Combine all necessary files into a single COPY command -COPY ./apitest/target $work_dir/ +COPY ./api-test/target $work_dir/ COPY application.properties $work_dir COPY ["Biometric Devices", "$work_dir/Biometric Devices"] COPY ["resource", "$work_dir/resource"] COPY entrypoint.sh $work_dir -# Combine all RUN commands into a single layer -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/ && \ - chown -R ${container_user}:${container_user} /home/${container_user} /usr/local/openjdk-11/lib/security/cacerts && \ - chmod 644 /usr/local/openjdk-11/lib/security/cacerts && \ - chmod +x $work_dir/entrypoint.sh +# install packages and create user +RUN apt-get -y update \ +&& apt-get install -y unzip jq curl \ +&& groupadd -g ${container_user_gid} ${container_user_group} \ +&& useradd -u ${container_user_uid} -g ${container_user_group} -s /bin/bash -m ${container_user} \ +&& curl -LO "https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl" \ +&& mkdir -p /home/${container_user} \ +&& chmod +x kubectl $work_dir/entrypoint.sh \ +&& mv kubectl /usr/local/bin/ \ +&& chown -R ${container_user}:${container_user} /home/${container_user} /etc/ssl/certs/java/cacerts \ +&& chmod 644 /etc/ssl/certs/java/cacerts #select container user for all tasks @@ -60,4 +60,4 @@ ENV ENV_USER= ENV ENV_ENDPOINT= ENV ENV_TESTLEVEL=smokeAndRegression -ENTRYPOINT ["./entrypoint.sh"] +ENTRYPOINT ["./entrypoint.sh"] \ No newline at end of file diff --git a/apitest/README.md b/api-test/README.md similarity index 100% rename from apitest/README.md rename to api-test/README.md diff --git a/apitest/application.properties b/api-test/application.properties similarity index 100% rename from apitest/application.properties rename to api-test/application.properties diff --git a/api-test/entrypoint.sh b/api-test/entrypoint.sh new file mode 100644 index 00000000000..d2409087a17 --- /dev/null +++ b/api-test/entrypoint.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +## Run automationtests +java -Dmodules="$MODULES" -Denv.user="$ENV_USER" -Denv.endpoint="$ENV_ENDPOINT" -Denv.testLevel="$ENV_TESTLEVEL" -jar apitest-auth-*-jar-with-dependencies.jar; diff --git a/api-test/pom.xml b/api-test/pom.xml new file mode 100644 index 00000000000..55440ecf747 --- /dev/null +++ b/api-test/pom.xml @@ -0,0 +1,268 @@ + + 4.0.0 + io.mosip.authentication + apitest-auth + jar + apitest-auth + Parent project of MOSIP Id Authentication apitests + https://github.com/mosip/id-authentication + 1.2.1-SNAPSHOT + + + + MPL 2.0 + https://www.mozilla.org/en-US/MPL/2.0/ + + + + + scm:git:git://github.com/mosip/id-authentication.git + scm:git:ssh://github.com:mosip/id-authentication.git + https://github.com/mosip/id-authentication + HEAD + + + + + Mosip + mosip.emailnotifier@gmail.com + io.mosip + https://github.com/mosip/id-authentication + + + + + UTF-8 + + + 21 + 21 + 3.8.0 + 3.0.2 + 3.1.0 + 3.2.0 + 1.5 + 3.2.4 + 3.0.0 + 2.2.1 + + 3.0.1 + apitest-auth-1.2.1-SNAPSHOT-jar-with-dependencies + + + + + io.mosip.testrig.apirig.apitest.commons + apitest-commons + 1.2.2-SNAPSHOT + + + + + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + + + none + + + + maven-compiler-plugin + ${maven.compiler.version} + + ${maven.compiler.source} + ${maven.compiler.target} + -Dfile.encoding=UTF-8 + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven.javadoc.version} + + none + + + + pl.project13.maven + git-commit-id-plugin + ${git.commit.id.plugin.version} + + + populate-git-commit-information + + revision + + + true + MM/dd/yyyy HH:mm:ss Z + 8 + true + + ${project.build.outputDirectory}/git.properties + + + + + ${project.basedir}/.git + + + + org.apache.maven.plugins + maven-gpg-plugin + ${maven.gpg.plugin.version} + + + sign-artifacts + verify + + sign + + + + --pinentry-mode + loopback + + + + + + + org.apache.maven.plugins + maven-shade-plugin + ${maven.shade.plugin.version} + + + + shade + + + ${fileName} + + + + + + + io.mosip.testrig.apirig.testrunner.MosipTestRunner + + + + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + ${maven.jar.plugin.version} + + + + true + true + + + ${project.name} + ${project.version} + ${user.name} + ${os.name} + ${maven.build.timestamp} + ${env.BUILD_NUMBER} + ${env.BUILD_ID} + ${env.BUILD_URL} + + + + + + org.apache.maven.plugins + maven-war-plugin + ${maven.war.plugin.version} + + + + true + true + + + ${project.name} + ${project.version} + ${user.name} + ${os.name} + ${maven.build.timestamp} + ${env.BUILD_NUMBER} + ${env.BUILD_ID} + ${env.BUILD_URL} + + + + + + org.apache.maven.plugins + maven-source-plugin + ${maven.source.plugin.version} + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-antrun-plugin + ${maven.antrun.plugin.version} + + + make-jar-executable + package + + run + + + + + + + + + + + + + \ No newline at end of file diff --git a/apitest/resource/Profile/Automatic/Auth/0001Face.iso b/api-test/resource/Profile/Automatic/Auth/0001Face.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Face.iso rename to api-test/resource/Profile/Automatic/Auth/0001Face.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Left_Index.iso b/api-test/resource/Profile/Automatic/Auth/0001Left_Index.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Left_Index.iso rename to api-test/resource/Profile/Automatic/Auth/0001Left_Index.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Left_Index.wsq.iso b/api-test/resource/Profile/Automatic/Auth/0001Left_Index.wsq.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Left_Index.wsq.iso rename to api-test/resource/Profile/Automatic/Auth/0001Left_Index.wsq.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Left_Iris.iso b/api-test/resource/Profile/Automatic/Auth/0001Left_Iris.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Left_Iris.iso rename to api-test/resource/Profile/Automatic/Auth/0001Left_Iris.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Left_Little.iso b/api-test/resource/Profile/Automatic/Auth/0001Left_Little.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Left_Little.iso rename to api-test/resource/Profile/Automatic/Auth/0001Left_Little.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Left_Little.wsq.iso b/api-test/resource/Profile/Automatic/Auth/0001Left_Little.wsq.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Left_Little.wsq.iso rename to api-test/resource/Profile/Automatic/Auth/0001Left_Little.wsq.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Left_Middle.iso b/api-test/resource/Profile/Automatic/Auth/0001Left_Middle.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Left_Middle.iso rename to api-test/resource/Profile/Automatic/Auth/0001Left_Middle.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Left_Middle.wsq.iso b/api-test/resource/Profile/Automatic/Auth/0001Left_Middle.wsq.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Left_Middle.wsq.iso rename to api-test/resource/Profile/Automatic/Auth/0001Left_Middle.wsq.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Left_Ring.iso b/api-test/resource/Profile/Automatic/Auth/0001Left_Ring.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Left_Ring.iso rename to api-test/resource/Profile/Automatic/Auth/0001Left_Ring.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Left_Ring.wsq.iso b/api-test/resource/Profile/Automatic/Auth/0001Left_Ring.wsq.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Left_Ring.wsq.iso rename to api-test/resource/Profile/Automatic/Auth/0001Left_Ring.wsq.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Left_Thumb.iso b/api-test/resource/Profile/Automatic/Auth/0001Left_Thumb.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Left_Thumb.iso rename to api-test/resource/Profile/Automatic/Auth/0001Left_Thumb.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Left_Thumb.wsq.iso b/api-test/resource/Profile/Automatic/Auth/0001Left_Thumb.wsq.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Left_Thumb.wsq.iso rename to api-test/resource/Profile/Automatic/Auth/0001Left_Thumb.wsq.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Right_Index.iso b/api-test/resource/Profile/Automatic/Auth/0001Right_Index.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Right_Index.iso rename to api-test/resource/Profile/Automatic/Auth/0001Right_Index.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Right_Index.wsq.iso b/api-test/resource/Profile/Automatic/Auth/0001Right_Index.wsq.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Right_Index.wsq.iso rename to api-test/resource/Profile/Automatic/Auth/0001Right_Index.wsq.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Right_Iris.iso b/api-test/resource/Profile/Automatic/Auth/0001Right_Iris.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Right_Iris.iso rename to api-test/resource/Profile/Automatic/Auth/0001Right_Iris.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Right_Little.iso b/api-test/resource/Profile/Automatic/Auth/0001Right_Little.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Right_Little.iso rename to api-test/resource/Profile/Automatic/Auth/0001Right_Little.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Right_Little.wsq.iso b/api-test/resource/Profile/Automatic/Auth/0001Right_Little.wsq.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Right_Little.wsq.iso rename to api-test/resource/Profile/Automatic/Auth/0001Right_Little.wsq.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Right_Middle.iso b/api-test/resource/Profile/Automatic/Auth/0001Right_Middle.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Right_Middle.iso rename to api-test/resource/Profile/Automatic/Auth/0001Right_Middle.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Right_Middle.wsq.iso b/api-test/resource/Profile/Automatic/Auth/0001Right_Middle.wsq.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Right_Middle.wsq.iso rename to api-test/resource/Profile/Automatic/Auth/0001Right_Middle.wsq.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Right_Ring.iso b/api-test/resource/Profile/Automatic/Auth/0001Right_Ring.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Right_Ring.iso rename to api-test/resource/Profile/Automatic/Auth/0001Right_Ring.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Right_Ring.wsq.iso b/api-test/resource/Profile/Automatic/Auth/0001Right_Ring.wsq.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Right_Ring.wsq.iso rename to api-test/resource/Profile/Automatic/Auth/0001Right_Ring.wsq.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Right_Thumb.iso b/api-test/resource/Profile/Automatic/Auth/0001Right_Thumb.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Right_Thumb.iso rename to api-test/resource/Profile/Automatic/Auth/0001Right_Thumb.iso diff --git a/apitest/resource/Profile/Automatic/Auth/0001Right_Thumb.wsq.iso b/api-test/resource/Profile/Automatic/Auth/0001Right_Thumb.wsq.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Auth/0001Right_Thumb.wsq.iso rename to api-test/resource/Profile/Automatic/Auth/0001Right_Thumb.wsq.iso diff --git a/apitest/resource/Profile/Automatic/Registration/0001Exception_Photo.iso b/api-test/resource/Profile/Automatic/Registration/0001Exception_Photo.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Registration/0001Exception_Photo.iso rename to api-test/resource/Profile/Automatic/Registration/0001Exception_Photo.iso diff --git a/apitest/resource/Profile/Automatic/Registration/0001Face.iso b/api-test/resource/Profile/Automatic/Registration/0001Face.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Registration/0001Face.iso rename to api-test/resource/Profile/Automatic/Registration/0001Face.iso diff --git a/apitest/resource/Profile/Automatic/Registration/0001Left_Index.iso b/api-test/resource/Profile/Automatic/Registration/0001Left_Index.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Registration/0001Left_Index.iso rename to api-test/resource/Profile/Automatic/Registration/0001Left_Index.iso diff --git a/apitest/resource/Profile/Automatic/Registration/0001Left_Iris.iso b/api-test/resource/Profile/Automatic/Registration/0001Left_Iris.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Registration/0001Left_Iris.iso rename to api-test/resource/Profile/Automatic/Registration/0001Left_Iris.iso diff --git a/apitest/resource/Profile/Automatic/Registration/0001Left_Little.iso b/api-test/resource/Profile/Automatic/Registration/0001Left_Little.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Registration/0001Left_Little.iso rename to api-test/resource/Profile/Automatic/Registration/0001Left_Little.iso diff --git a/apitest/resource/Profile/Automatic/Registration/0001Left_Middle.iso b/api-test/resource/Profile/Automatic/Registration/0001Left_Middle.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Registration/0001Left_Middle.iso rename to api-test/resource/Profile/Automatic/Registration/0001Left_Middle.iso diff --git a/apitest/resource/Profile/Automatic/Registration/0001Left_Ring.iso b/api-test/resource/Profile/Automatic/Registration/0001Left_Ring.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Registration/0001Left_Ring.iso rename to api-test/resource/Profile/Automatic/Registration/0001Left_Ring.iso diff --git a/apitest/resource/Profile/Automatic/Registration/0001Left_Thumb.iso b/api-test/resource/Profile/Automatic/Registration/0001Left_Thumb.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Registration/0001Left_Thumb.iso rename to api-test/resource/Profile/Automatic/Registration/0001Left_Thumb.iso diff --git a/apitest/resource/Profile/Automatic/Registration/0001Right_Index.iso b/api-test/resource/Profile/Automatic/Registration/0001Right_Index.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Registration/0001Right_Index.iso rename to api-test/resource/Profile/Automatic/Registration/0001Right_Index.iso diff --git a/apitest/resource/Profile/Automatic/Registration/0001Right_Iris.iso b/api-test/resource/Profile/Automatic/Registration/0001Right_Iris.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Registration/0001Right_Iris.iso rename to api-test/resource/Profile/Automatic/Registration/0001Right_Iris.iso diff --git a/apitest/resource/Profile/Automatic/Registration/0001Right_Little.iso b/api-test/resource/Profile/Automatic/Registration/0001Right_Little.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Registration/0001Right_Little.iso rename to api-test/resource/Profile/Automatic/Registration/0001Right_Little.iso diff --git a/apitest/resource/Profile/Automatic/Registration/0001Right_Middle.iso b/api-test/resource/Profile/Automatic/Registration/0001Right_Middle.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Registration/0001Right_Middle.iso rename to api-test/resource/Profile/Automatic/Registration/0001Right_Middle.iso diff --git a/apitest/resource/Profile/Automatic/Registration/0001Right_Ring.iso b/api-test/resource/Profile/Automatic/Registration/0001Right_Ring.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Registration/0001Right_Ring.iso rename to api-test/resource/Profile/Automatic/Registration/0001Right_Ring.iso diff --git a/apitest/resource/Profile/Automatic/Registration/0001Right_Thumb.iso b/api-test/resource/Profile/Automatic/Registration/0001Right_Thumb.iso similarity index 100% rename from apitest/resource/Profile/Automatic/Registration/0001Right_Thumb.iso rename to api-test/resource/Profile/Automatic/Registration/0001Right_Thumb.iso diff --git a/apitest/resource/Profile/Default/Auth/Face.iso b/api-test/resource/Profile/Default/Auth/Face.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Face.iso rename to api-test/resource/Profile/Default/Auth/Face.iso diff --git a/apitest/resource/Profile/Default/Auth/Finger_UKNOWN.iso b/api-test/resource/Profile/Default/Auth/Finger_UKNOWN.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Finger_UKNOWN.iso rename to api-test/resource/Profile/Default/Auth/Finger_UKNOWN.iso diff --git a/apitest/resource/Profile/Default/Auth/Finger_UKNOWN_wsq.iso b/api-test/resource/Profile/Default/Auth/Finger_UKNOWN_wsq.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Finger_UKNOWN_wsq.iso rename to api-test/resource/Profile/Default/Auth/Finger_UKNOWN_wsq.iso diff --git a/apitest/resource/Profile/Default/Auth/Iris_UNKNOWN.iso b/api-test/resource/Profile/Default/Auth/Iris_UNKNOWN.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Iris_UNKNOWN.iso rename to api-test/resource/Profile/Default/Auth/Iris_UNKNOWN.iso diff --git a/apitest/resource/Profile/Default/Auth/Left_Index.iso b/api-test/resource/Profile/Default/Auth/Left_Index.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Left_Index.iso rename to api-test/resource/Profile/Default/Auth/Left_Index.iso diff --git a/apitest/resource/Profile/Default/Auth/Left_Index_wsq.iso b/api-test/resource/Profile/Default/Auth/Left_Index_wsq.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Left_Index_wsq.iso rename to api-test/resource/Profile/Default/Auth/Left_Index_wsq.iso diff --git a/apitest/resource/Profile/Default/Auth/Left_Iris.iso b/api-test/resource/Profile/Default/Auth/Left_Iris.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Left_Iris.iso rename to api-test/resource/Profile/Default/Auth/Left_Iris.iso diff --git a/apitest/resource/Profile/Default/Auth/Left_Little.iso b/api-test/resource/Profile/Default/Auth/Left_Little.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Left_Little.iso rename to api-test/resource/Profile/Default/Auth/Left_Little.iso diff --git a/apitest/resource/Profile/Default/Auth/Left_Little_wsq.iso b/api-test/resource/Profile/Default/Auth/Left_Little_wsq.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Left_Little_wsq.iso rename to api-test/resource/Profile/Default/Auth/Left_Little_wsq.iso diff --git a/apitest/resource/Profile/Default/Auth/Left_Middle.iso b/api-test/resource/Profile/Default/Auth/Left_Middle.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Left_Middle.iso rename to api-test/resource/Profile/Default/Auth/Left_Middle.iso diff --git a/apitest/resource/Profile/Default/Auth/Left_Middle_wsq.iso b/api-test/resource/Profile/Default/Auth/Left_Middle_wsq.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Left_Middle_wsq.iso rename to api-test/resource/Profile/Default/Auth/Left_Middle_wsq.iso diff --git a/apitest/resource/Profile/Default/Auth/Left_Ring.iso b/api-test/resource/Profile/Default/Auth/Left_Ring.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Left_Ring.iso rename to api-test/resource/Profile/Default/Auth/Left_Ring.iso diff --git a/apitest/resource/Profile/Default/Auth/Left_Ring_wsq.iso b/api-test/resource/Profile/Default/Auth/Left_Ring_wsq.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Left_Ring_wsq.iso rename to api-test/resource/Profile/Default/Auth/Left_Ring_wsq.iso diff --git a/apitest/resource/Profile/Default/Auth/Left_Thumb.iso b/api-test/resource/Profile/Default/Auth/Left_Thumb.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Left_Thumb.iso rename to api-test/resource/Profile/Default/Auth/Left_Thumb.iso diff --git a/apitest/resource/Profile/Default/Auth/Left_Thumb_wsq.iso b/api-test/resource/Profile/Default/Auth/Left_Thumb_wsq.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Left_Thumb_wsq.iso rename to api-test/resource/Profile/Default/Auth/Left_Thumb_wsq.iso diff --git a/apitest/resource/Profile/Default/Auth/Right_Index.iso b/api-test/resource/Profile/Default/Auth/Right_Index.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Right_Index.iso rename to api-test/resource/Profile/Default/Auth/Right_Index.iso diff --git a/apitest/resource/Profile/Default/Auth/Right_Index_wsq.iso b/api-test/resource/Profile/Default/Auth/Right_Index_wsq.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Right_Index_wsq.iso rename to api-test/resource/Profile/Default/Auth/Right_Index_wsq.iso diff --git a/apitest/resource/Profile/Default/Auth/Right_Iris.iso b/api-test/resource/Profile/Default/Auth/Right_Iris.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Right_Iris.iso rename to api-test/resource/Profile/Default/Auth/Right_Iris.iso diff --git a/apitest/resource/Profile/Default/Auth/Right_Little.iso b/api-test/resource/Profile/Default/Auth/Right_Little.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Right_Little.iso rename to api-test/resource/Profile/Default/Auth/Right_Little.iso diff --git a/apitest/resource/Profile/Default/Auth/Right_Little_wsq.iso b/api-test/resource/Profile/Default/Auth/Right_Little_wsq.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Right_Little_wsq.iso rename to api-test/resource/Profile/Default/Auth/Right_Little_wsq.iso diff --git a/apitest/resource/Profile/Default/Auth/Right_Middle.iso b/api-test/resource/Profile/Default/Auth/Right_Middle.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Right_Middle.iso rename to api-test/resource/Profile/Default/Auth/Right_Middle.iso diff --git a/apitest/resource/Profile/Default/Auth/Right_Middle_wsq.iso b/api-test/resource/Profile/Default/Auth/Right_Middle_wsq.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Right_Middle_wsq.iso rename to api-test/resource/Profile/Default/Auth/Right_Middle_wsq.iso diff --git a/apitest/resource/Profile/Default/Auth/Right_Ring.iso b/api-test/resource/Profile/Default/Auth/Right_Ring.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Right_Ring.iso rename to api-test/resource/Profile/Default/Auth/Right_Ring.iso diff --git a/apitest/resource/Profile/Default/Auth/Right_Ring_wsq.iso b/api-test/resource/Profile/Default/Auth/Right_Ring_wsq.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Right_Ring_wsq.iso rename to api-test/resource/Profile/Default/Auth/Right_Ring_wsq.iso diff --git a/apitest/resource/Profile/Default/Auth/Right_Thumb.iso b/api-test/resource/Profile/Default/Auth/Right_Thumb.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Right_Thumb.iso rename to api-test/resource/Profile/Default/Auth/Right_Thumb.iso diff --git a/apitest/resource/Profile/Default/Auth/Right_Thumb_wsq.iso b/api-test/resource/Profile/Default/Auth/Right_Thumb_wsq.iso similarity index 100% rename from apitest/resource/Profile/Default/Auth/Right_Thumb_wsq.iso rename to api-test/resource/Profile/Default/Auth/Right_Thumb_wsq.iso diff --git a/apitest/resource/Profile/Default/Registration/Exception_Photo.iso b/api-test/resource/Profile/Default/Registration/Exception_Photo.iso similarity index 100% rename from apitest/resource/Profile/Default/Registration/Exception_Photo.iso rename to api-test/resource/Profile/Default/Registration/Exception_Photo.iso diff --git a/apitest/resource/Profile/Default/Registration/Face.iso b/api-test/resource/Profile/Default/Registration/Face.iso similarity index 100% rename from apitest/resource/Profile/Default/Registration/Face.iso rename to api-test/resource/Profile/Default/Registration/Face.iso diff --git a/apitest/resource/Profile/Default/Registration/Left_Index.iso b/api-test/resource/Profile/Default/Registration/Left_Index.iso similarity index 100% rename from apitest/resource/Profile/Default/Registration/Left_Index.iso rename to api-test/resource/Profile/Default/Registration/Left_Index.iso diff --git a/apitest/resource/Profile/Default/Registration/Left_Iris.iso b/api-test/resource/Profile/Default/Registration/Left_Iris.iso similarity index 100% rename from apitest/resource/Profile/Default/Registration/Left_Iris.iso rename to api-test/resource/Profile/Default/Registration/Left_Iris.iso diff --git a/apitest/resource/Profile/Default/Registration/Left_Little.iso b/api-test/resource/Profile/Default/Registration/Left_Little.iso similarity index 100% rename from apitest/resource/Profile/Default/Registration/Left_Little.iso rename to api-test/resource/Profile/Default/Registration/Left_Little.iso diff --git a/apitest/resource/Profile/Default/Registration/Left_Middle.iso b/api-test/resource/Profile/Default/Registration/Left_Middle.iso similarity index 100% rename from apitest/resource/Profile/Default/Registration/Left_Middle.iso rename to api-test/resource/Profile/Default/Registration/Left_Middle.iso diff --git a/apitest/resource/Profile/Default/Registration/Left_Ring.iso b/api-test/resource/Profile/Default/Registration/Left_Ring.iso similarity index 100% rename from apitest/resource/Profile/Default/Registration/Left_Ring.iso rename to api-test/resource/Profile/Default/Registration/Left_Ring.iso diff --git a/apitest/resource/Profile/Default/Registration/Left_Thumb.iso b/api-test/resource/Profile/Default/Registration/Left_Thumb.iso similarity index 100% rename from apitest/resource/Profile/Default/Registration/Left_Thumb.iso rename to api-test/resource/Profile/Default/Registration/Left_Thumb.iso diff --git a/apitest/resource/Profile/Default/Registration/Right_Index.iso b/api-test/resource/Profile/Default/Registration/Right_Index.iso similarity index 100% rename from apitest/resource/Profile/Default/Registration/Right_Index.iso rename to api-test/resource/Profile/Default/Registration/Right_Index.iso diff --git a/apitest/resource/Profile/Default/Registration/Right_Iris.iso b/api-test/resource/Profile/Default/Registration/Right_Iris.iso similarity index 100% rename from apitest/resource/Profile/Default/Registration/Right_Iris.iso rename to api-test/resource/Profile/Default/Registration/Right_Iris.iso diff --git a/apitest/resource/Profile/Default/Registration/Right_Little.iso b/api-test/resource/Profile/Default/Registration/Right_Little.iso similarity index 100% rename from apitest/resource/Profile/Default/Registration/Right_Little.iso rename to api-test/resource/Profile/Default/Registration/Right_Little.iso diff --git a/apitest/resource/Profile/Default/Registration/Right_Middle.iso b/api-test/resource/Profile/Default/Registration/Right_Middle.iso similarity index 100% rename from apitest/resource/Profile/Default/Registration/Right_Middle.iso rename to api-test/resource/Profile/Default/Registration/Right_Middle.iso diff --git a/apitest/resource/Profile/Default/Registration/Right_Ring.iso b/api-test/resource/Profile/Default/Registration/Right_Ring.iso similarity index 100% rename from apitest/resource/Profile/Default/Registration/Right_Ring.iso rename to api-test/resource/Profile/Default/Registration/Right_Ring.iso diff --git a/apitest/resource/Profile/Default/Registration/Right_Thumb.iso b/api-test/resource/Profile/Default/Registration/Right_Thumb.iso similarity index 100% rename from apitest/resource/Profile/Default/Registration/Right_Thumb.iso rename to api-test/resource/Profile/Default/Registration/Right_Thumb.iso diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testrunner/MosipTestRunner.java b/api-test/src/main/java/io/mosip/testrig/apirig/testrunner/MosipTestRunner.java similarity index 97% rename from apitest/src/main/java/io/mosip/testrig/apirig/testrunner/MosipTestRunner.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testrunner/MosipTestRunner.java index 094918f4fce..72f95161e02 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testrunner/MosipTestRunner.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testrunner/MosipTestRunner.java @@ -30,12 +30,14 @@ import io.mosip.testrig.apirig.utils.EncryptionDecrptionUtil; import io.mosip.testrig.apirig.utils.GlobalConstants; import io.mosip.testrig.apirig.utils.GlobalMethods; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; import io.mosip.testrig.apirig.utils.JWKKeyUtil; import io.mosip.testrig.apirig.utils.KeyCloakUserAndAPIKeyGeneration; import io.mosip.testrig.apirig.utils.KeycloakUserManager; import io.mosip.testrig.apirig.utils.MispPartnerAndLicenseKeyGeneration; import io.mosip.testrig.apirig.utils.OutputValidationUtil; import io.mosip.testrig.apirig.utils.PartnerRegistration; +import io.mosip.testrig.apirig.utils.SkipTestCaseHandler; /** * Class to initiate mosip api test execution @@ -70,8 +72,9 @@ public static void main(String[] arg) { } else { ExtractResource.copyCommonResources(); } - ConfigManager.init(); + IdAuthConfigManager.init(); BaseTestCase.suiteSetup(); + SkipTestCaseHandler.loadTestcaseToBeSkippedList("testCaseSkippedList.txt"); setLogLevels(); // For now we are not doing health check for qa-115. diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/AddIdentity.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/AddIdentity.java similarity index 94% rename from apitest/src/main/java/io/mosip/testrig/apirig/testscripts/AddIdentity.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testscripts/AddIdentity.java index 668161218de..ed7388d135c 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/AddIdentity.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/AddIdentity.java @@ -36,6 +36,8 @@ import io.mosip.testrig.apirig.utils.AuthenticationTestException; import io.mosip.testrig.apirig.utils.ConfigManager; import io.mosip.testrig.apirig.utils.GlobalConstants; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; import io.mosip.testrig.apirig.utils.KernelAuthentication; import io.mosip.testrig.apirig.utils.KeycloakUserManager; import io.mosip.testrig.apirig.utils.OutputValidationUtil; @@ -89,6 +91,7 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); if (HealthChecker.signalTerminateExecution) { throw new SkipException( GlobalConstants.TARGET_ENV_HEALTH_CHECK_FAILED + HealthChecker.healthCheckFailureMapS); @@ -123,8 +126,8 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad String picture = properties.getProperty("picturevalue"); list.add(picture); attrmap.put("picture", list); - KeycloakUserManager.createVidUsers(propsKernel.getProperty("new_Resident_User"), - propsKernel.getProperty("new_Resident_Password"), propsKernel.getProperty("new_Resident_Role"), + KeycloakUserManager.createVidUsers(IdAuthConfigManager.getproperty("new_Resident_User"), + IdAuthConfigManager.getproperty("new_Resident_Password"), IdAuthConfigManager.getproperty("new_Resident_Role"), attrmap); } diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/BioAuth.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/BioAuth.java new file mode 100644 index 00000000000..2b4f12f0c80 --- /dev/null +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/BioAuth.java @@ -0,0 +1,190 @@ +package io.mosip.testrig.apirig.testscripts; + +import java.lang.reflect.Field; +import java.util.List; +import java.util.Map; + +import org.apache.log4j.Level; +import org.apache.log4j.Logger; +import org.json.JSONObject; +import org.springframework.stereotype.Component; +import org.testng.ITest; +import org.testng.ITestContext; +import org.testng.ITestResult; +import org.testng.Reporter; +import org.testng.annotations.AfterClass; +import org.testng.annotations.AfterMethod; +import org.testng.annotations.BeforeClass; +import org.testng.annotations.DataProvider; +import org.testng.annotations.Test; +import org.testng.internal.BaseTestMethod; +import org.testng.internal.TestResult; + +import io.mosip.testrig.apirig.dto.OutputValidationDto; +import io.mosip.testrig.apirig.dto.TestCaseDTO; +import io.mosip.testrig.apirig.utils.AdminTestException; +import io.mosip.testrig.apirig.utils.AdminTestUtil; +import io.mosip.testrig.apirig.utils.AuthenticationTestException; +import io.mosip.testrig.apirig.utils.BioDataUtility; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; +import io.mosip.testrig.apirig.utils.EncryptionDecrptionUtil; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; +import io.mosip.testrig.apirig.utils.OutputValidationUtil; +import io.mosip.testrig.apirig.utils.PartnerRegistration; +import io.mosip.testrig.apirig.utils.ReportUtil; +import io.restassured.response.Response; + +@Component +public class BioAuth extends AdminTestUtil implements ITest { + private static final Logger logger = Logger.getLogger(BioAuth.class); + protected String testCaseName = ""; + public Response response = null; + public Response newResponse = null; + public boolean isInternal = false; + + private EncryptionDecrptionUtil encryptDecryptUtil = new EncryptionDecrptionUtil(); + private BioDataUtility bioDataUtil = new BioDataUtility(); + + @BeforeClass + public static void setLogLevel() { + if (IdAuthConfigManager.IsDebugEnabled()) + logger.setLevel(Level.ALL); + else + logger.setLevel(Level.ERROR); + } + + /** + * get current testcaseName + */ + @Override + public String getTestName() { + return testCaseName; + } + + /** + * Data provider class provides test case list + * + * @return object of data provider + */ + @DataProvider(name = "testcaselist") + public Object[] getTestCaseList(ITestContext context) { + String ymlFile = context.getCurrentXmlTest().getLocalParameters().get("ymlFile"); + isInternal = Boolean.parseBoolean(context.getCurrentXmlTest().getLocalParameters().get("isInternal")); + logger.info("Started executing yml: " + ymlFile); + return getYmlTestData(ymlFile); + } + @Test(dataProvider = "testcaselist") + public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { + testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); +// String ekycPartnerId = getPartnerIdFromPartnerURL(ekycPartnerKeyUrl); +// String mispLicKey =""; +// String kycApiKey = KeyCloakUserAndAPIKeyGeneration.createKCUserAndGetAPIKeyForKyc(); +// mispLicKey = MispPartnerAndLicenseKeyGeneration.getAndUploadCertificatesAndGenerateMispLicKey(); + + + String partnerKeyUrl = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.partnerId + "/" + PartnerRegistration.apiKey; + + String ekycPartnerKeyURL = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.ekycPartnerId + "/" + PartnerRegistration.kycApiKey; + + if(testCaseDTO.getEndPoint().contains("$partnerKeyURL$")) + { + testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$partnerKeyURL$", partnerKeyUrl)); + PartnerRegistration.appendEkycOrRp = "rp-"; + } + if(testCaseDTO.getEndPoint().contains("$ekycPartnerKeyURL$")) + { + testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$ekycPartnerKeyURL$", ekycPartnerKeyURL)); + PartnerRegistration.appendEkycOrRp = "ekyc-"; + } + if (testCaseDTO.getEndPoint().contains("$UpdatedPartnerKeyURL$")) { + testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$UpdatedPartnerKeyURL$", + PartnerRegistration.updatedpartnerKeyUrl)); + } + JSONObject request = new JSONObject(testCaseDTO.getInput()); + String identityRequest = null, identityRequestTemplate = null, identityRequestEncUrl = null; + if (request.has("identityRequest")) { + identityRequest = request.get("identityRequest").toString(); + request.remove("identityRequest"); + } + identityRequest = buildIdentityRequest(identityRequest); + + JSONObject identityReqJson = new JSONObject(identityRequest); + identityRequestTemplate = identityReqJson.getString("identityRequestTemplate"); + identityReqJson.remove("identityRequestTemplate"); + identityRequestEncUrl = identityReqJson.getString("identityRequestEncUrl"); + identityReqJson.remove("identityRequestEncUrl"); + identityRequest = getJsonFromTemplate(identityReqJson.toString(), identityRequestTemplate); + + String encryptedIdentityReq = null; + try { + encryptedIdentityReq = bioDataUtil.constractBioIdentityRequest(identityRequest, + getResourcePath() + props.getProperty("bioValueEncryptionTemplate"), testCaseName, isInternal); + System.out.println("encryptedIdentityReq = " + encryptedIdentityReq); + } catch (Exception e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + + Map bioAuthTempMap = (isInternal) + ? encryptDecryptUtil.getInternalEncryptSessionKeyValue(encryptedIdentityReq) + : encryptDecryptUtil.getEncryptSessionKeyValue(encryptedIdentityReq); + // storeValue(bioAuthTempMap); + String authRequest = getJsonFromTemplate(request.toString(), testCaseDTO.getInputTemplate()); + logger.info("************* Modification of bio auth request ******************"); + Reporter.log("Modification of bio auth request"); + + logger.info("authRequest is = " + authRequest); + logger.info("bioAuthTempMap is = " + bioAuthTempMap); + authRequest = modifyRequest(authRequest, bioAuthTempMap, + getResourcePath() + props.getProperty("idaMappingPath")); + logger.info("authRequestTemp is = " + authRequest); + JSONObject authRequestTemp = new JSONObject(authRequest); + authRequestTemp.remove("env"); + authRequestTemp.put("env", "Staging"); + authRequest = authRequestTemp.toString(); + testCaseDTO.setInput(authRequest); + // storeValue(authRequest,"authRequest"); + + logger.info("******Post request Json to EndPointUrl: " + ApplnURI + testCaseDTO.getEndPoint() + " *******"); + + response = postRequestWithCookieAuthHeaderAndSignature(ApplnURI + testCaseDTO.getEndPoint(), authRequest, + COOKIENAME, testCaseDTO.getRole(), testCaseDTO.getTestCaseName()); + + Map> ouputValid = OutputValidationUtil.doJsonOutputValidation( + response.asString(), getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate())); + Reporter.log(ReportUtil.getOutputValidationReport(ouputValid)); + + if (!OutputValidationUtil.publishOutputResult(ouputValid)) + throw new AdminTestException("Failed at output validation"); + + + + + } + + /** + * The method ser current test name to result + * + * @param result + */ + @AfterMethod(alwaysRun = true) + public void setResultTestName(ITestResult result) { + try { + Field method = TestResult.class.getDeclaredField("m_method"); + method.setAccessible(true); + method.set(result, result.getMethod().clone()); + BaseTestMethod baseTestMethod = (BaseTestMethod) result.getMethod(); + Field f = baseTestMethod.getClass().getSuperclass().getDeclaredField("m_methodName"); + f.setAccessible(true); + f.set(baseTestMethod, testCaseName); + } catch (Exception e) { + Reporter.log("Exception : " + e.getMessage()); + } + + } + + @AfterClass + public static void authTestTearDown() { + } +} diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuth.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuth.java similarity index 97% rename from apitest/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuth.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuth.java index 3fefbc090f4..4e152f59a31 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuth.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuth.java @@ -8,13 +8,11 @@ import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.json.JSONObject; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.testng.ITest; import org.testng.ITestContext; import org.testng.ITestResult; import org.testng.Reporter; -import org.testng.SkipException; import org.testng.annotations.AfterClass; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeClass; @@ -26,13 +24,13 @@ import io.mosip.testrig.apirig.dto.OutputValidationDto; import io.mosip.testrig.apirig.dto.TestCaseDTO; import io.mosip.testrig.apirig.testrunner.BaseTestCase; -import io.mosip.testrig.apirig.testrunner.HealthChecker; import io.mosip.testrig.apirig.testrunner.JsonPrecondtion; import io.mosip.testrig.apirig.utils.AdminTestException; import io.mosip.testrig.apirig.utils.AdminTestUtil; import io.mosip.testrig.apirig.utils.AuthenticationTestException; -import io.mosip.testrig.apirig.utils.ConfigManager; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; import io.mosip.testrig.apirig.utils.EncryptionDecrptionUtil; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; import io.mosip.testrig.apirig.utils.OutputValidationUtil; import io.mosip.testrig.apirig.utils.PartnerRegistration; import io.mosip.testrig.apirig.utils.ReportUtil; @@ -44,12 +42,11 @@ public class DemoAuth extends AdminTestUtil implements ITest { public Response response = null; public boolean isInternal = false; - @Autowired - private EncryptionDecrptionUtil encryptDecryptUtil; + private EncryptionDecrptionUtil encryptDecryptUtil = new EncryptionDecrptionUtil(); @BeforeClass public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) + if (IdAuthConfigManager.IsDebugEnabled()) logger.setLevel(Level.ALL); else logger.setLevel(Level.ERROR); @@ -77,7 +74,8 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { - testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); String partnerKeyUrl = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.partnerId + "/" + PartnerRegistration.apiKey; String ekycPartnerKeyURL = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.ekycPartnerId + "/" + PartnerRegistration.kycApiKey; diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuthSimplePostForAutoGenId.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuthSimplePostForAutoGenId.java similarity index 97% rename from apitest/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuthSimplePostForAutoGenId.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuthSimplePostForAutoGenId.java index 932f0ecc451..28a7c509f23 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuthSimplePostForAutoGenId.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/DemoAuthSimplePostForAutoGenId.java @@ -33,9 +33,10 @@ import io.mosip.testrig.apirig.utils.AdminTestException; import io.mosip.testrig.apirig.utils.AdminTestUtil; import io.mosip.testrig.apirig.utils.AuthenticationTestException; -import io.mosip.testrig.apirig.utils.ConfigManager; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; import io.mosip.testrig.apirig.utils.GlobalConstants; import io.mosip.testrig.apirig.utils.GlobalMethods; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; import io.mosip.testrig.apirig.utils.OutputValidationUtil; import io.mosip.testrig.apirig.utils.PartnerRegistration; import io.mosip.testrig.apirig.utils.ReportUtil; @@ -52,7 +53,7 @@ public class DemoAuthSimplePostForAutoGenId extends AdminTestUtil implements ITe @BeforeClass public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) + if (IdAuthConfigManager.IsDebugEnabled()) logger.setLevel(Level.ALL); else logger.setLevel(Level.ERROR); @@ -93,6 +94,7 @@ public Object[] getTestCaseList(ITestContext context) { public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException, NoSuchAlgorithmException { testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); String[] kycFields = testCaseDTO.getKycFields(); if (HealthChecker.signalTerminateExecution) { throw new SkipException( @@ -199,9 +201,9 @@ public void test(TestCaseDTO testCaseDTO) } else { if (testCaseName.contains("partnerDemoDown")) { - //url = ConfigManager.getAuthDemoServiceUrl() + "local"; + //url = IdAuthConfigManager.getAuthDemoServiceUrl() + "local"; } else { - //url = ConfigManager.getAuthDemoServiceUrl(); + //url = IdAuthConfigManager.getAuthDemoServiceUrl(); } response = postWithBodyAndCookie(url + testCaseDTO.getEndPoint(), inputJson, COOKIENAME, diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParam.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParam.java similarity index 96% rename from apitest/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParam.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParam.java index 6683b5f6ec4..ed10deaf04f 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParam.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParam.java @@ -27,8 +27,9 @@ import io.mosip.testrig.apirig.utils.AdminTestException; import io.mosip.testrig.apirig.utils.AdminTestUtil; import io.mosip.testrig.apirig.utils.AuthenticationTestException; -import io.mosip.testrig.apirig.utils.ConfigManager; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; import io.mosip.testrig.apirig.utils.GlobalConstants; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; import io.mosip.testrig.apirig.utils.OutputValidationUtil; import io.mosip.testrig.apirig.utils.ReportUtil; import io.restassured.response.Response; @@ -41,7 +42,7 @@ public class GetWithParam extends AdminTestUtil implements ITest { @BeforeClass public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) + if (IdAuthConfigManager.IsDebugEnabled()) logger.setLevel(Level.ALL); else logger.setLevel(Level.ERROR); @@ -79,6 +80,7 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); + IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); testCaseName = isTestCaseValidForExecution(testCaseDTO); if (HealthChecker.signalTerminateExecution) { throw new SkipException( diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParamForAutoGenId.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParamForAutoGenId.java similarity index 95% rename from apitest/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParamForAutoGenId.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParamForAutoGenId.java index 2aabb8423bf..1a5de33bbf6 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParamForAutoGenId.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/GetWithParamForAutoGenId.java @@ -27,8 +27,9 @@ import io.mosip.testrig.apirig.utils.AdminTestException; import io.mosip.testrig.apirig.utils.AdminTestUtil; import io.mosip.testrig.apirig.utils.AuthenticationTestException; -import io.mosip.testrig.apirig.utils.ConfigManager; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; import io.mosip.testrig.apirig.utils.GlobalConstants; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; import io.mosip.testrig.apirig.utils.OutputValidationUtil; import io.mosip.testrig.apirig.utils.ReportUtil; import io.restassured.response.Response; @@ -42,7 +43,7 @@ public class GetWithParamForAutoGenId extends AdminTestUtil implements ITest { @BeforeClass public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) + if (IdAuthConfigManager.IsDebugEnabled()) logger.setLevel(Level.ALL); else logger.setLevel(Level.ERROR); @@ -81,6 +82,7 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); testCaseName = isTestCaseValidForExecution(testCaseDTO); if (HealthChecker.signalTerminateExecution) { throw new SkipException( diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/MultiFactorAuthNew.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/MultiFactorAuthNew.java similarity index 56% rename from apitest/src/main/java/io/mosip/testrig/apirig/testscripts/MultiFactorAuthNew.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testscripts/MultiFactorAuthNew.java index 10e695c8e55..d31b1966e70 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/MultiFactorAuthNew.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/MultiFactorAuthNew.java @@ -2,21 +2,17 @@ import java.lang.reflect.Field; import java.util.Arrays; -import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.log4j.Level; import org.apache.log4j.Logger; -import org.json.JSONArray; import org.json.JSONObject; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.testng.ITest; import org.testng.ITestContext; import org.testng.ITestResult; import org.testng.Reporter; -import org.testng.SkipException; import org.testng.annotations.AfterClass; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeClass; @@ -27,14 +23,14 @@ import io.mosip.testrig.apirig.dto.OutputValidationDto; import io.mosip.testrig.apirig.dto.TestCaseDTO; -import io.mosip.testrig.apirig.testrunner.HealthChecker; import io.mosip.testrig.apirig.testrunner.JsonPrecondtion; import io.mosip.testrig.apirig.utils.AdminTestException; import io.mosip.testrig.apirig.utils.AdminTestUtil; import io.mosip.testrig.apirig.utils.AuthenticationTestException; import io.mosip.testrig.apirig.utils.BioDataUtility; -import io.mosip.testrig.apirig.utils.ConfigManager; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; import io.mosip.testrig.apirig.utils.EncryptionDecrptionUtil; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; import io.mosip.testrig.apirig.utils.OutputValidationUtil; import io.mosip.testrig.apirig.utils.PartnerRegistration; import io.mosip.testrig.apirig.utils.ReportUtil; @@ -45,15 +41,12 @@ public class MultiFactorAuthNew extends AdminTestUtil implements ITest { protected String testCaseName = ""; public Response response = null; - @Autowired - private EncryptionDecrptionUtil encryptDecryptUtil; - - @Autowired - private BioDataUtility bioDataUtil; + private EncryptionDecrptionUtil encryptDecryptUtil = new EncryptionDecrptionUtil(); + private BioDataUtility bioDataUtil = new BioDataUtility(); @BeforeClass public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) + if (IdAuthConfigManager.IsDebugEnabled()) logger.setLevel(Level.ALL); else logger.setLevel(Level.ERROR); @@ -82,6 +75,7 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); //String ekycPartnerKeyUrl = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.partnerId + "/" + PartnerRegistration.apiKey; String partnerKeyUrl = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.partnerId + "/" + PartnerRegistration.apiKey; @@ -220,175 +214,10 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad if (!OutputValidationUtil.publishOutputResult(ouputValid)) throw new AdminTestException("Failed at output validation"); - /* - * if(testCaseName.toLowerCase().contains("kyc")) - * encryptDecryptUtil.validateThumbPrintAndIdentity(response, - * testCaseDTO.getEndPoint()); - */ - - //if(!encryptDecryptUtil.verifyResponseUsingDigitalSignature(response.asString(), response.getHeader(props.getProperty("signatureheaderKey")))) - //throw new AdminTestException("Failed at Signature validation"); } - /** - * Test method for OTP Generation execution - * - * @param objTestParameters - * @param testScenario - * @param testcaseName - * @throws AuthenticationTestException - * @throws AdminTestException - */ -// @Test(dataProvider = "testcaselist") -// public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { -// testCaseName = testCaseDTO.getTestCaseName(); -// -// if (HealthChecker.signalTerminateExecution) { -// throw new SkipException( -// GlobalConstants.TARGET_ENV_HEALTH_CHECK_FAILED + HealthChecker.healthCheckFailureMapS); -// } -// -// testCaseName = isTestCaseValidForExecution(testCaseDTO); -// -// if (testCaseDTO.getTestCaseName().contains("uin") || testCaseDTO.getTestCaseName().contains("UIN")) { -// if (!BaseTestCase.getSupportedIdTypesValueFromActuator().contains("UIN") -// && !BaseTestCase.getSupportedIdTypesValueFromActuator().contains("uin")) { -// throw new SkipException(GlobalConstants.UIN_FEATURE_NOT_SUPPORTED); -// } -// } -// -// if (testCaseDTO.getTestCaseName().contains("VID") || testCaseDTO.getTestCaseName().contains("Vid")) { -// if (!BaseTestCase.getSupportedIdTypesValueFromActuator().contains("VID") -// && !BaseTestCase.getSupportedIdTypesValueFromActuator().contains("vid")) { -// throw new SkipException(GlobalConstants.VID_FEATURE_NOT_SUPPORTED); -// } -// } -// -// JSONObject input = new JSONObject(testCaseDTO.getInput()); -// String individualId = null; -// if (input.has(GlobalConstants.INDIVIDUALID)) { -// individualId = input.get(GlobalConstants.INDIVIDUALID).toString(); -// input.remove(GlobalConstants.INDIVIDUALID); -// } -// -// individualId = uriKeyWordHandelerUri(individualId, testCaseName); -// -// String url = ConfigManager.getAuthDemoServiceUrl(); -// -// HashMap requestBody = new HashMap<>(); -// -// requestBody.put("id", individualId); -// requestBody.put("keyFileNameByPartnerName", GlobalConstants.TRUE_STRING); -// requestBody.put("partnerName", PartnerRegistration.partnerId); -// requestBody.put("moduleName", BaseTestCase.certsForModule); -// requestBody.put(GlobalConstants.TRANSACTIONID, "$TRANSACTIONID$"); -// -// String token = kernelAuthLib.getTokenByRole(GlobalConstants.RESIDENT); -// -// if (input.has("otp") && !input.get("otp").toString().equalsIgnoreCase("otp")) { -// -// Response sendOtpReqResp = postWithOnlyQueryParamAndCookie(url + "/v1/identity/createOtpReqest", -// requestBody.toString(), GlobalConstants.AUTHORIZATION, GlobalConstants.RESIDENT, testCaseName); -// -// String otpInput = sendOtpReqResp.getBody().asString(); -// logger.info(otpInput); -// String signature = sendOtpReqResp.getHeader("signature"); -// Object sendOtpBody = otpInput; -// logger.info(sendOtpBody); -// -// HashMap headers = new HashMap<>(); -// headers.put(AUTHORIZATHION_HEADERNAME, token); -// headers.put(SIGNATURE_HEADERNAME, signature); -// -// Response otpRespon = null; -// -// otpRespon = postRequestWithAuthHeaderAndSignatureForOtp( -// ApplnURI + "/idauthentication/v1/otp/" + PartnerRegistration.partnerKeyUrl, sendOtpBody.toString(), -// GlobalConstants.AUTHORIZATION, token, headers, testCaseName); -// -// JSONObject res = new JSONObject(testCaseDTO.getOutput()); -// String sendOtpResp = null; -// String sendOtpResTemplate = null; -// if (res.has(GlobalConstants.SENDOTPRESP)) { -// sendOtpResp = res.get(GlobalConstants.SENDOTPRESP).toString(); -// res.remove(GlobalConstants.SENDOTPRESP); -// } -// JSONObject sendOtpRespJson = new JSONObject(sendOtpResp); -// sendOtpResTemplate = sendOtpRespJson.getString("sendOtpResTemplate"); -// sendOtpRespJson.remove("sendOtpResTemplate"); -// Map> ouputValidOtp = OutputValidationUtil.doJsonOutputValidation( -// otpRespon.asString(), getJsonFromTemplate(sendOtpRespJson.toString(), sendOtpResTemplate), -// testCaseDTO, otpRespon.getStatusCode()); -// Reporter.log(ReportUtil.getOutputValidationReport(ouputValidOtp)); -// -// if (!OutputValidationUtil.publishOutputResult(ouputValidOtp)) -// throw new AdminTestException("Failed at Send OTP output validation"); -// -// if (testCaseDTO.getTestCaseName().contains("expiredOTP")) { -// try { -// Thread.sleep(Long.parseLong(properties.getProperty("expireOtpTime"))); -// } catch (NumberFormatException e) { -// logger.error("Exception : " + e.getMessage()); -// } catch (InterruptedException e) { -// logger.error("Exception : " + e.getMessage()); -// } -// } -// -// } -// -// String endPoint = testCaseDTO.getEndPoint(); -// endPoint = uriKeyWordHandelerUri(endPoint, testCaseName); -// -// if (endPoint.contains("$partnerKeyURL$")) { -// endPoint = endPoint.replace("$partnerKeyURL$", PartnerRegistration.partnerKeyUrl); -// } -// if (endPoint.contains("$PartnerName$")) { -// endPoint = endPoint.replace("$PartnerName$", PartnerRegistration.partnerId); -// } -// -// if (endPoint.contains("$UpdatedPartnerKeyURL$")) { -// endPoint = endPoint.replace("$UpdatedPartnerKeyURL$", PartnerRegistration.updatedpartnerKeyUrl); -// } -// -// String inputStr = buildIdentityRequest(input.toString()); -// -// String authRequest = getJsonFromTemplate(inputStr, testCaseDTO.getInputTemplate()); -// logger.info("******Post request Json to EndPointUrl: " + url + endPoint + " *******"); -// -// response = postWithBodyAndCookie(url + endPoint, authRequest, COOKIENAME, testCaseDTO.getRole(), testCaseName); -// -// logger.info(response); -// String ActualOPJson = getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate()); -// -// if (testCaseDTO.getTestCaseName().contains("uin") || testCaseDTO.getTestCaseName().contains("UIN")) { -// if (BaseTestCase.getSupportedIdTypesValueFromActuator().contains("UIN") -// || BaseTestCase.getSupportedIdTypesValueFromActuator().contains("uin")) { -// ActualOPJson = getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate()); -// } else { -// ActualOPJson = AdminTestUtil.getRequestJson("config/errorUIN.json").toString(); -// } -// } else { -// if (testCaseDTO.getTestCaseName().contains("VID") || testCaseDTO.getTestCaseName().contains("Vid")) { -// if (BaseTestCase.getSupportedIdTypesValueFromActuator().contains("VID") -// || BaseTestCase.getSupportedIdTypesValueFromActuator().contains("vid")) { -// ActualOPJson = getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate()); -// } else { -// ActualOPJson = AdminTestUtil.getRequestJson("config/errorUIN.json").toString(); -// } -// } -// } -// -// Map> ouputValid = OutputValidationUtil -// .doJsonOutputValidation(response.asString(), ActualOPJson, testCaseDTO, response.getStatusCode()); -// Reporter.log(ReportUtil.getOutputValidationReport(ouputValid)); -// -// if (!OutputValidationUtil.publishOutputResult(ouputValid)) -// throw new AdminTestException("Failed at output validation"); -// -// } - /** * The method ser current test name to result * diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/OtpAuthNew.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/OtpAuthNew.java new file mode 100644 index 00000000000..433cdd6d8a5 --- /dev/null +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/OtpAuthNew.java @@ -0,0 +1,212 @@ +package io.mosip.testrig.apirig.testscripts; + + +import java.lang.reflect.Field; +import java.util.List; +import java.util.Map; + +import org.apache.log4j.Level; +import org.apache.log4j.Logger; +import org.json.JSONObject; +import org.springframework.stereotype.Component; +import org.testng.ITest; +import org.testng.ITestContext; +import org.testng.ITestResult; +import org.testng.Reporter; +import org.testng.annotations.AfterClass; +import org.testng.annotations.AfterMethod; +import org.testng.annotations.BeforeClass; +import org.testng.annotations.DataProvider; +import org.testng.annotations.Test; +import org.testng.internal.BaseTestMethod; +import org.testng.internal.TestResult; + +import io.mosip.testrig.apirig.dto.OutputValidationDto; +import io.mosip.testrig.apirig.dto.TestCaseDTO; +import io.mosip.testrig.apirig.utils.AdminTestException; +import io.mosip.testrig.apirig.utils.AdminTestUtil; +import io.mosip.testrig.apirig.utils.AuthenticationTestException; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; +import io.mosip.testrig.apirig.utils.EncryptionDecrptionUtil; +import io.mosip.testrig.apirig.utils.FileUtil; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; +import io.mosip.testrig.apirig.utils.OutputValidationUtil; +import io.mosip.testrig.apirig.utils.PartnerRegistration; +import io.mosip.testrig.apirig.utils.ReportUtil; +import io.restassured.response.Response; + +@Component +public class OtpAuthNew extends AdminTestUtil implements ITest { + private static final Logger logger = Logger.getLogger(OtpAuthNew.class); + protected String testCaseName = ""; + public Response response = null; + public boolean isInternal = false; + + private EncryptionDecrptionUtil encryptDecryptUtil = new EncryptionDecrptionUtil(); + + @BeforeClass + public static void setLogLevel() { + if (IdAuthConfigManager.IsDebugEnabled()) + logger.setLevel(Level.ALL); + else + logger.setLevel(Level.ERROR); + } + + /** + * get current testcaseName + */ + @Override + public String getTestName() { + return testCaseName; + } + + /** + * Data provider class provides test case list + * + * @return object of data provider + */ + @DataProvider(name = "testcaselist") + public Object[] getTestCaseList(ITestContext context) { + String ymlFile = context.getCurrentXmlTest().getLocalParameters().get("ymlFile"); + isInternal = Boolean.parseBoolean(context.getCurrentXmlTest().getLocalParameters().get("isInternal")); + logger.info("Started executing yml: " + ymlFile); + return getYmlTestData(ymlFile); + } + + @Test(dataProvider = "testcaselist") + public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { + testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); + + String partnerKeyUrl = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.partnerId + "/" + PartnerRegistration.apiKey; + String ekycPartnerKeyURL = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.ekycPartnerId + "/" + PartnerRegistration.kycApiKey; + + if(testCaseDTO.getEndPoint().contains("$partnerKeyURL$")) + + { + testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$partnerKeyURL$", partnerKeyUrl)); + PartnerRegistration.appendEkycOrRp = "rp-"; + } + if(testCaseDTO.getEndPoint().contains("$ekycPartnerKeyURL$")) + { + testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$ekycPartnerKeyURL$", ekycPartnerKeyURL)); + PartnerRegistration.appendEkycOrRp = "ekyc-"; + } + + if (testCaseDTO.getEndPoint().contains("$UpdatedPartnerKeyURL$")) { + testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$UpdatedPartnerKeyURL$", + PartnerRegistration.updatedpartnerKeyUrl)); + } + JSONObject req = new JSONObject(testCaseDTO.getInput()); + String otpChannel=""; + String otpRequest = null, sendOtpReqTemplate = null, sendOtpEndPoint = null, otpIdentyEnryptRequestPath = null; + if(req.has("otpChannel")) { + otpChannel = req.get("otpChannel").toString(); + } + if(req.has("sendOtp")) { + otpRequest = req.get("sendOtp").toString(); + req.remove("sendOtp"); + } + JSONObject otpReqJson = new JSONObject(otpRequest); + sendOtpReqTemplate = otpReqJson.getString("sendOtpReqTemplate"); + otpReqJson.remove("sendOtpReqTemplate"); + sendOtpEndPoint = otpReqJson.getString("sendOtpEndPoint"); + + + otpReqJson.remove("sendOtpEndPoint"); + otpIdentyEnryptRequestPath = otpReqJson.getString("otpIdentyEnryptRequestPath"); + otpReqJson.remove("otpIdentyEnryptRequestPath"); + + if(sendOtpEndPoint.contains("$partnerKeyURL$")) + { + sendOtpEndPoint= sendOtpEndPoint.replace("$partnerKeyURL$", partnerKeyUrl); + } + if(sendOtpEndPoint.contains("$ekycPartnerKeyURL$")) + { + sendOtpEndPoint= sendOtpEndPoint.replace("$ekycPartnerKeyURL$", ekycPartnerKeyURL); + } + + Response otpResponse = null; + if(isInternal) + otpResponse = postRequestWithCookieAuthHeaderAndSignature(ApplnURI + sendOtpEndPoint, getJsonFromTemplate(otpReqJson.toString(), sendOtpReqTemplate), COOKIENAME, "resident", testCaseDTO.getTestCaseName()); + else + otpResponse = postRequestWithAuthHeaderAndSignature(ApplnURI + sendOtpEndPoint, getJsonFromTemplate(otpReqJson.toString(), sendOtpReqTemplate), testCaseDTO.getTestCaseName()); + + JSONObject res = new JSONObject(testCaseDTO.getOutput()); + String sendOtpResp = null, sendOtpResTemplate = null; + if(res.has("sendOtpResp")) { + sendOtpResp = res.get("sendOtpResp").toString(); + res.remove("sendOtpResp"); + } + JSONObject sendOtpRespJson = new JSONObject(sendOtpResp); + sendOtpResTemplate = sendOtpRespJson.getString("sendOtpResTemplate"); + sendOtpRespJson.remove("sendOtpResTemplate"); + Map> ouputValidOtp = OutputValidationUtil + .doJsonOutputValidation(otpResponse.asString(), getJsonFromTemplate(sendOtpRespJson.toString(), sendOtpResTemplate)); + //Need to uncomment line 126 to 129 + //Reporter.log(ReportUtil.getOutputValidationReport(ouputValidOtp)); + + //if (!OutputValidationUtil.publishOutputResult(ouputValidOtp)) + //throw new AdminTestException("Failed at Send OTP output validation"); + + //String id = getAutoGeneratedFieldValue(otpRequest, testCaseName); + + String otpIdentyEnryptRequest = FileUtil.readInput(getResourcePath()+otpIdentyEnryptRequestPath); + otpChannel = inputJsonKeyWordHandeler(otpChannel, testCaseName); + otpIdentyEnryptRequest = updateTimestampOtp(otpIdentyEnryptRequest, otpChannel, testCaseName); + + Map bioAuthTempMap = (isInternal) + ? encryptDecryptUtil.getInternalEncryptSessionKeyValue(otpIdentyEnryptRequest) + : encryptDecryptUtil.getEncryptSessionKeyValue(otpIdentyEnryptRequest); + String authRequest = getJsonFromTemplate(req.toString(), testCaseDTO.getInputTemplate()); + logger.info("************* Modification of OTP auth request ******************"); + Reporter.log("Modification of otp auth request"); +// System.out.println("authRequest = " + authRequest); + authRequest = modifyRequest(authRequest, bioAuthTempMap, getResourcePath()+props.getProperty("idaMappingPath")); +// System.out.println("modifyRequest = " + authRequest); + testCaseDTO.setInput(authRequest); + JSONObject authRequestTemp = new JSONObject(authRequest); + authRequestTemp.remove("env"); + authRequestTemp.put("env", "Staging"); + authRequest = authRequestTemp.toString(); + testCaseDTO.setInput(authRequest); + + logger.info("******Post request Json to EndPointUrl: " + ApplnURI + testCaseDTO.getEndPoint() + " *******"); + + response = postRequestWithCookieAuthHeaderAndSignature(ApplnURI + testCaseDTO.getEndPoint(), authRequest, COOKIENAME, testCaseDTO.getRole(), testCaseDTO.getTestCaseName()); + + Map> ouputValid = OutputValidationUtil + .doJsonOutputValidation(response.asString(), getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate())); + Reporter.log(ReportUtil.getOutputValidationReport(ouputValid)); + + if (!OutputValidationUtil.publishOutputResult(ouputValid)) + throw new AdminTestException("Failed at output validation"); + + + } + + /** + * The method ser current test name to result + * + * @param result + */ + @AfterMethod(alwaysRun = true) + public void setResultTestName(ITestResult result) { + try { + Field method = TestResult.class.getDeclaredField("m_method"); + method.setAccessible(true); + method.set(result, result.getMethod().clone()); + BaseTestMethod baseTestMethod = (BaseTestMethod) result.getMethod(); + Field f = baseTestMethod.getClass().getSuperclass().getDeclaredField("m_methodName"); + f.setAccessible(true); + f.set(baseTestMethod, testCaseName); + } catch (Exception e) { + Reporter.log("Exception : " + e.getMessage()); + } + } + + @AfterClass + public static void authTestTearDown() { + logger.info("Terminating authpartner demo application..."); + } +} diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/PatchWithBodyWithOtpGenerate.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PatchWithBodyWithOtpGenerate.java similarity index 96% rename from apitest/src/main/java/io/mosip/testrig/apirig/testscripts/PatchWithBodyWithOtpGenerate.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PatchWithBodyWithOtpGenerate.java index f5647fe1046..c94921f56e2 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/PatchWithBodyWithOtpGenerate.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PatchWithBodyWithOtpGenerate.java @@ -26,8 +26,9 @@ import io.mosip.testrig.apirig.utils.AdminTestException; import io.mosip.testrig.apirig.utils.AdminTestUtil; import io.mosip.testrig.apirig.utils.AuthenticationTestException; -import io.mosip.testrig.apirig.utils.ConfigManager; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; import io.mosip.testrig.apirig.utils.GlobalConstants; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; import io.mosip.testrig.apirig.utils.OutputValidationUtil; import io.mosip.testrig.apirig.utils.ReportUtil; import io.restassured.response.Response; @@ -38,7 +39,7 @@ public class PatchWithBodyWithOtpGenerate extends AdminTestUtil implements ITest @BeforeClass public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) + if (IdAuthConfigManager.IsDebugEnabled()) logger.setLevel(Level.ALL); else logger.setLevel(Level.ERROR); @@ -76,6 +77,7 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); if (HealthChecker.signalTerminateExecution) { throw new SkipException( GlobalConstants.TARGET_ENV_HEALTH_CHECK_FAILED + HealthChecker.healthCheckFailureMapS); diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithAutogenIdWithOtpGenerate.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithAutogenIdWithOtpGenerate.java similarity index 96% rename from apitest/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithAutogenIdWithOtpGenerate.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithAutogenIdWithOtpGenerate.java index a48aec22055..0533f4ebec8 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithAutogenIdWithOtpGenerate.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithAutogenIdWithOtpGenerate.java @@ -27,8 +27,9 @@ import io.mosip.testrig.apirig.utils.AdminTestException; import io.mosip.testrig.apirig.utils.AdminTestUtil; import io.mosip.testrig.apirig.utils.AuthenticationTestException; -import io.mosip.testrig.apirig.utils.ConfigManager; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; import io.mosip.testrig.apirig.utils.GlobalConstants; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; import io.mosip.testrig.apirig.utils.OutputValidationUtil; import io.mosip.testrig.apirig.utils.ReportUtil; import io.restassured.response.Response; @@ -42,7 +43,7 @@ public class PostWithAutogenIdWithOtpGenerate extends AdminTestUtil implements I @BeforeClass public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) + if (IdAuthConfigManager.IsDebugEnabled()) logger.setLevel(Level.ALL); else logger.setLevel(Level.ERROR); @@ -84,6 +85,7 @@ public Object[] getTestCaseList(ITestContext context) { public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException, NumberFormatException, InterruptedException { testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); if (HealthChecker.signalTerminateExecution) { throw new SkipException( GlobalConstants.TARGET_ENV_HEALTH_CHECK_FAILED + HealthChecker.healthCheckFailureMapS); @@ -107,7 +109,7 @@ public void test(TestCaseDTO testCaseDTO) if (BaseTestCase.isTargetEnvLTS()) { - if (ConfigManager.isInServiceNotDeployedList(GlobalConstants.RESIDENT) + if (IdAuthConfigManager.isInServiceNotDeployedList(GlobalConstants.RESIDENT) && ((BaseTestCase.currentModule.equals("auth") || BaseTestCase.currentModule.equals("esignet")) && (testCaseName.startsWith("auth_GenerateVID_") || testCaseName.startsWith("ESignetRes_Generate")))) { diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithBodyWithOtpGenerate.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithBodyWithOtpGenerate.java similarity index 96% rename from apitest/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithBodyWithOtpGenerate.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithBodyWithOtpGenerate.java index a59aecb82ae..4070f0a0fbb 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithBodyWithOtpGenerate.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithBodyWithOtpGenerate.java @@ -26,8 +26,9 @@ import io.mosip.testrig.apirig.utils.AdminTestException; import io.mosip.testrig.apirig.utils.AdminTestUtil; import io.mosip.testrig.apirig.utils.AuthenticationTestException; -import io.mosip.testrig.apirig.utils.ConfigManager; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; import io.mosip.testrig.apirig.utils.GlobalConstants; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; import io.mosip.testrig.apirig.utils.OutputValidationUtil; import io.mosip.testrig.apirig.utils.ReportUtil; import io.restassured.response.Response; @@ -40,7 +41,7 @@ public class PostWithBodyWithOtpGenerate extends AdminTestUtil implements ITest @BeforeClass public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) + if (IdAuthConfigManager.IsDebugEnabled()) logger.setLevel(Level.ALL); else logger.setLevel(Level.ERROR); @@ -78,6 +79,7 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); if (HealthChecker.signalTerminateExecution) { throw new SkipException( GlobalConstants.TARGET_ENV_HEALTH_CHECK_FAILED + HealthChecker.healthCheckFailureMapS); @@ -91,7 +93,6 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad testCaseName = isTestCaseValidForExecution(testCaseDTO); auditLogCheck = testCaseDTO.isAuditLogCheck(); - String tempUrl = ConfigManager.getEsignetBaseUrl(); JSONObject req = new JSONObject(testCaseDTO.getInput()); String otpRequest = null; String sendOtpReqTemplate = null; diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithOnlyPathParam.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithOnlyPathParam.java similarity index 95% rename from apitest/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithOnlyPathParam.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithOnlyPathParam.java index 0a1acc15551..6fe7d3805e2 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithOnlyPathParam.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/PostWithOnlyPathParam.java @@ -27,8 +27,9 @@ import io.mosip.testrig.apirig.utils.AdminTestException; import io.mosip.testrig.apirig.utils.AdminTestUtil; import io.mosip.testrig.apirig.utils.AuthenticationTestException; -import io.mosip.testrig.apirig.utils.ConfigManager; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; import io.mosip.testrig.apirig.utils.GlobalConstants; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; import io.mosip.testrig.apirig.utils.OutputValidationUtil; import io.mosip.testrig.apirig.utils.ReportUtil; import io.restassured.response.Response; @@ -40,7 +41,7 @@ public class PostWithOnlyPathParam extends AdminTestUtil implements ITest { @BeforeClass public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) + if (IdAuthConfigManager.IsDebugEnabled()) logger.setLevel(Level.ALL); else logger.setLevel(Level.ERROR); @@ -79,6 +80,7 @@ public Object[] getTestCaseList(ITestContext context) { public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); testCaseName = isTestCaseValidForExecution(testCaseDTO); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); String[] templateFields = testCaseDTO.getTemplateFields(); if (HealthChecker.signalTerminateExecution) { throw new SkipException( diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePost.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePost.java similarity index 96% rename from apitest/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePost.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePost.java index fd2a1e5f91b..561d78778e6 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePost.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePost.java @@ -27,8 +27,9 @@ import io.mosip.testrig.apirig.utils.AdminTestException; import io.mosip.testrig.apirig.utils.AdminTestUtil; import io.mosip.testrig.apirig.utils.AuthenticationTestException; -import io.mosip.testrig.apirig.utils.ConfigManager; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; import io.mosip.testrig.apirig.utils.GlobalConstants; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; import io.mosip.testrig.apirig.utils.OutputValidationUtil; import io.mosip.testrig.apirig.utils.ReportUtil; import io.restassured.response.Response; @@ -41,7 +42,7 @@ public class SimplePost extends AdminTestUtil implements ITest { @BeforeClass public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) + if (IdAuthConfigManager.IsDebugEnabled()) logger.setLevel(Level.ALL); else logger.setLevel(Level.ERROR); @@ -79,6 +80,7 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); testCaseName = isTestCaseValidForExecution(testCaseDTO); auditLogCheck = testCaseDTO.isAuditLogCheck(); String[] templateFields = testCaseDTO.getTemplateFields(); diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePostForAutoGenId.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePostForAutoGenId.java similarity index 95% rename from apitest/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePostForAutoGenId.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePostForAutoGenId.java index fb76dcf1976..c675565bf7f 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePostForAutoGenId.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/SimplePostForAutoGenId.java @@ -28,8 +28,9 @@ import io.mosip.testrig.apirig.utils.AdminTestException; import io.mosip.testrig.apirig.utils.AdminTestUtil; import io.mosip.testrig.apirig.utils.AuthenticationTestException; -import io.mosip.testrig.apirig.utils.ConfigManager; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; import io.mosip.testrig.apirig.utils.GlobalConstants; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; import io.mosip.testrig.apirig.utils.OutputValidationUtil; import io.mosip.testrig.apirig.utils.ReportUtil; import io.restassured.response.Response; @@ -43,7 +44,7 @@ public class SimplePostForAutoGenId extends AdminTestUtil implements ITest { @BeforeClass public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) + if (IdAuthConfigManager.IsDebugEnabled()) logger.setLevel(Level.ALL); else logger.setLevel(Level.ERROR); @@ -84,6 +85,7 @@ public Object[] getTestCaseList(ITestContext context) { public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException, NoSuchAlgorithmException { testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); if (HealthChecker.signalTerminateExecution) { throw new SkipException( GlobalConstants.TARGET_ENV_HEALTH_CHECK_FAILED + HealthChecker.healthCheckFailureMapS); @@ -96,7 +98,7 @@ public void test(TestCaseDTO testCaseDTO) } if (BaseTestCase.isTargetEnvLTS()) { - if (!ConfigManager.isInServiceNotDeployedList(GlobalConstants.RESIDENT)) { + if (!IdAuthConfigManager.isInServiceNotDeployedList(GlobalConstants.RESIDENT)) { if (((BaseTestCase.currentModule.equals("auth") || BaseTestCase.currentModule.equals("esignet")) && (testCaseName.startsWith("auth_GenerateVID_") || testCaseName.startsWith("ESignetIdR_Generate")))) { diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/UpdateDraft.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/UpdateDraft.java similarity index 95% rename from apitest/src/main/java/io/mosip/testrig/apirig/testscripts/UpdateDraft.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testscripts/UpdateDraft.java index 6b96d0e10af..d9cb10cebb3 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/UpdateDraft.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/UpdateDraft.java @@ -26,8 +26,9 @@ import io.mosip.testrig.apirig.utils.AdminTestException; import io.mosip.testrig.apirig.utils.AdminTestUtil; import io.mosip.testrig.apirig.utils.AuthenticationTestException; -import io.mosip.testrig.apirig.utils.ConfigManager; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; import io.mosip.testrig.apirig.utils.GlobalConstants; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; import io.mosip.testrig.apirig.utils.OutputValidationUtil; import io.mosip.testrig.apirig.utils.ReportUtil; import io.restassured.response.Response; @@ -40,7 +41,7 @@ public class UpdateDraft extends AdminTestUtil implements ITest { @BeforeClass public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) + if (IdAuthConfigManager.IsDebugEnabled()) logger.setLevel(Level.ALL); else logger.setLevel(Level.ERROR); @@ -78,6 +79,7 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); testCaseDTO.setInputTemplate(AdminTestUtil.generateHbsForUpdateDraft()); if (HealthChecker.signalTerminateExecution) { throw new SkipException( diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/UpdateIdentity.java b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/UpdateIdentity.java similarity index 97% rename from apitest/src/main/java/io/mosip/testrig/apirig/testscripts/UpdateIdentity.java rename to api-test/src/main/java/io/mosip/testrig/apirig/testscripts/UpdateIdentity.java index 48a8ec51b35..ad6f3bd222b 100644 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/UpdateIdentity.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/testscripts/UpdateIdentity.java @@ -31,8 +31,9 @@ import io.mosip.testrig.apirig.utils.AdminTestException; import io.mosip.testrig.apirig.utils.AdminTestUtil; import io.mosip.testrig.apirig.utils.AuthenticationTestException; -import io.mosip.testrig.apirig.utils.ConfigManager; +import io.mosip.testrig.apirig.utils.IdAuthConfigManager; import io.mosip.testrig.apirig.utils.GlobalConstants; +import io.mosip.testrig.apirig.utils.IdAuthenticationUtil; import io.mosip.testrig.apirig.utils.OutputValidationUtil; import io.mosip.testrig.apirig.utils.ReportUtil; import io.restassured.response.Response; @@ -44,7 +45,7 @@ public class UpdateIdentity extends AdminTestUtil implements ITest { @BeforeClass public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) + if (IdAuthConfigManager.IsDebugEnabled()) logger.setLevel(Level.ALL); else logger.setLevel(Level.ERROR); @@ -90,6 +91,7 @@ public Object[] getTestCaseList(ITestContext context) { @Test(dataProvider = "testcaselist") public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { testCaseName = testCaseDTO.getTestCaseName(); + testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); updateIdentity(testCaseDTO); } diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/utils/IdAuthConfigManager.java b/api-test/src/main/java/io/mosip/testrig/apirig/utils/IdAuthConfigManager.java new file mode 100644 index 00000000000..327d3ecdbca --- /dev/null +++ b/api-test/src/main/java/io/mosip/testrig/apirig/utils/IdAuthConfigManager.java @@ -0,0 +1,33 @@ +package io.mosip.testrig.apirig.utils; + +import java.util.HashMap; +import java.util.Map; +import java.util.Properties; + +import org.apache.log4j.Logger; + +import io.mosip.testrig.apirig.testrunner.MosipTestRunner; + +public class IdAuthConfigManager extends ConfigManager{ + private static final Logger LOGGER = Logger.getLogger(IdAuthConfigManager.class); + + public static void init() { + Map moduleSpecificPropertiesMap = new HashMap<>(); + // Load scope specific properties + try { + String path = MosipTestRunner.getGlobalResourcePath() + "/config/Ida.properties"; + Properties props = getproperties(path); + // Convert Properties to Map and add to moduleSpecificPropertiesMap + for (String key : props.stringPropertyNames()) { + moduleSpecificPropertiesMap.put(key, props.getProperty(key)); + } + } catch (Exception e) { + LOGGER.error(e.getMessage()); + } + // Add module specific properties as well. + init(moduleSpecificPropertiesMap); + } + + + +} \ No newline at end of file diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/utils/IdAuthenticationUtil.java b/api-test/src/main/java/io/mosip/testrig/apirig/utils/IdAuthenticationUtil.java new file mode 100644 index 00000000000..4fc439810bc --- /dev/null +++ b/api-test/src/main/java/io/mosip/testrig/apirig/utils/IdAuthenticationUtil.java @@ -0,0 +1,21 @@ +package io.mosip.testrig.apirig.utils; + +import org.apache.log4j.Logger; +import org.testng.SkipException; + +import io.mosip.testrig.apirig.dto.TestCaseDTO; + +public class IdAuthenticationUtil extends AdminTestUtil { + + private static final Logger logger = Logger.getLogger(IdAuthenticationUtil.class); + + public static String isTestCaseValidForExecution(TestCaseDTO testCaseDTO) { + String testCaseName = testCaseDTO.getTestCaseName(); + + if (SkipTestCaseHandler.isTestCaseInSkippedList(testCaseName)) { + throw new SkipException(GlobalConstants.KNOWN_ISSUES); + } + return testCaseName; + } + +} \ No newline at end of file diff --git a/apitest/src/main/resources/config/AuthPolicy.json b/api-test/src/main/resources/config/AuthPolicy.json similarity index 100% rename from apitest/src/main/resources/config/AuthPolicy.json rename to api-test/src/main/resources/config/AuthPolicy.json diff --git a/apitest/src/main/resources/config/AuthPolicy2.json b/api-test/src/main/resources/config/AuthPolicy2.json similarity index 100% rename from apitest/src/main/resources/config/AuthPolicy2.json rename to api-test/src/main/resources/config/AuthPolicy2.json diff --git a/apitest/src/main/resources/config/AuthPolicy3.json b/api-test/src/main/resources/config/AuthPolicy3.json similarity index 100% rename from apitest/src/main/resources/config/AuthPolicy3.json rename to api-test/src/main/resources/config/AuthPolicy3.json diff --git a/apitest/src/main/resources/config/AuthPolicy4.json b/api-test/src/main/resources/config/AuthPolicy4.json similarity index 100% rename from apitest/src/main/resources/config/AuthPolicy4.json rename to api-test/src/main/resources/config/AuthPolicy4.json diff --git a/apitest/src/main/resources/config/AuthPolicy5.json b/api-test/src/main/resources/config/AuthPolicy5.json similarity index 100% rename from apitest/src/main/resources/config/AuthPolicy5.json rename to api-test/src/main/resources/config/AuthPolicy5.json diff --git a/apitest/src/main/resources/config/AuthPolicy6.json b/api-test/src/main/resources/config/AuthPolicy6.json similarity index 100% rename from apitest/src/main/resources/config/AuthPolicy6.json rename to api-test/src/main/resources/config/AuthPolicy6.json diff --git a/apitest/src/main/resources/config/Authorization/internalAuthRequest.json b/api-test/src/main/resources/config/Authorization/internalAuthRequest.json similarity index 100% rename from apitest/src/main/resources/config/Authorization/internalAuthRequest.json rename to api-test/src/main/resources/config/Authorization/internalAuthRequest.json diff --git a/apitest/src/main/resources/config/Authorization/request.json b/api-test/src/main/resources/config/Authorization/request.json similarity index 100% rename from apitest/src/main/resources/config/Authorization/request.json rename to api-test/src/main/resources/config/Authorization/request.json diff --git a/api-test/src/main/resources/config/Ida.properties b/api-test/src/main/resources/config/Ida.properties new file mode 100644 index 00000000000..59e3d952230 --- /dev/null +++ b/api-test/src/main/resources/config/Ida.properties @@ -0,0 +1 @@ +#---------------------------------- End point(s) relative URLs ----------------------------------# diff --git a/apitest/src/main/resources/config/Kernel.properties b/api-test/src/main/resources/config/Kernel.properties similarity index 91% rename from apitest/src/main/resources/config/Kernel.properties rename to api-test/src/main/resources/config/Kernel.properties index a3895c72c4b..2490b8f52c3 100644 --- a/apitest/src/main/resources/config/Kernel.properties +++ b/api-test/src/main/resources/config/Kernel.properties @@ -101,7 +101,7 @@ auditActuatorEndpoint=/v1/auditmanager/actuator/info validateBindingEndpoint=ida-binding esignetWellKnownEndPoint=/v1/esignet/oidc/.well-known/openid-configuration signupSettingsEndPoint=/v1/signup/settings - +esignetActuatorPropertySection=esignet-default.properties @@ -136,17 +136,17 @@ AuthClientID = mosip-resident-client #---------------------------------- Client Secret Keys -----------------------# #-- When test rig ran in docker, these values dervied from the environment ---# -mosip_partner_client_secret = w6z9XQQ6Toi5vzzY -mosip_pms_client_secret = 3XiMpmPfAAzT47EC -mosip_resident_client_secret = MiTOjWLVoFZw3CHZ -mosip_idrepo_client_secret = qKNTW5CTxKsgVGjw -mosip_reg_client_secret = Msc7sItq6Rg8vcEC -mosip_admin_client_secret = auWjWiniqX0YX8KF -mosip_hotlist_client_secret = lA7pCSLknLvT9Owj -mosip_regproc_client_secret = rR5eKHfG4i3BJf8S -mpartner_default_mobile_secret = duo1HolnpqNc6aMA -mosip_testrig_client_secret = G9qAJ3SrOm575GqL -AuthClientSecret = FeTFpxitRJC4IUiq +mosip_partner_client_secret = +mosip_pms_client_secret = +mosip_resident_client_secret = +mosip_idrepo_client_secret = +mosip_reg_client_secret = +mosip_admin_client_secret = +mosip_hotlist_client_secret = +mosip_regproc_client_secret = +mpartner_default_mobile_secret = +mosip_testrig_client_secret = +AuthClientSecret = @@ -158,7 +158,7 @@ s3-account = automation s3-region = null reportExpirationInDays = 3 s3-account-for-persona-data = personaData -push-reports-to-s3 = no +push-reports-to-s3 = yes #-------------------- Keycloak User Creation proprties ----------------------# @@ -168,13 +168,14 @@ new_Resident_Password = mosip123 new_Resident_Role = default-roles-mosip,PARTNER_ADMIN roles.111995 = PARTNER_ADMIN,default-roles-mosip keycloak_UserName = admin -keycloak_Password = DyWRaJqTFh -keycloak-external-url = https://iam.released.mosip.net +keycloak_Password = +keycloak-external-url = https://iam.qa-plan.mosip.net keycloak-realm-id = mosip -iam-users-to-create = 111997,111998,220005,111992,globaladmin,111887 +iam-users-to-create = 111997,111998,220005,111992,globaladmin,111887,111999 iam-users-password = mosip123,mosip123,mosip123,mosip123,mosip123 roles.220005 = GLOBAL_ADMIN,ID_AUTHENTICATION,REGISTRATION_ADMIN,REGISTRATION_SUPERVISOR,ZONAL_ADMIN roles.111997 = AUTH_PARTNER,PARTNER_ADMIN,PMS_ADMIN,POLICYMANAGER,REGISTRATION_SUPERVISOR +roles.111999 = AUTH_PARTNER,PARTNER_ADMIN,PMS_ADMIN,POLICYMANAGER,REGISTRATION_SUPERVISOR roles.111887 = AUTH_PARTNER,PARTNER_ADMIN,PMS_ADMIN,REGISTRATION_SUPERVISOR roles.111998 = POLICYMANAGER roles.111992 = GLOBAL_ADMIN @@ -188,27 +189,27 @@ pool_size=1 dialect=org.hibernate.dialect.PostgreSQLDialect show_sql=true current_session_context_class=thread -audit_url=jdbc:postgresql://released.mosip.net:5432/mosip_audit +audit_url=jdbc:postgresql://qa-plan.mosip.net:5432/mosip_audit audit_username=postgres -audit_password=2BhgiSpCaT +audit_password= audit_default_schema=audit DB_PORT= installation-domain= -partner_url=jdbc:postgresql://released.mosip.net:5432/mosip_ida +partner_url=jdbc:postgresql://qa-plan.mosip.net:5432/mosip_ida partner_username=postgres -partner_password=2BhgiSpCaT +partner_password= partner_default_schema=partner reportLogPath=automationLogAndReport postgresqlUser=postgresql db-port=5432 -db-server=released.mosip.net +db-server=qa-plan.mosip.net hibernate.connection.driver_class=org.postgresql.Driver hibernate.connection.pool_size=1 hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect hibernate.show_sql=true hibernate.current_session_context_class=thread db-su-user=postgres -postgres-password=2BhgiSpCaT +postgres-password= pms_db_schema=pms km_db_schema=keymgr master_db_schema=master @@ -239,7 +240,8 @@ usePreConfiguredOtp=true # supported values yes or no. Assume that by Default e-signet is deployed eSignetDeployed=yes partnerUrlSuffix=oYf63Lax0DY2QkYMRHnrmDqhmO3RMWQagwm0ftgLlkuin1KOND/666/576732 -reportIgnoredTestCases=yes +reportIgnoredTestCases=no +reportKnownIssueTestCases=no servicesNotDeployed= esignetMockBaseURL=esignet-insurance. sunBirdBaseURL=registry @@ -256,6 +258,8 @@ admin_password=mosip123 admin_userName=220005 admin_zone_password=mosip123 admin_zone_userName=globaladmin +mockNotificationChannel=email,phone +mountPathForReport=/home/mosip/testrig/report @@ -270,10 +274,6 @@ langselect=0 #----------------------------------AuthDemoService Host properties----------------------------------------------------------# #Uncommemnt the below to run locally -authDemoServiceBaseURL=http://localhost -authDemoServicePort=8082 -authCertsPath= +#authCertsPath= #Uncommemnt the below to run in Docker -#authDemoServiceBaseURL=http://authdemo.apitestrig -#authDemoServicePort=80 -#authCertsPath=/home/mosip/authcerts \ No newline at end of file +authCertsPath=/home/mosip/authcerts \ No newline at end of file diff --git a/apitest/src/main/resources/config/application.properties b/api-test/src/main/resources/config/application.properties similarity index 100% rename from apitest/src/main/resources/config/application.properties rename to api-test/src/main/resources/config/application.properties diff --git a/apitest/src/main/resources/config/bioValue.properties b/api-test/src/main/resources/config/bioValue.properties similarity index 100% rename from apitest/src/main/resources/config/bioValue.properties rename to api-test/src/main/resources/config/bioValue.properties diff --git a/apitest/src/main/resources/config/bioValueEncryptionTemplate.json b/api-test/src/main/resources/config/bioValueEncryptionTemplate.json similarity index 100% rename from apitest/src/main/resources/config/bioValueEncryptionTemplate.json rename to api-test/src/main/resources/config/bioValueEncryptionTemplate.json diff --git a/apitest/src/main/resources/config/biovalue.bin b/api-test/src/main/resources/config/biovalue.bin similarity index 100% rename from apitest/src/main/resources/config/biovalue.bin rename to api-test/src/main/resources/config/biovalue.bin diff --git a/apitest/src/main/resources/config/errorUIN.json b/api-test/src/main/resources/config/errorUIN.json similarity index 100% rename from apitest/src/main/resources/config/errorUIN.json rename to api-test/src/main/resources/config/errorUIN.json diff --git a/apitest/src/main/resources/config/errorUINKyc.json b/api-test/src/main/resources/config/errorUINKyc.json similarity index 100% rename from apitest/src/main/resources/config/errorUINKyc.json rename to api-test/src/main/resources/config/errorUINKyc.json diff --git a/apitest/src/main/resources/config/healthCheckEndpoint.properties b/api-test/src/main/resources/config/healthCheckEndpoint.properties similarity index 100% rename from apitest/src/main/resources/config/healthCheckEndpoint.properties rename to api-test/src/main/resources/config/healthCheckEndpoint.properties diff --git a/apitest/src/main/resources/config/idaCertDataDeleteQueries.txt b/api-test/src/main/resources/config/idaCertDataDeleteQueries.txt similarity index 100% rename from apitest/src/main/resources/config/idaCertDataDeleteQueries.txt rename to api-test/src/main/resources/config/idaCertDataDeleteQueries.txt diff --git a/apitest/src/main/resources/config/keyManagerCertDataDeleteQueries.txt b/api-test/src/main/resources/config/keyManagerCertDataDeleteQueries.txt similarity index 100% rename from apitest/src/main/resources/config/keyManagerCertDataDeleteQueries.txt rename to api-test/src/main/resources/config/keyManagerCertDataDeleteQueries.txt diff --git a/apitest/src/main/resources/config/mapping.properties b/api-test/src/main/resources/config/mapping.properties similarity index 100% rename from apitest/src/main/resources/config/mapping.properties rename to api-test/src/main/resources/config/mapping.properties diff --git a/apitest/src/main/resources/config/masterDataCertDataDeleteQueries.txt b/api-test/src/main/resources/config/masterDataCertDataDeleteQueries.txt similarity index 100% rename from apitest/src/main/resources/config/masterDataCertDataDeleteQueries.txt rename to api-test/src/main/resources/config/masterDataCertDataDeleteQueries.txt diff --git a/apitest/src/main/resources/config/policyGroup.json b/api-test/src/main/resources/config/policyGroup.json similarity index 100% rename from apitest/src/main/resources/config/policyGroup.json rename to api-test/src/main/resources/config/policyGroup.json diff --git a/apitest/src/main/resources/config/prereg_SendOtp.json b/api-test/src/main/resources/config/prereg_SendOtp.json similarity index 100% rename from apitest/src/main/resources/config/prereg_SendOtp.json rename to api-test/src/main/resources/config/prereg_SendOtp.json diff --git a/apitest/src/main/resources/config/prereg_ValidateOtp.json b/api-test/src/main/resources/config/prereg_ValidateOtp.json similarity index 100% rename from apitest/src/main/resources/config/prereg_ValidateOtp.json rename to api-test/src/main/resources/config/prereg_ValidateOtp.json diff --git a/apitest/src/main/resources/config/valueMapping.properties b/api-test/src/main/resources/config/valueMapping.properties similarity index 100% rename from apitest/src/main/resources/config/valueMapping.properties rename to api-test/src/main/resources/config/valueMapping.properties diff --git a/apitest/src/main/resources/customize-emailable-report-template.html b/api-test/src/main/resources/customize-emailable-report-template.html similarity index 100% rename from apitest/src/main/resources/customize-emailable-report-template.html rename to api-test/src/main/resources/customize-emailable-report-template.html diff --git a/apitest/src/main/resources/dbFiles/.xml b/api-test/src/main/resources/dbFiles/.xml similarity index 100% rename from apitest/src/main/resources/dbFiles/.xml rename to api-test/src/main/resources/dbFiles/.xml diff --git a/apitest/src/main/resources/dbFiles/PMS_delete_script.txt b/api-test/src/main/resources/dbFiles/PMS_delete_script.txt similarity index 100% rename from apitest/src/main/resources/dbFiles/PMS_delete_script.txt rename to api-test/src/main/resources/dbFiles/PMS_delete_script.txt diff --git a/apitest/src/main/resources/dbFiles/dbConfig.xml b/api-test/src/main/resources/dbFiles/dbConfig.xml similarity index 100% rename from apitest/src/main/resources/dbFiles/dbConfig.xml rename to api-test/src/main/resources/dbFiles/dbConfig.xml diff --git a/apitest/src/main/resources/dbFiles/delete_Masterdata.sql b/api-test/src/main/resources/dbFiles/delete_Masterdata.sql similarity index 100% rename from apitest/src/main/resources/dbFiles/delete_Masterdata.sql rename to api-test/src/main/resources/dbFiles/delete_Masterdata.sql diff --git a/apitest/src/main/resources/ida/AddIdentity/AddIdentity.yml b/api-test/src/main/resources/ida/AddIdentity/AddIdentity.yml similarity index 93% rename from apitest/src/main/resources/ida/AddIdentity/AddIdentity.yml rename to api-test/src/main/resources/ida/AddIdentity/AddIdentity.yml index 388ff10ea09..e0605e09f3a 100644 --- a/apitest/src/main/resources/ida/AddIdentity/AddIdentity.yml +++ b/api-test/src/main/resources/ida/AddIdentity/AddIdentity.yml @@ -1,6 +1,7 @@ AddIdentity: auth_AddIdentity_withValidParameters_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN with valid parameters role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -29,6 +30,7 @@ AddIdentity: }' auth_AddIdentity_withValidParameters_new_uin_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN with valid parameters role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -57,6 +59,7 @@ AddIdentity: }' auth_AddIdentity_withValidParameters_Infant_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create Infant UIN with valid parameters role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -85,6 +88,7 @@ AddIdentity: }' auth_AddIdentity_withValidParameters_with_Infant_which_locked_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create Infant UIN with valid parameters role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -113,6 +117,7 @@ AddIdentity: }' auth_AddIdentity_ValidParam_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN with valid parameters role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -141,6 +146,7 @@ AddIdentity: }' auth_AddIdentity_For_Otp_Auth_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN for OTP Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -169,6 +175,7 @@ AddIdentity: }' auth_AddIdentity_UIN_smoke: endPoint: /idrepository/v1/identity/ + description: create UIN with valid parameters role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -197,6 +204,7 @@ AddIdentity: }' auth_AddIdentity_Positive_EKYC_smoke: endPoint: /idrepository/v1/identity/ + description: create UIN for Ekyc Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -225,6 +233,7 @@ AddIdentity: }' auth_AddIdentity_InternalOTP_smoke: endPoint: /idrepository/v1/identity/ + description: create UIN for Internal OTP Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -253,6 +262,7 @@ AddIdentity: }' auth_AddIdentity_EKYCOTP_PRE_smoke: endPoint: /idrepository/v1/identity/ + description: create UIN for Ekyc OTP Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -281,6 +291,7 @@ AddIdentity: }' auth_AddIdentity_Positive_TRE_smoke: endPoint: /idrepository/v1/identity/ + description: create UIN for Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -309,6 +320,7 @@ AddIdentity: }' auth_AddIdentity_Positive_valid_smoke: endPoint: /idrepository/v1/identity/ + description: create UIN for Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -337,6 +349,7 @@ AddIdentity: }' auth_AddIdentity_Lock_UIN_Unlock_BioAuth_withValidParameters_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Lock, Unlock and Bio Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -365,6 +378,7 @@ AddIdentity: }' auth_AddIdentity_Lock_UIN_Unlock_DemoAuth_withValidParameters_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Lock,Unlock and Demo Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -399,6 +413,7 @@ AddIdentity: }' auth_AddIdentity_Lock_permanent_BioAuth_withValidParameters_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Locking and Bio Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -433,6 +448,7 @@ AddIdentity: }' auth_AddIdentity_Lock_permanent_DemoAuth_withValidParameters_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Locking and Demo Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -467,6 +483,7 @@ AddIdentity: }' auth_AddIdentity_Positive_unblockUIN_valid_smoke: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Unblocking role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -501,6 +518,7 @@ AddIdentity: }' auth_AddIdentity_Positive_LockUIN_valid_smoke: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Locking role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -535,6 +553,7 @@ AddIdentity: }' auth_AddIdentity_Positive_LockUIN_For_bio_valid_smoke: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Biometric Lock role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -568,6 +587,7 @@ AddIdentity: }' auth_AddIdentity_EkycDemo_Auth_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Ekyc Demo Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -601,6 +621,7 @@ AddIdentity: }' auth_AddIdentity_Positive_EKYCUIN_valid_smoke: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Ekyc Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -635,6 +656,7 @@ AddIdentity: }' auth_AddIdentity_Deactivate_and_auth_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Deactivation and Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -668,6 +690,7 @@ AddIdentity: }' auth_AddIdentity_create_vid_using_uin_for_revoke_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN to use for VID creation and to Revoke role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -701,6 +724,7 @@ AddIdentity: }' auth_AddIdentity_for_hotlist_id_service_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN for Hotlist role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -735,6 +759,7 @@ AddIdentity: auth_AddIdentity_Lock_UIN_Unlock_BioAuth_withValidParams_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN for Locking ,Unlocking and Bio Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -768,6 +793,7 @@ AddIdentity: }' auth_AddIdentity_Lock_UIN_Unlock_DemoAuth_withValidParams_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN for Unlocking and Demo Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -801,6 +827,7 @@ AddIdentity: }' auth_AddIdentity_Lock_permanent_BioAuth_withValidParams_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN for Locking and Bio Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -835,6 +862,7 @@ AddIdentity: }' auth_AddIdentity_Lock_permanent_DemoAuth_withValidParams_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Locking and Demo Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -870,6 +898,7 @@ AddIdentity: auth_AddIdentity_Valid_Parameters_Auth_smoke_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN for Authentication role: idrepo restMethod: post inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ @@ -903,6 +932,7 @@ AddIdentity: }' auth_AddIdentity_Positive_demoauth_name_smoke: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Demo Authentication role: idrepo regenerateHbs: true restMethod: post @@ -938,6 +968,7 @@ AddIdentity: }' auth_AddIdentity_deactivate_UIN_smoke_sid_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Deactivation role: idrepo regenerateHbs: true restMethod: post @@ -967,6 +998,7 @@ AddIdentity: }' auth_AddIdentity_hotlist_UIN_forever_smoke_sid_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Hotlisting the UIN role: idrepo regenerateHbs: true restMethod: post @@ -1054,6 +1086,7 @@ AddIdentity: #}' auth_AddIdentity_lock_unlock_forever_smoke_sid_Pos: endPoint: /idrepository/v1/identity/ + description: create UIN and use for Locking and Unlocking role: idrepo regenerateHbs: true restMethod: post diff --git a/apitest/src/main/resources/ida/AddIdentity/addIdentityResult.hbs b/api-test/src/main/resources/ida/AddIdentity/addIdentityResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/AddIdentity/addIdentityResult.hbs rename to api-test/src/main/resources/ida/AddIdentity/addIdentityResult.hbs diff --git a/apitest/src/main/resources/ida/AuthInternalLock/.hbs b/api-test/src/main/resources/ida/AuthInternalLock/.hbs similarity index 100% rename from apitest/src/main/resources/ida/AuthInternalLock/.hbs rename to api-test/src/main/resources/ida/AuthInternalLock/.hbs diff --git a/apitest/src/main/resources/ida/AuthInternalLock/AuthInternalLock.yml b/api-test/src/main/resources/ida/AuthInternalLock/AuthInternalLock.yml similarity index 89% rename from apitest/src/main/resources/ida/AuthInternalLock/AuthInternalLock.yml rename to api-test/src/main/resources/ida/AuthInternalLock/AuthInternalLock.yml index 766c4b2cb97..b6b0e1671a7 100644 --- a/apitest/src/main/resources/ida/AuthInternalLock/AuthInternalLock.yml +++ b/api-test/src/main/resources/ida/AuthInternalLock/AuthInternalLock.yml @@ -1,6 +1,7 @@ AuthInternalLock: auth_AuthInternal_Lock_UIN_Unlock_BioAuth_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status + description: lock Bio-authType Iris-authSubType for given UIN role: idrepo restMethod: post inputTemplate: ida/AuthInternalLock/authInternalLock @@ -18,6 +19,7 @@ AuthInternalLock: }' auth_AuthInternal_Lock_UIN_child_UIN_which_locked_Pos: endPoint: /idrepository/v1/identity/authtypes/status + description: lock Bio-authType Iris-authSubType for child UIN role: idrepo restMethod: post inputTemplate: ida/AuthInternalLock/authInternalLock @@ -35,6 +37,7 @@ AuthInternalLock: }' auth_AuthInternal_lock_with_explicitly_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status + description: lock Bio-authType Iris-authSubType for given UIN role: idrepo restMethod: post inputTemplate: ida/AuthInternalLock/authInternalLock @@ -53,6 +56,7 @@ AuthInternalLock: auth_AuthInternal_Lock_UIN_Unlock_DemoAuth_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status + description: unLock Demo authType for given UIN role: idrepo restMethod: post inputTemplate: ida/AuthInternalLock/authInternalLock @@ -71,6 +75,7 @@ AuthInternalLock: auth_AuthInternal_Permanent_Lock_BioAuth_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status + description: lock Bio-authType Iris-authSubType Permanently for UIN role: idrepo restMethod: post inputTemplate: ida/AuthInternalLock/authInternalLock @@ -89,6 +94,7 @@ AuthInternalLock: auth_AuthInternal_Permanent_Lock_DemoAuth_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status + description: lock Demo authType Permanently for UIN role: idrepo restMethod: post inputTemplate: ida/AuthInternalLock/authInternalLock @@ -107,6 +113,7 @@ AuthInternalLock: auth_AuthInternal_Lock_UIN_Unlock_WithSecs_BioAuth_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status + description: lock Bio-authType Iris-authSubType for UIN role: idrepo restMethod: post inputTemplate: ida/AuthInternalLock/authInternalLock @@ -125,6 +132,7 @@ AuthInternalLock: auth_AuthInternal_Lock_UIN_Unlock_WithSecs_DemoAuth_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status + description: unlock Demo authType for seconds for UIN role: idrepo restMethod: post inputTemplate: ida/AuthInternalLock/authInternalLock @@ -143,6 +151,7 @@ AuthInternalLock: auth_AuthInternal_Permanent_Lock_BioAuth_Valid_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status + description: lock Bio-authType Iris-authSubType Permanently for UIN role: idrepo restMethod: post inputTemplate: ida/AuthInternalLock/authInternalLock @@ -161,6 +170,7 @@ AuthInternalLock: auth_AuthInternal_Permanent_Lock_DemoAuth_Valid_Smoke_Pos: endPoint: /idrepository/v1/identity/authtypes/status + description: lock Demo authType Permanently for UIN role: idrepo restMethod: post inputTemplate: ida/AuthInternalLock/authInternalLock diff --git a/apitest/src/main/resources/ida/AuthInternalLock/authInternalLock.hbs b/api-test/src/main/resources/ida/AuthInternalLock/authInternalLock.hbs similarity index 100% rename from apitest/src/main/resources/ida/AuthInternalLock/authInternalLock.hbs rename to api-test/src/main/resources/ida/AuthInternalLock/authInternalLock.hbs diff --git a/apitest/src/main/resources/ida/AuthInternalLock/authInternalLockResult.hbs b/api-test/src/main/resources/ida/AuthInternalLock/authInternalLockResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/AuthInternalLock/authInternalLockResult.hbs rename to api-test/src/main/resources/ida/AuthInternalLock/authInternalLockResult.hbs diff --git a/apitest/src/main/resources/ida/AuthLock/createAuthLock.hbs b/api-test/src/main/resources/ida/AuthLock/createAuthLock.hbs similarity index 100% rename from apitest/src/main/resources/ida/AuthLock/createAuthLock.hbs rename to api-test/src/main/resources/ida/AuthLock/createAuthLock.hbs diff --git a/apitest/src/main/resources/ida/AuthLock/createAuthLock.yml b/api-test/src/main/resources/ida/AuthLock/createAuthLock.yml similarity index 96% rename from apitest/src/main/resources/ida/AuthLock/createAuthLock.yml rename to api-test/src/main/resources/ida/AuthLock/createAuthLock.yml index fa572f06bae..f3b37875500 100644 --- a/apitest/src/main/resources/ida/AuthLock/createAuthLock.yml +++ b/api-test/src/main/resources/ida/AuthLock/createAuthLock.yml @@ -1,6 +1,7 @@ AuthLock: auth_AuthLock_Valid_UIN_All: endPoint: /resident/v1/req/auth-lock + description: lock demo and bio-Face authType for UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -33,6 +34,7 @@ AuthLock: }' auth_AuthLock_Valid_UIN_locked_All: endPoint: /resident/v1/req/auth-lock + description: lock demo and bio-Face authType for UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -65,6 +67,7 @@ AuthLock: }' auth_AuthLock_Valid_UIN_for_bio_auth: endPoint: /resident/v1/req/auth-lock + description: lock bio-Finger authType for UIN role: resident checkErrorsOnlyInResponse: true restMethod: post diff --git a/apitest/src/main/resources/ida/AuthLock/createAuthLockResult.hbs b/api-test/src/main/resources/ida/AuthLock/createAuthLockResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/AuthLock/createAuthLockResult.hbs rename to api-test/src/main/resources/ida/AuthLock/createAuthLockResult.hbs diff --git a/apitest/src/main/resources/ida/AuthTransaction/AuthTransaction.yml b/api-test/src/main/resources/ida/AuthTransaction/AuthTransaction.yml similarity index 89% rename from apitest/src/main/resources/ida/AuthTransaction/AuthTransaction.yml rename to api-test/src/main/resources/ida/AuthTransaction/AuthTransaction.yml index 75904d3487c..fc222908fb3 100644 --- a/apitest/src/main/resources/ida/AuthTransaction/AuthTransaction.yml +++ b/api-test/src/main/resources/ida/AuthTransaction/AuthTransaction.yml @@ -1,6 +1,7 @@ AuthTransaction: auth_AuthTransaction_allValid_smoke_UIN: endPoint: /idauthentication/v1/internal/authTransactions/individualId/{individualId} + description: AuthTransaction with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: get @@ -14,6 +15,7 @@ AuthTransaction: }' auth_AuthTransaction_Invalid_Gender_smoke_demoAuth_UIN: endPoint: /idauthentication/v1/internal/authTransactions/individualId/{individualId} + description: AuthTransaction with invalid gender using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: get @@ -27,6 +29,7 @@ AuthTransaction: }' auth_AuthTransaction_valid_Gender_smoke_demoAuth_UIN: endPoint: /idauthentication/v1/internal/authTransactions/individualId/{individualId} + description: AuthTransaction with valid gender using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: get @@ -40,6 +43,7 @@ AuthTransaction: }' auth_AuthTransaction_allValid_smoke_VID: endPoint: /idauthentication/v1/internal/authTransactions/individualId/{individualId} + description: AuthTransaction using valid VID role: resident checkErrorsOnlyInResponse: true restMethod: get @@ -53,6 +57,7 @@ AuthTransaction: }' auth_AuthTransaction_WITH_deactivated_VID2: endPoint: /idauthentication/v1/internal/authTransactions/individualId/{individualId} + description: AuthTransaction with deactivated VID role: resident checkErrorsOnlyInResponse: true restMethod: get @@ -70,6 +75,7 @@ AuthTransaction: }' auth_AuthTransaction_allValid_smoke_VID3: endPoint: /idauthentication/v1/internal/authTransactions/individualId/{individualId} + description: AuthTransaction with valid VID role: resident checkErrorsOnlyInResponse: true restMethod: get @@ -83,6 +89,7 @@ AuthTransaction: }' auth_AuthTransaction_allValid_smoke_UIN2: endPoint: /idauthentication/v1/internal/authTransactions/individualId/{individualId} + description: AuthTransaction with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: get @@ -96,6 +103,7 @@ AuthTransaction: }' auth_AuthTransaction_allValid_smoke_UIN3: endPoint: /idauthentication/v1/internal/authTransactions/individualId/{individualId} + description: AuthTransaction with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: get @@ -109,6 +117,7 @@ AuthTransaction: }' auth_AuthTransaction_allValid_smoke_UIN4: endPoint: /idauthentication/v1/internal/authTransactions/individualId/{individualId} + description: AuthTransaction with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: get @@ -122,6 +131,7 @@ AuthTransaction: }' auth_AuthTransaction_allValid_smoke_UIN5: endPoint: /idauthentication/v1/internal/authTransactions/individualId/{individualId} + description: AuthTransaction with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: get diff --git a/apitest/src/main/resources/ida/AuthTransaction/authTransaction.hbs b/api-test/src/main/resources/ida/AuthTransaction/authTransaction.hbs similarity index 100% rename from apitest/src/main/resources/ida/AuthTransaction/authTransaction.hbs rename to api-test/src/main/resources/ida/AuthTransaction/authTransaction.hbs diff --git a/apitest/src/main/resources/ida/AuthTransaction/authTransactionError.hbs b/api-test/src/main/resources/ida/AuthTransaction/authTransactionError.hbs similarity index 100% rename from apitest/src/main/resources/ida/AuthTransaction/authTransactionError.hbs rename to api-test/src/main/resources/ida/AuthTransaction/authTransactionError.hbs diff --git a/apitest/src/main/resources/ida/AuthTransaction/authTransactionResult.hbs b/api-test/src/main/resources/ida/AuthTransaction/authTransactionResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/AuthTransaction/authTransactionResult.hbs rename to api-test/src/main/resources/ida/AuthTransaction/authTransactionResult.hbs diff --git a/apitest/src/main/resources/ida/AuthUnLock/createAuthUnLock.hbs b/api-test/src/main/resources/ida/AuthUnLock/createAuthUnLock.hbs similarity index 100% rename from apitest/src/main/resources/ida/AuthUnLock/createAuthUnLock.hbs rename to api-test/src/main/resources/ida/AuthUnLock/createAuthUnLock.hbs diff --git a/apitest/src/main/resources/ida/AuthUnLock/createAuthUnLock.yml b/api-test/src/main/resources/ida/AuthUnLock/createAuthUnLock.yml similarity index 96% rename from apitest/src/main/resources/ida/AuthUnLock/createAuthUnLock.yml rename to api-test/src/main/resources/ida/AuthUnLock/createAuthUnLock.yml index 872a8e5da92..9d3cac7f79c 100644 --- a/apitest/src/main/resources/ida/AuthUnLock/createAuthUnLock.yml +++ b/api-test/src/main/resources/ida/AuthUnLock/createAuthUnLock.yml @@ -1,6 +1,7 @@ AuthUnlock: auth_AuthUnLock_Valid_UIN_All: endPoint: /resident/v1/req/auth-unlock + description: unlock demo and bio-Face authType for UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -35,6 +36,7 @@ AuthUnlock: }' auth_AuthUnLock_Valid_UIN_DEMO_UNLOCK_All: endPoint: /resident/v1/req/auth-unlock + description: unlock demo and bio-Face authType for UIN role: resident checkErrorsOnlyInResponse: true restMethod: post diff --git a/apitest/src/main/resources/ida/AuthUnLock/createAuthUnLockResult.hbs b/api-test/src/main/resources/ida/AuthUnLock/createAuthUnLockResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/AuthUnLock/createAuthUnLockResult.hbs rename to api-test/src/main/resources/ida/AuthUnLock/createAuthUnLockResult.hbs diff --git a/apitest/src/main/resources/ida/BioAuth/BioAuth.hbs b/api-test/src/main/resources/ida/BioAuth/BioAuth.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuth/BioAuth.hbs rename to api-test/src/main/resources/ida/BioAuth/BioAuth.hbs diff --git a/apitest/src/main/resources/ida/BioAuth/BioAuth.yml b/api-test/src/main/resources/ida/BioAuth/BioAuth.yml similarity index 96% rename from apitest/src/main/resources/ida/BioAuth/BioAuth.yml rename to api-test/src/main/resources/ida/BioAuth/BioAuth.yml index 390f74b411a..f881e80b7f0 100644 --- a/apitest/src/main/resources/ida/BioAuth/BioAuth.yml +++ b/api-test/src/main/resources/ida/BioAuth/BioAuth.yml @@ -1,6 +1,7 @@ BioAuth: auth_BioAuth_Biometric_Face_With_Valid_Smoke_Pos_Test: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric face auth using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth diff --git a/apitest/src/main/resources/ida/BioAuth/BioAuth2.yml b/api-test/src/main/resources/ida/BioAuth/BioAuth2.yml similarity index 94% rename from apitest/src/main/resources/ida/BioAuth/BioAuth2.yml rename to api-test/src/main/resources/ida/BioAuth/BioAuth2.yml index 6a838de04f0..ea7d924c1d4 100644 --- a/apitest/src/main/resources/ida/BioAuth/BioAuth2.yml +++ b/api-test/src/main/resources/ida/BioAuth/BioAuth2.yml @@ -1,6 +1,7 @@ BioAuth: auth_BioAuth_Biometric_Face_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric face auth with valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -39,6 +40,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_updated_edited_policy_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric face auth with updated edited policy using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -77,6 +79,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_Infant_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric face auth with infant UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -120,6 +123,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_Infant_locked_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric face auth with infant locked UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -163,6 +167,7 @@ BioAuth: }' auth_BioAuth_Biometric_RingFinger_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric RingFinger auth With valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -201,6 +206,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftMiddleFingerr_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric LeftMiddleFinger auth with valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -239,6 +245,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftIndexFingerr_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric LeftIndexFinger auth with valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -277,6 +284,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftLittleFinger_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric auth with LeftLittleFinger using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -315,6 +323,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightIndexFinger_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric auth with RightIndexFinger using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -353,6 +362,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightRingFinger_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric auth with RightRingFinger using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -391,6 +401,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightMiddleFinger_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric auth with RightMiddleFinger using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -429,6 +440,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightLittleFinger_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightLittleFinger using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -467,6 +479,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftThumb_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftThumb using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -505,6 +518,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightThumb_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightThumb using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -543,6 +557,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightIris_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightIris using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -581,6 +596,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftIris_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftIris using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -620,6 +636,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with Face using valid VID role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -659,6 +676,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_Revoked_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth wwith Face with revoked VID role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -703,6 +721,7 @@ BioAuth: }' auth_BioAuth_Biometric_RingFinger_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RingFinger using valid VID role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -742,6 +761,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftMiddleFingerr_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftMiddleFinger using valid VID role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -781,10 +801,11 @@ BioAuth: }' auth_BioAuth_Biometric_LeftIndexFingerr_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftIndexFinger using valid VID role: resident restMethod: post - inputTemplate: ida/BioAuth/bioAuth - outputTemplate: ida/BioAuth/bioAuthResult + inputTemplate: ida/BioAuth/BioAuth + outputTemplate: ida/BioAuth/BioAuthResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -819,10 +840,11 @@ BioAuth: }' auth_BioAuth_Biometric_LeftLittleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftLittleFinger using valid VID role: resident restMethod: post - inputTemplate: ida/BioAuth/bioAuth - outputTemplate: ida/BioAuth/bioAuthResult + inputTemplate: ida/BioAuth/BioAuth + outputTemplate: ida/BioAuth/BioAuthResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -857,10 +879,11 @@ BioAuth: }' auth_BioAuth_Biometric_RightIndexFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightIndexFinger using valid VID role: resident restMethod: post - inputTemplate: ida/BioAuth/bioAuth - outputTemplate: ida/BioAuth/bioAuthResult + inputTemplate: ida/BioAuth/BioAuth + outputTemplate: ida/BioAuth/BioAuthResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -895,10 +918,11 @@ BioAuth: }' auth_BioAuth_Biometric_RightRingFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightRingFinger using valid VID role: resident restMethod: post - inputTemplate: ida/BioAuth/bioAuth - outputTemplate: ida/BioAuth/bioAuthResult + inputTemplate: ida/BioAuth/BioAuth + outputTemplate: ida/BioAuth/BioAuthResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -933,10 +957,11 @@ BioAuth: }' auth_BioAuth_Biometric_RightMiddleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightMiddleFinger using valid VID role: resident restMethod: post - inputTemplate: ida/BioAuth/bioAuth - outputTemplate: ida/BioAuth/bioAuthResult + inputTemplate: ida/BioAuth/BioAuth + outputTemplate: ida/BioAuth/BioAuthResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -971,10 +996,11 @@ BioAuth: }' auth_BioAuth_Biometric_RightLittleFinger_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightLittleFinger using valid VID role: resident restMethod: post - inputTemplate: ida/BioAuth/bioAuth - outputTemplate: ida/BioAuth/bioAuthResult + inputTemplate: ida/BioAuth/BioAuth + outputTemplate: ida/BioAuth/BioAuthResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -1009,10 +1035,11 @@ BioAuth: }' auth_BioAuth_Biometric_LeftThumb_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftThumb using valid VID role: resident restMethod: post - inputTemplate: ida/BioAuth/bioAuth - outputTemplate: ida/BioAuth/bioAuthResult + inputTemplate: ida/BioAuth/BioAuth + outputTemplate: ida/BioAuth/BioAuthResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -1047,10 +1074,11 @@ BioAuth: }' auth_BioAuth_Biometric_RightThumb_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightThumb using valid VID role: resident restMethod: post - inputTemplate: ida/BioAuth/bioAuth - outputTemplate: ida/BioAuth/bioAuthResult + inputTemplate: ida/BioAuth/BioAuth + outputTemplate: ida/BioAuth/BioAuthResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -1085,10 +1113,11 @@ BioAuth: }' auth_BioAuth_Biometric_RightIris_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightIris using valid VID role: resident restMethod: post - inputTemplate: ida/BioAuth/bioAuth - outputTemplate: ida/BioAuth/bioAuthResult + inputTemplate: ida/BioAuth/BioAuth + outputTemplate: ida/BioAuth/BioAuthResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -1123,10 +1152,11 @@ BioAuth: }' auth_BioAuth_Biometric_LeftIris_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftIris using valid VID role: resident restMethod: post - inputTemplate: ida/BioAuth/bioAuth - outputTemplate: ida/BioAuth/bioAuthResult + inputTemplate: ida/BioAuth/BioAuth + outputTemplate: ida/BioAuth/BioAuthResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -1161,6 +1191,7 @@ BioAuth: }' auth_BioAuth_Biometric_invalid_uin_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioSubType using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1205,6 +1236,7 @@ BioAuth: }' auth_BioAuth_Biometric_blank_uin_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with blank bioSubType using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1249,6 +1281,7 @@ BioAuth: }' auth_BioAuth_Biometric_Blank_uin_bioType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with blank bioType using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1293,6 +1326,7 @@ BioAuth: }' auth_BioAuth_Biometric_valid_uin_bioType_and_invalid_digitalId_type: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with valid bioType and invalid_digitalId_type using valid VID role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1340,6 +1374,7 @@ BioAuth: }' auth_BioAuth_Biometric_invalid_uin_biovalue: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid biovalue using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1384,6 +1419,7 @@ BioAuth: }' auth_BioAuth_Face_With_FingerBio_uin_Invalid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio face auth with finger bio value using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1428,6 +1464,7 @@ BioAuth: }' auth_BioAuth_Iris_With_FaceBio_uin_Invalid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with Iris and face as bio value using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1472,6 +1509,7 @@ BioAuth: }' auth_BioAuth_Finger_With_FaceBio_uin_Invalid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with finger and face as bio value using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1516,6 +1554,7 @@ BioAuth: }' auth_BioAuth_invalid_Bio-Type_value_as_FIR_uin_instead_of_Face_uin: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1560,6 +1599,7 @@ BioAuth: }' auth_BioAuth_invalid_Bio-Type_value_uin_as_IR_instead_of_IRIS_uin: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1604,9 +1644,10 @@ BioAuth: }' auth_BioAuth_invalid_Bio-Type_value_as_FIR_instead_of_Finger_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using valid VID role: resident restMethod: post - inputTemplate: ida/BioAuth/bioAuth + inputTemplate: ida/BioAuth/BioAuth outputTemplate: ida/BioAuth/error input: '{ "requestTime": "$TIMESTAMP$", @@ -1648,9 +1689,10 @@ BioAuth: }' auth_BioAuth_invalid_Bio-Type_value_as_IR_instead_of_IRIS_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using valid VID role: resident restMethod: post - inputTemplate: ida/BioAuth/bioAuth + inputTemplate: ida/BioAuth/BioAuth outputTemplate: ida/BioAuth/error input: '{ "requestTime": "$TIMESTAMP$", @@ -1692,6 +1734,7 @@ BioAuth: }' auth_BioAuth_invalid_Bio-Type_value_as_FC_instead_of_FACE_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using valid VID role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1726,9 +1769,10 @@ BioAuth: }' auth_BioAuth_invalid_Bio-Type_value_as_FC_instead_of_FACE_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using valid VID role: resident restMethod: post - inputTemplate: ida/BioAuth/bioAuth + inputTemplate: ida/BioAuth/BioAuth outputTemplate: ida/BioAuth/error input: '{ "requestTime": "$TIMESTAMP$", @@ -1770,9 +1814,10 @@ BioAuth: }' auth_BioAuth_invalid_Bio-Type_value_as_FC_instead_of_FACE_UIN: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using valid UIN role: resident restMethod: post - inputTemplate: ida/BioAuth/bioAuth + inputTemplate: ida/BioAuth/BioAuth outputTemplate: ida/BioAuth/error input: '{ "requestTime": "$TIMESTAMP$", @@ -1814,6 +1859,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_Unlock_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with unlocked face with valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1853,6 +1899,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_Lock_uin_Permanent_: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio face auth using permanetly locked UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1897,6 +1944,7 @@ BioAuth: }' auth_BioAuth_Biometric_time_difference_datetime_uin_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with time difference between datetime and request time for UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1941,6 +1989,7 @@ BioAuth: }' auth_BioAuth_with_dummy_partnerkey_uin_Pos: endPoint: /idauthentication/v1/auth/$a2673y3g3grURL$ + description: Bio auth with dummy partnerkey using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -1988,6 +2037,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_Unlock_With_AllValid_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with face unlocked UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2027,6 +2077,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_Lock_Permanent_uin_Valid_Smoke: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with permanently locked UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2071,6 +2122,7 @@ BioAuth: }' auth_BioAuth_With_Deactivated_UIN: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth wuth deactivated UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2115,6 +2167,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_Draft_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with drafted UIN role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2154,6 +2207,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_IRIS_as_true_anddo_bio_auth: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Invalid scenario role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2197,6 +2251,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightIris_With_MANDATORY_iris_in_policy: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: invalid scenario role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2235,6 +2290,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_InValid_timestamp: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio face auth invalid timestamp role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2278,6 +2334,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_InValid_DATETIME: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio face auth with invalid date time role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2321,6 +2378,7 @@ BioAuth: }' auth_BioAuth_Biometric_With_empty_DateTime: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with empty date time role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2365,6 +2423,7 @@ BioAuth: }' auth_BioAuth_Biometric_Without_DateTime: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth without date time role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2409,6 +2468,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_Invalid_ENV: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth without ENV role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2452,6 +2512,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_missing_ENV: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth without ENV role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2496,6 +2557,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_Empty_ENV: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth without ENV role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2539,6 +2601,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_Empty_space_ENV: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth without ENV role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2582,6 +2645,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_Without_ENV: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth without ENV role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuth @@ -2625,6 +2689,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_space_in_domain: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with space in domain role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuthWithDomain @@ -2670,6 +2735,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_Without_Empty_domain: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth without domain role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuthWithDomain @@ -2715,6 +2781,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_Without_domain: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with empty domain role: resident restMethod: post inputTemplate: ida/BioAuth/BioAuthWithDomain @@ -2757,4 +2824,4 @@ BioAuth: } ], "authStatus": false -}' \ No newline at end of file +}' diff --git a/apitest/src/main/resources/ida/BioAuth/BioAuthIdentityEncrypt.hbs b/api-test/src/main/resources/ida/BioAuth/BioAuthIdentityEncrypt.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuth/BioAuthIdentityEncrypt.hbs rename to api-test/src/main/resources/ida/BioAuth/BioAuthIdentityEncrypt.hbs diff --git a/apitest/src/main/resources/ida/BioAuth/BioAuthMultiFinger.hbs b/api-test/src/main/resources/ida/BioAuth/BioAuthMultiFinger.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuth/BioAuthMultiFinger.hbs rename to api-test/src/main/resources/ida/BioAuth/BioAuthMultiFinger.hbs diff --git a/apitest/src/main/resources/ida/BioAuth/BioAuthResult.hbs b/api-test/src/main/resources/ida/BioAuth/BioAuthResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuth/BioAuthResult.hbs rename to api-test/src/main/resources/ida/BioAuth/BioAuthResult.hbs diff --git a/apitest/src/main/resources/ida/BioAuth/BioAuthWithDomain.hbs b/api-test/src/main/resources/ida/BioAuth/BioAuthWithDomain.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuth/BioAuthWithDomain.hbs rename to api-test/src/main/resources/ida/BioAuth/BioAuthWithDomain.hbs diff --git a/apitest/src/main/resources/ida/BioAuth/BioAuthWithMultiple.hbs b/api-test/src/main/resources/ida/BioAuth/BioAuthWithMultiple.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuth/BioAuthWithMultiple.hbs rename to api-test/src/main/resources/ida/BioAuth/BioAuthWithMultiple.hbs diff --git a/apitest/src/main/resources/ida/BioAuth/error.hbs b/api-test/src/main/resources/ida/BioAuth/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuth/error.hbs rename to api-test/src/main/resources/ida/BioAuth/error.hbs diff --git a/apitest/src/main/resources/ida/BioAuthHotListLock/BioAuth.hbs b/api-test/src/main/resources/ida/BioAuthHotListLock/BioAuth.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuthHotListLock/BioAuth.hbs rename to api-test/src/main/resources/ida/BioAuthHotListLock/BioAuth.hbs diff --git a/apitest/src/main/resources/ida/BioAuthHotListLock/BioAuth.yml b/api-test/src/main/resources/ida/BioAuthHotListLock/BioAuth.yml similarity index 95% rename from apitest/src/main/resources/ida/BioAuthHotListLock/BioAuth.yml rename to api-test/src/main/resources/ida/BioAuthHotListLock/BioAuth.yml index 61cac4e2873..045021d86da 100644 --- a/apitest/src/main/resources/ida/BioAuthHotListLock/BioAuth.yml +++ b/api-test/src/main/resources/ida/BioAuthHotListLock/BioAuth.yml @@ -1,6 +1,7 @@ BioAuth: auth_BioAuth_Biometric_Face_With_blocked_UIN_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric face auth with blocked UIN role: resident restMethod: post inputTemplate: ida/BioAuthHotListLock/BioAuth @@ -39,6 +40,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_Locked_UIN_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric face auth with locked UIN role: resident restMethod: post inputTemplate: ida/BioAuthHotListLock/BioAuth @@ -77,6 +79,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_blocked_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric face auth with blocked VID role: resident restMethod: post inputTemplate: ida/BioAuthHotListLock/BioAuth @@ -115,6 +118,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_blocked_deviceProviderId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric face auth with blocked deviceProviderId role: resident restMethod: post inputTemplate: ida/BioAuthHotListLock/BioAuth @@ -153,6 +157,7 @@ BioAuth: }' auth_BioAuth_Biometric_RingFinger_With_blocked_deviceProviderId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric RingFinger auth with blocked deviceProviderId role: resident restMethod: post inputTemplate: ida/BioAuthHotListLock/BioAuth @@ -191,6 +196,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftIndexFingerr_With_blocked_deviceProviderId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric LeftIndexFinger auth with blocked deviceProviderId role: resident restMethod: post inputTemplate: ida/BioAuthHotListLock/BioAuth @@ -229,6 +235,7 @@ BioAuth: }' auth_BioAuth_Biometric_IRIS_With_blocked_deviceProviderId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric Iris auth with blocked deviceProviderId role: resident restMethod: post inputTemplate: ida/BioAuthHotListLock/BioAuth @@ -267,6 +274,7 @@ BioAuth: }' auth_EkycBio_Face_With_blocked_deviceProviderId: endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + description: Ekyc bio auth with face with blocked deviceProviderId role: resident restMethod: post inputTemplate: ida/BioAuthHotListLock/BioAuth @@ -305,6 +313,7 @@ BioAuth: }' auth_EkycBio_RingFinger_With_blocked_deviceProviderId: endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + description: Ekyc bio auth with RingFinger with blocked deviceProviderId role: resident restMethod: post inputTemplate: ida/BioAuthHotListLock/BioAuth @@ -343,6 +352,7 @@ BioAuth: }' auth_EkycBio_LeftMiddleFingerr_With_blocked_deviceProviderId: endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + description: Ekyc bio auth with LeftMiddleFinger with blocked deviceProviderId role: resident restMethod: post inputTemplate: ida/BioAuthHotListLock/BioAuth @@ -382,6 +392,7 @@ BioAuth: }' auth_EkycBio_RIGHTIRIS_With_blocked_deviceProviderId: endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + description: Ekyc bio auth with RIGHTIRIS with blocked deviceProviderId role: resident restMethod: post inputTemplate: ida/BioAuthHotListLock/BioAuth diff --git a/apitest/src/main/resources/ida/BioAuthHotListLock/BioAuthResult.hbs b/api-test/src/main/resources/ida/BioAuthHotListLock/BioAuthResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuthHotListLock/BioAuthResult.hbs rename to api-test/src/main/resources/ida/BioAuthHotListLock/BioAuthResult.hbs diff --git a/apitest/src/main/resources/ida/BioAuthHotListLock/BioAuthWithUnblockedPartners.yml b/api-test/src/main/resources/ida/BioAuthHotListLock/BioAuthWithUnblockedPartners.yml similarity index 100% rename from apitest/src/main/resources/ida/BioAuthHotListLock/BioAuthWithUnblockedPartners.yml rename to api-test/src/main/resources/ida/BioAuthHotListLock/BioAuthWithUnblockedPartners.yml diff --git a/apitest/src/main/resources/ida/BioAuthHotListLock/EkycBioResult.hbs b/api-test/src/main/resources/ida/BioAuthHotListLock/EkycBioResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuthHotListLock/EkycBioResult.hbs rename to api-test/src/main/resources/ida/BioAuthHotListLock/EkycBioResult.hbs diff --git a/apitest/src/main/resources/ida/BioAuthHotListLock/error.hbs b/api-test/src/main/resources/ida/BioAuthHotListLock/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuthHotListLock/error.hbs rename to api-test/src/main/resources/ida/BioAuthHotListLock/error.hbs diff --git a/apitest/src/main/resources/ida/BioAuthHotListLock/errorKyc.hbs b/api-test/src/main/resources/ida/BioAuthHotListLock/errorKyc.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuthHotListLock/errorKyc.hbs rename to api-test/src/main/resources/ida/BioAuthHotListLock/errorKyc.hbs diff --git a/apitest/src/main/resources/ida/BioAuthHotListPartner/BioAuth.hbs b/api-test/src/main/resources/ida/BioAuthHotListPartner/BioAuth.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuthHotListPartner/BioAuth.hbs rename to api-test/src/main/resources/ida/BioAuthHotListPartner/BioAuth.hbs diff --git a/apitest/src/main/resources/ida/BioAuthHotListPartner/BioAuth.yml b/api-test/src/main/resources/ida/BioAuthHotListPartner/BioAuth.yml similarity index 95% rename from apitest/src/main/resources/ida/BioAuthHotListPartner/BioAuth.yml rename to api-test/src/main/resources/ida/BioAuthHotListPartner/BioAuth.yml index 2571871ae68..9b85d6e4136 100644 --- a/apitest/src/main/resources/ida/BioAuthHotListPartner/BioAuth.yml +++ b/api-test/src/main/resources/ida/BioAuthHotListPartner/BioAuth.yml @@ -1,6 +1,7 @@ BioAuth: auth_BioAuth_Biometric_Face_With_blocked_Partner_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric face auth with blocked partner role: resident restMethod: post inputTemplate: ida/BioAuthHotListPartner/BioAuth @@ -39,6 +40,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_BLocked_partner_vid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric face auth with blocked partner role: resident restMethod: post inputTemplate: ida/BioAuthHotListPartner/BioAuth @@ -77,6 +79,7 @@ BioAuth: }' auth_BioAuth_Biometric_RingFinger_With_blocked_partner: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric RingFinger auth with blocked partner role: resident restMethod: post inputTemplate: ida/BioAuthHotListPartner/BioAuth @@ -115,6 +118,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftIndexFingerr_With_blocked_partner: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric LeftIndexFinger auth with blocked partner role: resident restMethod: post inputTemplate: ida/BioAuthHotListPartner/BioAuth @@ -153,6 +157,7 @@ BioAuth: }' auth_BioAuth_Biometric_IRIS_With_blocked_partner: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric IRIS auth with blocked partner role: resident restMethod: post inputTemplate: ida/BioAuthHotListPartner/BioAuth @@ -191,6 +196,7 @@ BioAuth: }' auth_EkycBio_Face_With_blocked_partner: endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + description: Ekyc face auth with blocked partner role: resident restMethod: post inputTemplate: ida/BioAuthHotListPartner/BioAuth @@ -229,6 +235,7 @@ BioAuth: }' auth_EkycBio_RingFinger_With_blocked_deviceProviderId: endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + description: Ekyc RingFinger auth with blocked deviceProviderId role: resident restMethod: post inputTemplate: ida/BioAuthHotListPartner/BioAuth @@ -267,6 +274,7 @@ BioAuth: }' auth_EkycBio_LeftMiddleFingerr_With_blocked_deviceProviderId: endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + description: Ekyc LeftMiddleFinger auth with blocked deviceProviderId role: resident restMethod: post inputTemplate: ida/BioAuthHotListPartner/BioAuth @@ -305,6 +313,7 @@ BioAuth: }' auth_EkycBio_RIGHTIRIS_With_blocked_deviceProviderId: endPoint: /idauthentication/v1/auth/$ekycPartnerKeyURL$ + description: Ekyc RIGHTIRIS auth with blocked deviceProviderId role: resident restMethod: post inputTemplate: ida/BioAuthHotListPartner/BioAuth diff --git a/apitest/src/main/resources/ida/BioAuthHotListPartner/BioAuthResult.hbs b/api-test/src/main/resources/ida/BioAuthHotListPartner/BioAuthResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuthHotListPartner/BioAuthResult.hbs rename to api-test/src/main/resources/ida/BioAuthHotListPartner/BioAuthResult.hbs diff --git a/apitest/src/main/resources/ida/BioAuthHotListPartner/error.hbs b/api-test/src/main/resources/ida/BioAuthHotListPartner/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuthHotListPartner/error.hbs rename to api-test/src/main/resources/ida/BioAuthHotListPartner/error.hbs diff --git a/apitest/src/main/resources/ida/BioAuthHotListPartner/errorKyc.hbs b/api-test/src/main/resources/ida/BioAuthHotListPartner/errorKyc.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuthHotListPartner/errorKyc.hbs rename to api-test/src/main/resources/ida/BioAuthHotListPartner/errorKyc.hbs diff --git a/apitest/src/main/resources/ida/BioAuthOld/BioAuthIdentityEncrypt.hbs b/api-test/src/main/resources/ida/BioAuthOld/BioAuthIdentityEncrypt.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuthOld/BioAuthIdentityEncrypt.hbs rename to api-test/src/main/resources/ida/BioAuthOld/BioAuthIdentityEncrypt.hbs diff --git a/apitest/src/main/resources/ida/BioAuthOld/BioAuthOld.yml b/api-test/src/main/resources/ida/BioAuthOld/BioAuthOld.yml similarity index 95% rename from apitest/src/main/resources/ida/BioAuthOld/BioAuthOld.yml rename to api-test/src/main/resources/ida/BioAuthOld/BioAuthOld.yml index d2c57d33ac8..231ba9904ff 100644 --- a/apitest/src/main/resources/ida/BioAuthOld/BioAuthOld.yml +++ b/api-test/src/main/resources/ida/BioAuthOld/BioAuthOld.yml @@ -1,6 +1,7 @@ BioAuth: auth_BioAuth_Biometric_Face_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric face auth with valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -39,6 +40,7 @@ BioAuth: }' auth_BioAuth_Biometric_RingFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RingFinger using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -77,6 +79,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftMiddleFingerr_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftMiddleFinger using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -115,6 +118,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftIndexFingerr_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftIndexFinger using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -153,6 +157,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftLittleFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftLittleFinger using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -191,6 +196,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightIndexFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightIndexFinger using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -229,6 +235,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightRingFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightRingFinger using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -267,6 +274,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightMiddleFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightMiddleFinger using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -305,6 +313,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightLittleFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightLittleFinger using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -343,6 +352,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftThumb_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftThumb using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -381,6 +391,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightThumb_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightThumb using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -419,6 +430,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightIris_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightIris using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -457,6 +469,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftIris_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftIris using valid UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -495,6 +508,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with Face using valid VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -533,6 +547,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_With_RevokedVID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with Face using revoked VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -577,6 +592,7 @@ BioAuth: }' auth_BioAuth_Biometric_RingFinger_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RingFinger using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -615,6 +631,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftMiddleFingerr_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftMiddleFinger using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -653,6 +670,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftIndexFingerr_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftIndexFinger using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -691,6 +709,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftLittleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftLittleFinger using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -729,6 +748,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightIndexFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightIndexFinger using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -767,6 +787,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightRingFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightRingFinger using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -805,6 +826,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightMiddleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightMiddleFinger using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -843,6 +865,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightLittleFinger_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightLittleFinger using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -881,6 +904,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftThumb_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftThumb using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -919,6 +943,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightThumb_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightThumb using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -957,6 +982,7 @@ BioAuth: }' auth_BioAuth_Biometric_RightIris_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with RightIris using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -995,6 +1021,7 @@ BioAuth: }' auth_BioAuth_Biometric_LeftIris_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with LeftIris using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1033,6 +1060,7 @@ BioAuth: }' auth_BioAuth_Biometric_inValid_transactionID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid transactionId using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1077,6 +1105,7 @@ BioAuth: }' auth_BioAuth_Biometric_blank_transactionID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with blank transactionId using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1121,6 +1150,7 @@ BioAuth: }' auth_BioAuth_Biometric_inValid_individualIdType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid individualIdType using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1165,6 +1195,7 @@ BioAuth: }' auth_BioAuth_Biometric_blank_individualIdType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with blank individualIdType using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1209,6 +1240,7 @@ BioAuth: }' auth_BioAuth_Biometric_Missing_Optional_Field_individualIdType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with missing individualIdType UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1247,6 +1279,7 @@ BioAuth: }' auth_BioAuth_Biometric_invalid_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioSubType using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1291,6 +1324,7 @@ BioAuth: }' auth_BioAuth_Biometric_blank_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with blank bioSubType using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1335,6 +1369,7 @@ BioAuth: }' auth_BioAuth_Biometric_Blank_bioType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with blank bioType using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1379,6 +1414,7 @@ BioAuth: }' auth_BioAuth_Biometric_Missing_bioType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with missing bioType using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1423,6 +1459,7 @@ BioAuth: }' auth_BioAuth_Biometric_Invalid_bioType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1467,6 +1504,7 @@ BioAuth: }' auth_BioAuth_Biometric_valid_bioType_and_invalid_digitalId_type: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with valid bioType and invalid digitalId using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1515,6 +1553,7 @@ BioAuth: }' auth_BioAuth_Biometric_invalid_biovalue: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioValue using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1559,6 +1598,7 @@ BioAuth: }' auth_BioAuth_Face_With_FingerBio_Invalid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1603,6 +1643,7 @@ BioAuth: }' auth_BioAuth_Iris_With_FaceBio_Invalid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1647,6 +1688,7 @@ BioAuth: }' auth_BioAuth_Finger_With_FaceBio_Invalid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1691,6 +1733,7 @@ BioAuth: }' auth_BioAuth_invalid_Bio-Type_value_as_FIR_instead_of_Finger_uin: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1735,6 +1778,7 @@ BioAuth: }' auth_BioAuth_invalid_Bio-Type_value_as_IR_instead_of_IRIS_uin: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1779,6 +1823,7 @@ BioAuth: }' auth_BioAuth_invalid_Bio-Type_value_as_FIR_instead_of_Finger_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1823,6 +1868,7 @@ BioAuth: }' auth_BioAuth_invalid_Bio-Type_value_as_IR_instead_of_IRIS_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1867,6 +1913,7 @@ BioAuth: }' auth_BioAuth_invalid_Bio-Type_value_as_FC_instead_of_FACE_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using VID role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1911,6 +1958,7 @@ BioAuth: }' auth_BioAuth_invalid_Bio-Type_value_as_FC_instead_of_FACE_UIN: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with invalid bioType and invalid bioValue using UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1955,6 +2003,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_Unlock_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio face auth with unlocked UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -1993,6 +2042,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_Lock_Permanent_: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio face auth with permanent locked UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -2037,6 +2087,7 @@ BioAuth: }' auth_BioAuth_Biometric_time_difference_datetime_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Biometric_time_difference_datetime role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -2081,6 +2132,7 @@ BioAuth: }' auth_BioAuth_with_dummy_partnerkey_Pos: endPoint: /idauthentication/v1/auth/zY22wDwZxwMdlxTZRWrM50m4zBoOiMyUGY/45362768/27822828287 + description: Bio auth with dummy partnerkey role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -2130,6 +2182,7 @@ BioAuth: auth_BioAuth_Biometric_Face_Unlock_With_AllValid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with unlocked UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth @@ -2168,6 +2221,7 @@ BioAuth: }' auth_BioAuth_Biometric_Face_Lock_Permanent_Valid_Smoke: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Bio auth with permanent locked UIN role: resident restMethod: post inputTemplate: ida/BioAuth/bioAuth diff --git a/apitest/src/main/resources/ida/BioAuthOld/bioAuth.hbs b/api-test/src/main/resources/ida/BioAuthOld/bioAuth.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuthOld/bioAuth.hbs rename to api-test/src/main/resources/ida/BioAuthOld/bioAuth.hbs diff --git a/apitest/src/main/resources/ida/BioAuthOld/bioAuthResult.hbs b/api-test/src/main/resources/ida/BioAuthOld/bioAuthResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuthOld/bioAuthResult.hbs rename to api-test/src/main/resources/ida/BioAuthOld/bioAuthResult.hbs diff --git a/apitest/src/main/resources/ida/BioAuthOld/error.hbs b/api-test/src/main/resources/ida/BioAuthOld/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioAuthOld/error.hbs rename to api-test/src/main/resources/ida/BioAuthOld/error.hbs diff --git a/apitest/src/main/resources/ida/BioInternalAuth/BioIdentityEncrypt.hbs b/api-test/src/main/resources/ida/BioInternalAuth/BioIdentityEncrypt.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioInternalAuth/BioIdentityEncrypt.hbs rename to api-test/src/main/resources/ida/BioInternalAuth/BioIdentityEncrypt.hbs diff --git a/apitest/src/main/resources/ida/BioInternalAuth/BioInternalAuth.yml b/api-test/src/main/resources/ida/BioInternalAuth/BioInternalAuth.yml similarity index 99% rename from apitest/src/main/resources/ida/BioInternalAuth/BioInternalAuth.yml rename to api-test/src/main/resources/ida/BioInternalAuth/BioInternalAuth.yml index 91b0a87826b..6aa251fa548 100644 --- a/apitest/src/main/resources/ida/BioInternalAuth/BioInternalAuth.yml +++ b/api-test/src/main/resources/ida/BioInternalAuth/BioInternalAuth.yml @@ -1,6 +1,7 @@ BioInternalAuth: auth_BioInternalAuth_Biometric_Face_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using face with UIN role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -27,6 +28,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_RingFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using RingFinger with UIN role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -53,6 +55,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_LeftMiddleFingerr_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using LeftMiddleFinger with UIN role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -79,6 +82,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_LeftIndexFingerr_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using LeftIndexFinger with UIN role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -105,6 +109,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_LeftLittleFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using LeftLittleFinger with UIN role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -131,6 +136,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_RightIndexFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using RightIndexFinger with UIN role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -157,6 +163,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_RightRingFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using RightRingFinger with UIN role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -183,6 +190,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_RightMiddleFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using RightMiddleFinger with UIN role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -209,6 +217,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_RightLittleFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using RightLittleFinger with UIN role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -235,6 +244,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_LeftThumb_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using LeftThumb with UIN role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -261,6 +271,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_RightThumb_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using RightThumb with UIN role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -287,6 +298,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_RightIris_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using RightIris with UIN role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -313,6 +325,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_LeftIris_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using LeftIris with UIN role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -339,6 +352,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_Face_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using Face with VID role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -365,6 +379,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_RingFinger_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using RingFinger with VID role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -391,6 +406,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_LeftMiddleFingerr_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using LeftMiddleFinger with VID role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -417,6 +433,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_LeftIndexFingerr_With_VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using LeftIndexFinger with VID role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -443,6 +460,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_LeftLittleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using LeftLittleFinger with VID role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -469,6 +487,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_RightIndexFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using RightIndexFinger with VID role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -495,6 +514,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_RightRingFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using RightRingFinger with VID role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -521,6 +541,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_RightMiddleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using RightMiddleFinger with VID role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -547,6 +568,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_RightLittleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using RightLittleFinger with VID role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -573,6 +595,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_LeftThumb_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using LeftThumb with VID role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -599,6 +622,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_RightThumb_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using RightThumb with VID role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -625,6 +649,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_RightIris_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using RightIris with VID role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -651,6 +676,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_LeftIris_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth using LeftIris with VID role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -677,6 +703,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_inValid_transactionID: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth with invalid transactionId role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -709,6 +736,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_blank_transactionID: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth with blank transactionId role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -741,6 +769,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_inValid_individualIdType: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth with invalid individualIdType role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -773,6 +802,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_blank_individualIdType: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth with blank individualIdType role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -805,6 +835,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_Misssing_individualIdType: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth with missing individualIdType role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -837,6 +868,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_invalid_bioSubType: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth with invalid bioSubType role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -869,6 +901,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_blank_bioSubType: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth with blank bioSubType role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -901,6 +934,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_missing_bioType: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth with missing bioType role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -933,6 +967,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_Blank_bioType: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth with blank bioType role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -965,6 +1000,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_Invalid_bioType: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth with invalid bioType role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -997,6 +1033,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Biometric_invalid_biovalue: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth with invalid bioValue role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -1029,6 +1066,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Face_With_FingerBio_Invalid: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth with invalid bioValue and invalid bioType role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -1061,6 +1099,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Iris_With_FaceBio_Invalid: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth with invalid bioValue and invalid bioType role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth @@ -1093,6 +1132,7 @@ BioInternalAuth: }' auth_BioInternalAuth_Finger_With_FaceBio_Invalid: endPoint: /idauthentication/v1/internal/auth + description: Bio internal auth with invalid bioValue and invalid bioType role: regproc restMethod: post inputTemplate: ida/BioInternalAuth/bioInternalAuth diff --git a/apitest/src/main/resources/ida/BioInternalAuth/bioInternalAuth.hbs b/api-test/src/main/resources/ida/BioInternalAuth/bioInternalAuth.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioInternalAuth/bioInternalAuth.hbs rename to api-test/src/main/resources/ida/BioInternalAuth/bioInternalAuth.hbs diff --git a/apitest/src/main/resources/ida/BioInternalAuth/bioInternalAuthResult.hbs b/api-test/src/main/resources/ida/BioInternalAuth/bioInternalAuthResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioInternalAuth/bioInternalAuthResult.hbs rename to api-test/src/main/resources/ida/BioInternalAuth/bioInternalAuthResult.hbs diff --git a/apitest/src/main/resources/ida/BioInternalAuth/error.hbs b/api-test/src/main/resources/ida/BioInternalAuth/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/BioInternalAuth/error.hbs rename to api-test/src/main/resources/ida/BioInternalAuth/error.hbs diff --git a/apitest/src/main/resources/ida/BlockHotlistAPI/BlockHotlistAPI.yml b/api-test/src/main/resources/ida/BlockHotlistAPI/BlockHotlistAPI.yml similarity index 89% rename from apitest/src/main/resources/ida/BlockHotlistAPI/BlockHotlistAPI.yml rename to api-test/src/main/resources/ida/BlockHotlistAPI/BlockHotlistAPI.yml index 3178e29cdea..8365463e6e7 100644 --- a/apitest/src/main/resources/ida/BlockHotlistAPI/BlockHotlistAPI.yml +++ b/api-test/src/main/resources/ida/BlockHotlistAPI/BlockHotlistAPI.yml @@ -1,6 +1,7 @@ HotlistAPI: auth_BlockHotlistAPI_All_Valid_Smoke_UIN_without_expirytime_sid: endPoint: /v1/hotlist/block + description: block UIN without expiry time role: hotlist restMethod: post inputTemplate: ida/BlockHotlistAPI/blockHotlistAPI @@ -16,6 +17,7 @@ HotlistAPI: }' auth_BlockHotlistAPI_All_Valid_Smoke_UIN_forever_sid: endPoint: /v1/hotlist/block + description: block UIN for forever without expiry time role: hotlist restMethod: post inputTemplate: ida/BlockHotlistAPI/blockHotlistAPI @@ -31,6 +33,7 @@ HotlistAPI: }' auth_BlockHotlistAPI_when_id_type_uin_incorrect: endPoint: /v1/hotlist/block + description: block UIN when id type is incorrect without expiry time role: hotlist restMethod: post inputTemplate: ida/BlockHotlistAPI/blockHotlistAPI @@ -46,6 +49,7 @@ HotlistAPI: }' auth_BlockHotlistAPI_when_id_type_vid_incorrect: endPoint: /v1/hotlist/block + description: block VID when id type is incorrect without expiry time role: hotlist restMethod: post inputTemplate: ida/BlockHotlistAPI/blockHotlistAPI @@ -61,6 +65,7 @@ HotlistAPI: }' auth_BlockHotlistAPI_when_expiry_time_old_incorrect: endPoint: /v1/hotlist/block + description: block VID when expiry time and id type are incorrect role: hotlist restMethod: post inputTemplate: ida/BlockHotlistAPI/blockHotlistAPI @@ -76,6 +81,7 @@ HotlistAPI: }' auth_BlockHotlistAPI_All_Valid_Smoke_UIN_with_expirytime_sid: endPoint: /v1/hotlist/block + description: block UIN with expiry time role: hotlist restMethod: post inputTemplate: ida/BlockHotlistAPI/blockHotlistAPI @@ -91,6 +97,7 @@ HotlistAPI: }' auth_BlockHotlistAPI_All_Valid_Smoke_VID_without_expirytime_sid: endPoint: /v1/hotlist/block + description: block VID without expiry time role: hotlist restMethod: post inputTemplate: ida/BlockHotlistAPI/blockHotlistAPI @@ -106,6 +113,7 @@ HotlistAPI: }' auth_BlockHotlistAPI_All_Valid_Smoke_VID_with_expirytime_sid: endPoint: /v1/hotlist/block + description: block VID with expiry time role: hotlist restMethod: post inputTemplate: ida/BlockHotlistAPI/blockHotlistAPI @@ -121,6 +129,7 @@ HotlistAPI: }' auth_BlockHotlistAPI_All_Valid_Smoke_Device_with_expirytime_sid: endPoint: /v1/hotlist/block + description: block device without expiry time role: hotlist restMethod: post inputTemplate: ida/BlockHotlistAPI/blockHotlistAPI @@ -136,6 +145,7 @@ HotlistAPI: }' auth_BlockHotlistAPI_All_Valid_Smoke_Device_withOUT_expirytime_sid: endPoint: /v1/hotlist/block + description: block device without expiry time role: hotlist restMethod: post inputTemplate: ida/BlockHotlistAPI/blockHotlistAPI @@ -151,6 +161,7 @@ HotlistAPI: }' auth_BlockHotlistAPI_All_Valid_Smoke_deviceProviderId: endPoint: /v1/hotlist/block + description: block device provider id without expiry time role: hotlist restMethod: post inputTemplate: ida/BlockHotlistAPI/blockHotlistAPI diff --git a/apitest/src/main/resources/ida/BlockHotlistAPI/BlockPartnerId.yml b/api-test/src/main/resources/ida/BlockHotlistAPI/BlockPartnerId.yml similarity index 88% rename from apitest/src/main/resources/ida/BlockHotlistAPI/BlockPartnerId.yml rename to api-test/src/main/resources/ida/BlockHotlistAPI/BlockPartnerId.yml index 925ce1d0da1..f7d5090a40c 100644 --- a/apitest/src/main/resources/ida/BlockHotlistAPI/BlockPartnerId.yml +++ b/api-test/src/main/resources/ida/BlockHotlistAPI/BlockPartnerId.yml @@ -1,6 +1,7 @@ HotlistAPI: auth_BlockPartnerId_All_Valid_Smoke_block_partner_id_sid: endPoint: /v1/hotlist/block + description: block partner id without expiry time role: hotlist restMethod: post inputTemplate: ida/BlockHotlistAPI/blockHotlistAPI @@ -16,6 +17,7 @@ HotlistAPI: }' auth_BlockPartnerId_All_Valid_Smoke_block_api_key_sid: endPoint: /v1/hotlist/block + description: block api key without expiry time role: hotlist restMethod: post inputTemplate: ida/BlockHotlistAPI/blockHotlistAPI @@ -31,6 +33,7 @@ HotlistAPI: }' auth_BlockPartnerId_All_Valid_Smoke_block_MISP_LIC_key_sid: endPoint: /v1/hotlist/block + description: block misp lic Key without expiry time role: hotlist restMethod: post inputTemplate: ida/BlockHotlistAPI/blockHotlistAPI diff --git a/apitest/src/main/resources/ida/BlockHotlistAPI/blockHotlistAPI.hbs b/api-test/src/main/resources/ida/BlockHotlistAPI/blockHotlistAPI.hbs similarity index 100% rename from apitest/src/main/resources/ida/BlockHotlistAPI/blockHotlistAPI.hbs rename to api-test/src/main/resources/ida/BlockHotlistAPI/blockHotlistAPI.hbs diff --git a/apitest/src/main/resources/ida/BlockHotlistAPI/blockHotlistAPIResult.hbs b/api-test/src/main/resources/ida/BlockHotlistAPI/blockHotlistAPIResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/BlockHotlistAPI/blockHotlistAPIResult.hbs rename to api-test/src/main/resources/ida/BlockHotlistAPI/blockHotlistAPIResult.hbs diff --git a/apitest/src/main/resources/ida/CreateDraft/CreateDraft.yml b/api-test/src/main/resources/ida/CreateDraft/CreateDraft.yml similarity index 88% rename from apitest/src/main/resources/ida/CreateDraft/CreateDraft.yml rename to api-test/src/main/resources/ida/CreateDraft/CreateDraft.yml index 95e265d0ef6..b70d1ca6666 100644 --- a/apitest/src/main/resources/ida/CreateDraft/CreateDraft.yml +++ b/api-test/src/main/resources/ida/CreateDraft/CreateDraft.yml @@ -1,6 +1,7 @@ CreateDraft: auth_CreateDraft_Smoke_Pos: endPoint: /idrepository/v1/identity/draft/create/{registrationId} + description: create Draft with regitrationId role: idrepo checkErrorsOnlyInResponse: true restMethod: post diff --git a/apitest/src/main/resources/ida/CreateDraft/createDraft.hbs b/api-test/src/main/resources/ida/CreateDraft/createDraft.hbs similarity index 100% rename from apitest/src/main/resources/ida/CreateDraft/createDraft.hbs rename to api-test/src/main/resources/ida/CreateDraft/createDraft.hbs diff --git a/apitest/src/main/resources/ida/CreateDraft/createDraftResult.hbs b/api-test/src/main/resources/ida/CreateDraft/createDraftResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/CreateDraft/createDraftResult.hbs rename to api-test/src/main/resources/ida/CreateDraft/createDraftResult.hbs diff --git a/apitest/src/main/resources/ida/CreateDraftVID/CreateDraftVID.yml b/api-test/src/main/resources/ida/CreateDraftVID/CreateDraftVID.yml similarity index 87% rename from apitest/src/main/resources/ida/CreateDraftVID/CreateDraftVID.yml rename to api-test/src/main/resources/ida/CreateDraftVID/CreateDraftVID.yml index e593cf86823..f51ea73c265 100644 --- a/apitest/src/main/resources/ida/CreateDraftVID/CreateDraftVID.yml +++ b/api-test/src/main/resources/ida/CreateDraftVID/CreateDraftVID.yml @@ -1,6 +1,7 @@ CreateDraftVID: auth_CreateDraftVID_Smoke_Pos: endPoint: /idrepository/v1/draft/vid + description: create Draft Perpetual VID using UIN role: idrepo restMethod: post inputTemplate: ida/CreateDraftVID/createDraftVID diff --git a/apitest/src/main/resources/ida/CreateDraftVID/createDraftVID.hbs b/api-test/src/main/resources/ida/CreateDraftVID/createDraftVID.hbs similarity index 100% rename from apitest/src/main/resources/ida/CreateDraftVID/createDraftVID.hbs rename to api-test/src/main/resources/ida/CreateDraftVID/createDraftVID.hbs diff --git a/apitest/src/main/resources/ida/CreateDraftVID/createDraftVIDResult.hbs b/api-test/src/main/resources/ida/CreateDraftVID/createDraftVIDResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/CreateDraftVID/createDraftVIDResult.hbs rename to api-test/src/main/resources/ida/CreateDraftVID/createDraftVIDResult.hbs diff --git a/apitest/src/main/resources/ida/CreateVID/CreateVid.yml b/api-test/src/main/resources/ida/CreateVID/CreateVid.yml similarity index 88% rename from apitest/src/main/resources/ida/CreateVID/CreateVid.yml rename to api-test/src/main/resources/ida/CreateVID/CreateVid.yml index 82c7a8016fa..219d4b3ae2e 100644 --- a/apitest/src/main/resources/ida/CreateVID/CreateVid.yml +++ b/api-test/src/main/resources/ida/CreateVID/CreateVid.yml @@ -1,6 +1,7 @@ CreateVID: auth_GenerateVID_All_Valid_Smoke_Perpetual_sid: endPoint: /idrepository/v1/vid + description: generate Perpetual VID for authentication role: idrepo restMethod: post inputTemplate: ida/CreateVID/createVid @@ -18,6 +19,7 @@ CreateVID: auth_GenerateVID_to_revoke_Perpetual_sid: endPoint: /idrepository/v1/vid + description: generate Perpetual VID to revoke role: idrepo restMethod: post inputTemplate: ida/CreateVID/createVid @@ -35,6 +37,7 @@ CreateVID: auth_GenerateVID_to_test_hotlist_Perpetual_sid: endPoint: /idrepository/v1/vid + description: generate Perpetual VID to test Hotlist api role: idrepo restMethod: post inputTemplate: ida/CreateVID/createVid @@ -52,6 +55,7 @@ CreateVID: auth_GenerateVID_All_Valid_Smoke_Temp_VID_sid: endPoint: /idrepository/v1/vid + description: generate Temporary VID for authentication role: idrepo restMethod: post inputTemplate: ida/CreateVID/createVid diff --git a/apitest/src/main/resources/ida/CreateVID/createVid.hbs b/api-test/src/main/resources/ida/CreateVID/createVid.hbs similarity index 100% rename from apitest/src/main/resources/ida/CreateVID/createVid.hbs rename to api-test/src/main/resources/ida/CreateVID/createVid.hbs diff --git a/apitest/src/main/resources/ida/CreateVID/createVidResult.hbs b/api-test/src/main/resources/ida/CreateVID/createVidResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/CreateVID/createVidResult.hbs rename to api-test/src/main/resources/ida/CreateVID/createVidResult.hbs diff --git a/apitest/src/main/resources/ida/DeactivateUin/DeactivateUin.yml b/api-test/src/main/resources/ida/DeactivateUin/DeactivateUin.yml similarity index 87% rename from apitest/src/main/resources/ida/DeactivateUin/DeactivateUin.yml rename to api-test/src/main/resources/ida/DeactivateUin/DeactivateUin.yml index 763343d6c19..0bb66bd6644 100644 --- a/apitest/src/main/resources/ida/DeactivateUin/DeactivateUin.yml +++ b/api-test/src/main/resources/ida/DeactivateUin/DeactivateUin.yml @@ -1,6 +1,7 @@ DeactivateUINs: auth_DeactivateUINs_Smoke_Pos: endPoint: /idrepository/v1/vid/deactivate + description: deactivate all VID which is generated from UIN role: resident restMethod: post inputTemplate: ida/DeactivateUin/deactivateUin diff --git a/apitest/src/main/resources/ida/DeactivateUin/deactivateUin.hbs b/api-test/src/main/resources/ida/DeactivateUin/deactivateUin.hbs similarity index 100% rename from apitest/src/main/resources/ida/DeactivateUin/deactivateUin.hbs rename to api-test/src/main/resources/ida/DeactivateUin/deactivateUin.hbs diff --git a/apitest/src/main/resources/ida/DeactivateUin/deactivateUinResult.hbs b/api-test/src/main/resources/ida/DeactivateUin/deactivateUinResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/DeactivateUin/deactivateUinResult.hbs rename to api-test/src/main/resources/ida/DeactivateUin/deactivateUinResult.hbs diff --git a/apitest/src/main/resources/ida/DemoAuth/DemoAuth.hbs b/api-test/src/main/resources/ida/DemoAuth/DemoAuth.hbs similarity index 100% rename from apitest/src/main/resources/ida/DemoAuth/DemoAuth.hbs rename to api-test/src/main/resources/ida/DemoAuth/DemoAuth.hbs diff --git a/apitest/src/main/resources/ida/DemoAuth/DemoAuth.yml b/api-test/src/main/resources/ida/DemoAuth/DemoAuth.yml similarity index 91% rename from apitest/src/main/resources/ida/DemoAuth/DemoAuth.yml rename to api-test/src/main/resources/ida/DemoAuth/DemoAuth.yml index a7630b2cb1a..b8cd94e7e62 100644 --- a/apitest/src/main/resources/ida/DemoAuth/DemoAuth.yml +++ b/api-test/src/main/resources/ida/DemoAuth/DemoAuth.yml @@ -1,6 +1,7 @@ DemoAuth: auth_DemoAuth_DOB_Valid_Smoke_UIN_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth diff --git a/apitest/src/main/resources/ida/DemoAuth/DemoAuth2.yml b/api-test/src/main/resources/ida/DemoAuth/DemoAuth2.yml similarity index 91% rename from apitest/src/main/resources/ida/DemoAuth/DemoAuth2.yml rename to api-test/src/main/resources/ida/DemoAuth/DemoAuth2.yml index 1885439c813..c481e71d84b 100644 --- a/apitest/src/main/resources/ida/DemoAuth/DemoAuth2.yml +++ b/api-test/src/main/resources/ida/DemoAuth/DemoAuth2.yml @@ -1,6 +1,7 @@ DemoAuthNew: auth_DemoAuth_DOB_Valid_Smoke_UIN: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -24,6 +25,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_InValid_UIN_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and invalid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -47,6 +49,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_SpaceValue_UIN_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valdi dob and with space value in UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -70,6 +73,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_Valid_Smoke_VID_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob with valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -93,6 +97,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_Valid_Smoke_with_updated_edited_policy_VID_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob with perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -116,6 +121,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_Valid_Smoke_VID_invalid_transaction_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob with invalid transactionId role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -139,6 +145,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_Valid_Smoke_Infant_Uin_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using dob with infant UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -163,6 +170,7 @@ DemoAuthNew: auth_DemoAuth_DOB_Valid_Smoke_Infant_Uin_which_locked_for_demo_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and locked infant UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -187,6 +195,7 @@ DemoAuthNew: auth_DemoAuth_DOB_Invalid_Past_Timestamp_VID_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob,valid VID and past timestamp role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -211,6 +220,7 @@ DemoAuthNew: auth_DemoAuth_DOB_Invalid_Future_Timestamp_VID_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob,valid VID and future timestamp role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -235,6 +245,7 @@ DemoAuthNew: auth_DemoAuth_DOB_Empty_Timestamp_VID_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob,valid VID and empty timestamp role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -259,6 +270,7 @@ DemoAuthNew: auth_DemoAuth_DOB_InValid_uin_Dateofbirth: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid dob and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -282,6 +294,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_InValid_Dateofbirth_with_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid dob and valid VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -305,6 +318,7 @@ DemoAuthNew: }' auth_DemoAuth_Email_Valid_Smoke_Pos_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using email with valid VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -329,6 +343,7 @@ DemoAuthNew: auth_DemoAuth_Email_Invalid_Past_Timestamp_VID_Neg_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using email with valid VID and past timestamp role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -353,6 +368,7 @@ DemoAuthNew: auth_DemoAuth_Email_Invalid_Future_Timestamp_VID_Neg_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth with email using valid VID and future timestamp role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -377,6 +393,7 @@ DemoAuthNew: auth_DemoAuth_Email_Valid_Smoke_Poss_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth with email using valid VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -400,6 +417,7 @@ DemoAuthNew: }' auth_DemoAuth_Email_InValid_uin_Email: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth with invalid email using valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -423,6 +441,7 @@ DemoAuthNew: }' auth_DemoAuth_Email_InValid_Email_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth with invalid email using valid VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -446,6 +465,7 @@ DemoAuthNew: }' auth_DemoAuth_gender_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid gender and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -473,6 +493,7 @@ DemoAuthNew: }' auth_DemoAuth_gender_InValid_LangCode: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid gender,invalid lang code and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoIdentityEncryptGender @@ -500,6 +521,7 @@ DemoAuthNew: }' auth_DemoAuth_gender_InValid_Gender_Invalid_RS: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid gender,invalid residence status and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -533,6 +555,7 @@ DemoAuthNew: }' auth_DemoAuth_gender_Valid_Gender_Invalid_RS: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid gender, invalid residence status and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -566,6 +589,7 @@ DemoAuthNew: }' auth_DemoAuth_gender_InValid_Gender_valid_RS: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid gender ,valid residence status and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -599,6 +623,7 @@ DemoAuthNew: }' auth_DemoAuth_gender_InValid_Gender_valid_RS_with_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid gender,valid residence status and valid VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -632,6 +657,7 @@ DemoAuthNew: }' auth_DemoAuth_gender_Valid_Gender_valid_RS_with_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid gender,valid residence status and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -665,6 +691,7 @@ DemoAuthNew: }' auth_DemoAuth_gender_InValid_Lang_Valid_Gender: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid gender,invalid language code and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoIdentityEncryptGender @@ -692,6 +719,7 @@ DemoAuthNew: }' auth_DemoAuth_gender_Valid_Smoke_Pos_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid gender and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -719,6 +747,7 @@ DemoAuthNew: }' auth_DemoAuth_gender_Valid_Smoke_Pos_VID_with_RS_DOB: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -742,6 +771,7 @@ DemoAuthNew: }' auth_DemoAuth_gender_Valid_Smoke_Pos_Temp_VID_with_RS_DOB: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and valid temporary VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -765,6 +795,7 @@ DemoAuthNew: }' auth_DemoAuth_gender_InValid_LangCode_with_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid gender language code and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoIdentityEncryptGender @@ -792,6 +823,7 @@ DemoAuthNew: }' auth_DemoAuth_InValid_gender_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid gender and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoIdentityEncryptGender @@ -819,6 +851,7 @@ DemoAuthNew: }' auth_DemoAuth_InValid_uin_gender: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid gender and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoIdentityEncryptGender @@ -846,6 +879,7 @@ DemoAuthNew: }' auth_DemoAuth_Name_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -873,6 +907,7 @@ DemoAuthNew: }' auth_DemoAuth_same_Name1_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -900,6 +935,7 @@ DemoAuthNew: }' auth_DemoAuth_same_Name2_Valid_titleFromAdmin_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name with title and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -927,6 +963,7 @@ DemoAuthNew: }' auth_DemoAuth_same_Name3_Valid_titleFromAdmin_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name with title and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -954,6 +991,7 @@ DemoAuthNew: }' auth_DemoAuth_same_Name4_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using name and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -981,6 +1019,7 @@ DemoAuthNew: }' auth_DemoAuth_same_Name5_Valid_titleFromAdmin_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using name with title and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1008,6 +1047,7 @@ DemoAuthNew: }' auth_DemoAuth_same_Name6_Valid_titleFromAdmin_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name with title and UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1035,6 +1075,7 @@ DemoAuthNew: }' auth_DemoAuth_same_Name7_Valid_titleFromAdmin_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using name with title and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1062,6 +1103,7 @@ DemoAuthNew: }' auth_DemoAuth_Name_Valid_Smoke_VID_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1089,6 +1131,7 @@ DemoAuthNew: }' auth_DemoAuth_InValid_uin_name: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid name and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1116,6 +1159,7 @@ DemoAuthNew: }' auth_DemoAuth_InValid_Name_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid name and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1143,6 +1187,7 @@ DemoAuthNew: }' auth_DemoAuth_age_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid age and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1166,6 +1211,7 @@ DemoAuthNew: }' auth_DemoAuth_age_Valid_Smoke_VID_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid age and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1189,6 +1235,7 @@ DemoAuthNew: }' auth_DemoAuth_invalid_age_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid age and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1212,6 +1259,7 @@ DemoAuthNew: }' auth_DemoAuth_age_InValid_uin: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid age and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1235,6 +1283,7 @@ DemoAuthNew: }' auth_DemoAuth_PhoneNumber_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid phone number and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1258,6 +1307,7 @@ DemoAuthNew: }' auth_DemoAuth_PhoneNumber_InValid_uin_PhoneNumber: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid phone number and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1281,6 +1331,7 @@ DemoAuthNew: }' auth_DemoAuth_PhoneNumber_InValid_PhoneNumber_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid phone number and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1304,6 +1355,7 @@ DemoAuthNew: }' auth_DemoAuth_PhoneNumber__with_Valid_TVID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid phone number and valid temporary VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1327,6 +1379,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_InValid_individualId_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and invalid VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1350,6 +1403,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_Missing_individualId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and without individualId role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1373,6 +1427,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_Blank_individualId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and blank individualId role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1396,6 +1451,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_Invalid_transactionId_uin_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob,invalid transactionId and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1419,6 +1475,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_Blank_transactionId_uin_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob,blank transactionId and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1442,6 +1499,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_Unlock_Valid_Smoke_UIN_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and with locked UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1466,6 +1524,7 @@ DemoAuthNew: auth_DemoAuth_DOB_Lock_Permanent_Valid_UIN_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and on locking UIN permanently role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1489,6 +1548,7 @@ DemoAuthNew: }' auth_DemoAuth_revoke_vid_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using revoked VID role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1512,6 +1572,7 @@ DemoAuthNew: }' auth_DemoAuth_dummy_partnerkey_uin_Pos: endPoint: /idauthentication/v1/auth/zY22wDwZxwMdlxTZRWrM50m4zBoOiMyUGY/45362768/27822828287 + description: Demo auth using dummy parterner key and using valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1536,6 +1597,7 @@ DemoAuthNew: auth_DemoAuth_DOB_Unlock_AllValid_UIN_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob on locking UIN and unlocking demo auth role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1559,6 +1621,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_Lock_Permanent_AllValid_UIN_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and with locked UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1582,6 +1645,7 @@ DemoAuthNew: }' auth_DemoAuth_with_Deactivated_UIN: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using deactivated UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1605,6 +1669,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_Valid_Smoke_with_Draft_UIN_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using dob with drafted UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1658,6 +1723,7 @@ DemoAuthNew: #}' auth_DemoAuthValid_with_phone: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid phone and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1681,6 +1747,7 @@ DemoAuthNew: }' auth_DemoAuthValid_with_firstName: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using first name and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoAuth @@ -1708,6 +1775,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_Valid_Smoke_with_invalid_certs: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and invalid certs role: resident restMethod: post allowedErrorCodes: Internal Server Error @@ -1732,6 +1800,7 @@ DemoAuthNew: }' auth_DemoAuth_DOB_with_invalid_certs_and_invalid_vid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob,invalid certs and invalid perpetual VID role: resident restMethod: post allowedErrorCodes: Internal Server Error @@ -1756,6 +1825,7 @@ DemoAuthNew: }' auth_DemoAuth_gender_IRIS_as_true_anddo_auth_policy: endPoint: /idauthentication/v1/auth/$UpdatedPartnerKeyURL$ + description: Demo auth using valid gender with incorrect individualId type role: resident restMethod: post inputTemplate: ida/DemoAuth/DemoIdentityEncryptGender diff --git a/apitest/src/main/resources/ida/DemoAuth/DemoAuthResult.hbs b/api-test/src/main/resources/ida/DemoAuth/DemoAuthResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/DemoAuth/DemoAuthResult.hbs rename to api-test/src/main/resources/ida/DemoAuth/DemoAuthResult.hbs diff --git a/apitest/src/main/resources/ida/DemoAuth/DemoIdentityEncrypt.hbs b/api-test/src/main/resources/ida/DemoAuth/DemoIdentityEncrypt.hbs similarity index 100% rename from apitest/src/main/resources/ida/DemoAuth/DemoIdentityEncrypt.hbs rename to api-test/src/main/resources/ida/DemoAuth/DemoIdentityEncrypt.hbs diff --git a/apitest/src/main/resources/ida/DemoAuth/DemoIdentityEncryptGender.hbs b/api-test/src/main/resources/ida/DemoAuth/DemoIdentityEncryptGender.hbs similarity index 100% rename from apitest/src/main/resources/ida/DemoAuth/DemoIdentityEncryptGender.hbs rename to api-test/src/main/resources/ida/DemoAuth/DemoIdentityEncryptGender.hbs diff --git a/apitest/src/main/resources/ida/DemoAuth/DemoIdentityEncryptGenderRS.hbs b/api-test/src/main/resources/ida/DemoAuth/DemoIdentityEncryptGenderRS.hbs similarity index 100% rename from apitest/src/main/resources/ida/DemoAuth/DemoIdentityEncryptGenderRS.hbs rename to api-test/src/main/resources/ida/DemoAuth/DemoIdentityEncryptGenderRS.hbs diff --git a/apitest/src/main/resources/ida/DemoAuth/DemoIdentityEncryptName.hbs b/api-test/src/main/resources/ida/DemoAuth/DemoIdentityEncryptName.hbs similarity index 100% rename from apitest/src/main/resources/ida/DemoAuth/DemoIdentityEncryptName.hbs rename to api-test/src/main/resources/ida/DemoAuth/DemoIdentityEncryptName.hbs diff --git a/apitest/src/main/resources/ida/DemoAuth/error.hbs b/api-test/src/main/resources/ida/DemoAuth/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/DemoAuth/error.hbs rename to api-test/src/main/resources/ida/DemoAuth/error.hbs diff --git a/apitest/src/main/resources/ida/DemoAuthOld/DemoAuth.yml b/api-test/src/main/resources/ida/DemoAuthOld/DemoAuth.yml similarity index 91% rename from apitest/src/main/resources/ida/DemoAuthOld/DemoAuth.yml rename to api-test/src/main/resources/ida/DemoAuthOld/DemoAuth.yml index fe0e98991d3..e3f3c351ddc 100644 --- a/apitest/src/main/resources/ida/DemoAuthOld/DemoAuth.yml +++ b/api-test/src/main/resources/ida/DemoAuthOld/DemoAuth.yml @@ -1,6 +1,7 @@ DemoAuth: auth_DemoAuth_DOB_Valid_Smoke_UIN_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -24,6 +25,7 @@ DemoAuth: }' auth_DemoAuth_DOB_Valid_Smoke_VID_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -47,6 +49,7 @@ DemoAuth: }' auth_DemoAuth_DOB_InValid_Dateofbirth: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid date of birth format with valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -76,6 +79,7 @@ DemoAuth: }' auth_DemoAuth_DOB_InValid_Dateofbirth_with_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid date of birth format with perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -105,6 +109,7 @@ DemoAuth: }' auth_DemoAuth_Email_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid email and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -128,6 +133,7 @@ DemoAuth: }' auth_DemoAuth_Email_Valid_Smoke_Pos_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid email and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -151,6 +157,7 @@ DemoAuth: }' auth_DemoAuth_Email_InValid_Email: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid email and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -180,6 +187,7 @@ DemoAuth: }' auth_DemoAuth_Email_InValid_Email_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid email and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -209,6 +217,7 @@ DemoAuth: }' auth_DemoAuth_gender_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid gender and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -236,6 +245,7 @@ DemoAuth: }' auth_DemoAuth_gender_Valid_Smoke_Pos_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using gender and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -263,6 +273,7 @@ DemoAuth: }' auth_DemoAuth_InValid_gender_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid gender value and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -296,6 +307,7 @@ DemoAuth: }' auth_DemoAuth_InValid_gender: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid gender value and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -329,6 +341,7 @@ DemoAuth: }' auth_DemoAuth_Name_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -356,6 +369,7 @@ DemoAuth: }' auth_DemoAuth_same_Name1_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -383,6 +397,7 @@ DemoAuth: }' auth_DemoAuth_same_Name2_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name and valdi UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -410,6 +425,7 @@ DemoAuth: }' auth_DemoAuth_same_Name3_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -437,6 +453,7 @@ DemoAuth: }' auth_DemoAuth_same_Name4_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -464,6 +481,7 @@ DemoAuth: }' auth_DemoAuth_same_Name5_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name with title and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -491,6 +509,7 @@ DemoAuth: }' auth_DemoAuth_same_Name6_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name with title and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -518,6 +537,7 @@ DemoAuth: }' auth_DemoAuth_same_Name7_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name with title and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -545,6 +565,7 @@ DemoAuth: }' auth_DemoAuth_Name_Valid_Smoke_VID_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid name and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -572,6 +593,7 @@ DemoAuth: }' auth_DemoAuth_InValid_name: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid name and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -605,6 +627,7 @@ DemoAuth: }' auth_DemoAuth_InValid_Name_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid name and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -638,6 +661,7 @@ DemoAuth: }' auth_DemoAuth_age_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid age and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -661,6 +685,7 @@ DemoAuth: }' auth_DemoAuth_age_Valid_Smoke_VID_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid age and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -684,6 +709,7 @@ DemoAuth: }' auth_DemoAuth_invalid_age_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid age and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -713,6 +739,7 @@ DemoAuth: }' auth_DemoAuth_age_InValid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid age and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -742,6 +769,7 @@ DemoAuth: }' auth_DemoAuth_PhoneNumber_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid phone number and valid perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -765,6 +793,7 @@ DemoAuth: }' auth_DemoAuth_PhoneNumber_InValid_PhoneNumber: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid phone number and valid UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -794,6 +823,7 @@ DemoAuth: }' auth_DemoAuth_PhoneNumber_InValid_PhoneNumber_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using invalid phone number and valdi perpetual VID role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -823,6 +853,7 @@ DemoAuth: }' auth_DemoAuth_PhoneNumber__with_Valid_TVID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid phone number and valid temporary VID role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -846,6 +877,7 @@ DemoAuth: }' auth_DemoAuth_DOB_InValid_individualId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and invalid individualId role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -875,6 +907,7 @@ DemoAuth: }' auth_DemoAuth_DOB_Missing_individualId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid DOB and without individualId field role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -904,6 +937,7 @@ DemoAuth: }' auth_DemoAuth_DOB_Blank_individualId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and blank individualId role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -933,6 +967,7 @@ DemoAuth: }' auth_DemoAuth_DOB_Invalid_individualIdType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and invalid individualId type role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -962,6 +997,7 @@ DemoAuth: }' auth_DemoAuth_DOB_Blank_individualIdType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valdi dob and blank individualId type role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -991,6 +1027,7 @@ DemoAuth: }' auth_DemoAuth_DOB_Missing_ Optional_Field_individualIdType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and missing individualId type field role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -1014,6 +1051,7 @@ DemoAuth: }' auth_DemoAuth_DOB_Invalid_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and invalid transactionId role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -1043,6 +1081,7 @@ DemoAuth: }' auth_DemoAuth_DOB_Blank_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and blank transactionId with UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -1072,6 +1111,7 @@ DemoAuth: }' auth_DemoAuth_without_individual_type_ID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and blank individualId type role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -1101,6 +1141,7 @@ DemoAuth: }' auth_DemoAuth_with_missing_individual_type_ID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob, blank transactionId and without individualIdType role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -1130,6 +1171,7 @@ DemoAuth: }' auth_DemoAuth_DOB_Unlock_Valid_Smoke_UIN_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and unlocked UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -1154,6 +1196,7 @@ DemoAuth: auth_DemoAuth_DOB_Lock_Permanent_Valid_Smoke_UIN_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob and with permanently locked UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -1183,6 +1226,7 @@ DemoAuth: }' auth_DemoAuth_revoke_vid_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth using valid dob with revoked VID role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -1212,6 +1256,7 @@ DemoAuth: }' auth_DemoAuth_dummy_partnerkey_Pos: endPoint: /idauthentication/v1/auth/zY22wDwZxwMdlxTZRWrM50m4zBoOiMyUGY/45362768/27822828287 + description: Demo auth using dummy partner key role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -1246,6 +1291,7 @@ DemoAuth: auth_DemoAuth_DOB_Unlock_AllValid_Smoke_UIN_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth with unlocked UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth @@ -1270,6 +1316,7 @@ DemoAuth: auth_DemoAuth_DOB_Lock_Permanent_AllValid_Smoke_UIN_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Demo auth with permanently locked UIN role: resident restMethod: post inputTemplate: ida/DemoAuth/demoAuth diff --git a/apitest/src/main/resources/ida/DemoAuthOld/DemoIdentityEncrypt.hbs b/api-test/src/main/resources/ida/DemoAuthOld/DemoIdentityEncrypt.hbs similarity index 100% rename from apitest/src/main/resources/ida/DemoAuthOld/DemoIdentityEncrypt.hbs rename to api-test/src/main/resources/ida/DemoAuthOld/DemoIdentityEncrypt.hbs diff --git a/apitest/src/main/resources/ida/DemoAuthOld/DemoIdentityEncryptGender.hbs b/api-test/src/main/resources/ida/DemoAuthOld/DemoIdentityEncryptGender.hbs similarity index 100% rename from apitest/src/main/resources/ida/DemoAuthOld/DemoIdentityEncryptGender.hbs rename to api-test/src/main/resources/ida/DemoAuthOld/DemoIdentityEncryptGender.hbs diff --git a/apitest/src/main/resources/ida/DemoAuthOld/DemoIdentityEncryptName.hbs b/api-test/src/main/resources/ida/DemoAuthOld/DemoIdentityEncryptName.hbs similarity index 100% rename from apitest/src/main/resources/ida/DemoAuthOld/DemoIdentityEncryptName.hbs rename to api-test/src/main/resources/ida/DemoAuthOld/DemoIdentityEncryptName.hbs diff --git a/apitest/src/main/resources/ida/DemoAuthOld/demoAuth.hbs b/api-test/src/main/resources/ida/DemoAuthOld/demoAuth.hbs similarity index 100% rename from apitest/src/main/resources/ida/DemoAuthOld/demoAuth.hbs rename to api-test/src/main/resources/ida/DemoAuthOld/demoAuth.hbs diff --git a/apitest/src/main/resources/ida/DemoAuthOld/demoAuthResult.hbs b/api-test/src/main/resources/ida/DemoAuthOld/demoAuthResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/DemoAuthOld/demoAuthResult.hbs rename to api-test/src/main/resources/ida/DemoAuthOld/demoAuthResult.hbs diff --git a/apitest/src/main/resources/ida/DemoAuthOld/error.hbs b/api-test/src/main/resources/ida/DemoAuthOld/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/DemoAuthOld/error.hbs rename to api-test/src/main/resources/ida/DemoAuthOld/error.hbs diff --git a/apitest/src/main/resources/ida/EkycBio/EkycBio.hbs b/api-test/src/main/resources/ida/EkycBio/EkycBio.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycBio/EkycBio.hbs rename to api-test/src/main/resources/ida/EkycBio/EkycBio.hbs diff --git a/apitest/src/main/resources/ida/EkycBio/EkycBio.yml b/api-test/src/main/resources/ida/EkycBio/EkycBio.yml similarity index 96% rename from apitest/src/main/resources/ida/EkycBio/EkycBio.yml rename to api-test/src/main/resources/ida/EkycBio/EkycBio.yml index 131b29e0ef8..8d1ec8fbc4f 100644 --- a/apitest/src/main/resources/ida/EkycBio/EkycBio.yml +++ b/api-test/src/main/resources/ida/EkycBio/EkycBio.yml @@ -1,6 +1,7 @@ EkycBio: auth_EkycBio_Face_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio face auth using valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio diff --git a/apitest/src/main/resources/ida/EkycBio/EkycBio2.yml b/api-test/src/main/resources/ida/EkycBio/EkycBio2.yml similarity index 93% rename from apitest/src/main/resources/ida/EkycBio/EkycBio2.yml rename to api-test/src/main/resources/ida/EkycBio/EkycBio2.yml index 18876c5189b..8c1e8fd83b3 100644 --- a/apitest/src/main/resources/ida/EkycBio/EkycBio2.yml +++ b/api-test/src/main/resources/ida/EkycBio/EkycBio2.yml @@ -1,6 +1,7 @@ EkycBio: auth_EkycBio_Face_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio face auth using valid UIN role: resident kycFields: ["gender"] restMethod: post @@ -41,6 +42,7 @@ EkycBio: }' auth_EkycBio_Face_With_Valid_uin_with_updated_edited_policy_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio face auth using valid UIN with updated policy role: resident kycFields: ["gender"] restMethod: post @@ -81,6 +83,7 @@ EkycBio: }' auth_EkycBio_Face_With_Valid_Infant_uin_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio face auth with infant UIN role: resident restMethod: post inputTemplate: ida/EkycBio/EkycBio @@ -124,6 +127,7 @@ EkycBio: }' auth_EkycBio_Face_With_draft_uin_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio face auth using draft UIN role: resident kycFields: ["name"] restMethod: post @@ -164,6 +168,7 @@ EkycBio: }' auth_EkycBio_RingFinger_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using ring finger with valid UIN role: resident kycFields: ["dob"] restMethod: post @@ -204,6 +209,7 @@ EkycBio: }' auth_EkycBio_LeftMiddleFingerr_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left middle finger with valid UIN role: resident kycFields: ["email"] restMethod: post @@ -244,6 +250,7 @@ EkycBio: }' auth_EkycBio_LeftIndexFingerr_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left index finger with valid UIN role: resident kycFields: ["dob"] restMethod: post @@ -284,6 +291,7 @@ EkycBio: }' auth_EkycBio_LeftLittleFinger_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left little finger with valid UIN role: resident kycFields: ["gender"] restMethod: post @@ -324,6 +332,7 @@ EkycBio: }' auth_EkycBio_RightIndexFinger_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using right index finger with valid UIN role: resident kycFields: ["dob"] restMethod: post @@ -364,6 +373,7 @@ EkycBio: }' auth_EkycBio_RightRingFinger_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using right right finger with valid UIN role: resident kycFields: ["dob"] restMethod: post @@ -404,6 +414,7 @@ EkycBio: }' auth_EkycBio_RightMiddleFinger_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using right middle finger with valid UIN role: resident kycFields: ["email"] restMethod: post @@ -444,6 +455,7 @@ EkycBio: }' auth_EkycBio_RightLittleFinger_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using right little finger with valid UIN role: resident kycFields: ["gender"] restMethod: post @@ -484,6 +496,7 @@ EkycBio: }' auth_EkycBio_LeftThumb_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left thumb with valid UIN role: resident kycFields: ["dob"] restMethod: post @@ -524,6 +537,7 @@ EkycBio: }' auth_EkycBio_RightThumb_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using right thumb with valid UIN role: resident kycFields: ["dob"] restMethod: post @@ -564,6 +578,7 @@ EkycBio: }' auth_EkycBio_RightIris_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using right iris with valid UIN role: resident kycFields: ["gender"] restMethod: post @@ -604,6 +619,7 @@ EkycBio: }' auth_EkycBio_LeftIris_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris with valid UIN role: resident kycFields: ["email"] restMethod: post @@ -644,10 +660,11 @@ EkycBio: }' auth_EkycBio_Face_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio - outputTemplate: ida/EkycBio/ekycBioResult + inputTemplate: ida/EkycBio/EkycBio + outputTemplate: ida/EkycBio/EkycBioResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -683,10 +700,11 @@ EkycBio: }' auth_EkycBio_RingFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using ring finger with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio - outputTemplate: ida/EkycBio/ekycBioResult + inputTemplate: ida/EkycBio/EkycBio + outputTemplate: ida/EkycBio/EkycBioResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -722,10 +740,11 @@ EkycBio: }' auth_EkycBio_LeftMiddleFingerr_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left middle finger with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio - outputTemplate: ida/EkycBio/ekycBioResult + inputTemplate: ida/EkycBio/EkycBio + outputTemplate: ida/EkycBio/EkycBioResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -761,10 +780,11 @@ EkycBio: }' auth_EkycBio_LeftIndexFingerr_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left index finger with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio - outputTemplate: ida/EkycBio/ekycBioResult + inputTemplate: ida/EkycBio/EkycBio + outputTemplate: ida/EkycBio/EkycBioResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -800,10 +820,11 @@ EkycBio: }' auth_EkycBio_LeftLittleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left little finger with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio - outputTemplate: ida/EkycBio/ekycBioResult + inputTemplate: ida/EkycBio/EkycBio + outputTemplate: ida/EkycBio/EkycBioResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -839,10 +860,11 @@ EkycBio: }' auth_EkycBio_RightIndexFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using right index finger with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio - outputTemplate: ida/EkycBio/ekycBioResult + inputTemplate: ida/EkycBio/EkycBio + outputTemplate: ida/EkycBio/EkycBioResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -878,10 +900,11 @@ EkycBio: }' auth_EkycBio_RightRingFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using right ring finger with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio - outputTemplate: ida/EkycBio/ekycBioResult + inputTemplate: ida/EkycBio/EkycBio + outputTemplate: ida/EkycBio/EkycBioResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -917,10 +940,11 @@ EkycBio: }' auth_EkycBio_RightMiddleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using right middle finger with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio - outputTemplate: ida/EkycBio/ekycBioResult + inputTemplate: ida/EkycBio/EkycBio + outputTemplate: ida/EkycBio/EkycBioResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -956,10 +980,11 @@ EkycBio: }' auth_EkycBio_RightLittleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using right little finger with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio - outputTemplate: ida/EkycBio/ekycBioResult + inputTemplate: ida/EkycBio/EkycBio + outputTemplate: ida/EkycBio/EkycBioResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -995,10 +1020,11 @@ EkycBio: }' auth_EkycBio_LeftThumb_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left thumb with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio - outputTemplate: ida/EkycBio/ekycBioResult + inputTemplate: ida/EkycBio/EkycBio + outputTemplate: ida/EkycBio/EkycBioResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -1034,10 +1060,11 @@ EkycBio: }' auth_EkycBio_RightThumb_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using right thumb with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio - outputTemplate: ida/EkycBio/ekycBioResult + inputTemplate: ida/EkycBio/EkycBio + outputTemplate: ida/EkycBio/EkycBioResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -1073,10 +1100,11 @@ EkycBio: }' auth_EkycBio_RightIris_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using right iris with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio - outputTemplate: ida/EkycBio/ekycBioResult + inputTemplate: ida/EkycBio/EkycBio + outputTemplate: ida/EkycBio/EkycBioResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -1112,10 +1140,11 @@ EkycBio: }' auth_EkycBio_LeftIris_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio - outputTemplate: ida/EkycBio/ekycBioResult + inputTemplate: ida/EkycBio/EkycBio + outputTemplate: ida/EkycBio/EkycBioResult input: '{ "requestTime": "$TIMESTAMP$", "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", @@ -1151,9 +1180,10 @@ EkycBio: }' auth_EkycBio_inValid_transactionID_uin_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris with invalid trsansactionId and valdi UIN role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio + inputTemplate: ida/EkycBio/EkycBio outputTemplate: ida/EkycBio/errorCommon input: '{ "requestTime": "$TIMESTAMP$", @@ -1195,9 +1225,10 @@ EkycBio: }' auth_EkycBio_inValid_transactionID_vid_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris with invalid transactionId and valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio + inputTemplate: ida/EkycBio/EkycBio outputTemplate: ida/EkycBio/errorCommon input: '{ "requestTime": "$TIMESTAMP$", @@ -1238,9 +1269,10 @@ EkycBio: }' auth_EkycBio_blank_transactionID_uin_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris with blank transactionId and with valid UIN role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio + inputTemplate: ida/EkycBio/EkycBio outputTemplate: ida/EkycBio/errorCommon input: '{ "requestTime": "$TIMESTAMP$", @@ -1282,9 +1314,10 @@ EkycBio: }' auth_EkycBio_blank_transactionID_vid_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris with blank transactionId and valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio + inputTemplate: ida/EkycBio/EkycBio outputTemplate: ida/EkycBio/errorCommon input: '{ "requestTime": "$TIMESTAMP$", @@ -1326,6 +1359,7 @@ EkycBio: }' auth_EkycBio_with_revoked_VID: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth with revoked perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/EkycBio @@ -1369,6 +1403,7 @@ EkycBio: }' auth_EkycBio_invalid_uin_bioSubType: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using invalid bio sub type and with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/EkycBio @@ -1412,9 +1447,10 @@ EkycBio: }' auth_EkycBio_invalid_bioSubType_VID: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using invalid bio sub type and with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio + inputTemplate: ida/EkycBio/EkycBio outputTemplate: ida/EkycBio/errorCommon input: '{ "requestTime": "$TIMESTAMP$", @@ -1456,9 +1492,10 @@ EkycBio: }' auth_EkycBio_blank_uin_bioSubType: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris with blank bio sub type and with valid UIN role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio + inputTemplate: ida/EkycBio/EkycBio outputTemplate: ida/EkycBio/errorCommon input: '{ "requestTime": "$TIMESTAMP$", @@ -1500,9 +1537,10 @@ EkycBio: }' auth_EkycBio_blank_bioSubType_VID: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris with blank bio sub type and with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio + inputTemplate: ida/EkycBio/EkycBio outputTemplate: ida/EkycBio/errorCommon input: '{ "requestTime": "$TIMESTAMP$", @@ -1544,9 +1582,10 @@ EkycBio: }' auth_EkycBio_Blank_uin_bioType: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth with blank bio type with valid UIN role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio + inputTemplate: ida/EkycBio/EkycBio outputTemplate: ida/EkycBio/errorCommon input: '{ "requestTime": "$TIMESTAMP$", @@ -1588,9 +1627,10 @@ EkycBio: }' auth_EkycBio_Blank_bioType_VID: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth with blank bio type and with valid perpetual VID role: resident restMethod: post - inputTemplate: ida/EkycBio/ekycBio + inputTemplate: ida/EkycBio/EkycBio outputTemplate: ida/EkycBio/errorCommon input: '{ "requestTime": "$TIMESTAMP$", @@ -1632,6 +1672,7 @@ EkycBio: }' auth_EkycBio_Invalid_uin_bioType: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth with invalid bio type with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/EkycBio @@ -1675,6 +1716,7 @@ EkycBio: }' auth_EkycBio_Invalid_bioType_VID: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth with invalid bio type with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/EkycBio @@ -1718,6 +1760,7 @@ EkycBio: }' auth_EkycBio_Iris_With_Finger_uin_Invalid: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris with finger bio value with UIN role: resident restMethod: post inputTemplate: ida/EkycBio/EkycBio @@ -1761,6 +1804,7 @@ EkycBio: }' auth_EkycBio_Iris_With_Finger_Invalid_VID: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris with finger bio value and with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/EkycBio @@ -1804,6 +1848,7 @@ EkycBio: }' auth_EkycBio_Finger_With_IRIS_uin_Invalid: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using finger with iris bio value and with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/EkycBio @@ -1847,6 +1892,7 @@ EkycBio: }' auth_EkycBio_Finger_With_IRIS_Invalid_VID: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using finger with iris value and with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/EkycBio @@ -1890,6 +1936,7 @@ EkycBio: }' auth_EkycBio_Finger_With_dummy_partnerkey_vid: endPoint: /idauthentication/v1/kyc/zY22wDwZxwMdlxTZRWrM50m4zBoOiMyUGY/45362768/27822828287 + description: Ekyc bio auth using finger with dummy partnerkey and with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/EkycBio @@ -1936,6 +1983,7 @@ EkycBio: }' auth_EkycBio_Face_With_Deactivated_uin: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using face with deactivated UIN role: resident kycFields: ["email"] restMethod: post @@ -1980,6 +2028,7 @@ EkycBio: }' auth_EkycBio_Face_With_Valid_withoutkyc_attribute_in_policy: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using face without ekyc attribute in policy with valid UIN role: resident kycFields: ["email"] restMethod: post @@ -2020,6 +2069,7 @@ EkycBio: }' auth_EkycBio_LeftIris_With_InValid_timestamp: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris with invalid timestamp role: resident kycFields: ["gender"] restMethod: post @@ -2064,6 +2114,7 @@ EkycBio: }' auth_EkycBio_Face_With_InValid_DATETIME: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using face with invalid date time role: resident kycFields: ["gender"] restMethod: post @@ -2108,6 +2159,7 @@ EkycBio: }' auth_EkycBio_LeftIris_With_Valid_with_empty_env: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris with empty env role: resident kycFields: ["gender"] restMethod: post @@ -2148,6 +2200,7 @@ EkycBio: }' auth_EkycBio_LeftIris_With_Valid_with_blank_env: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris with blank env role: resident kycFields: ["gender"] restMethod: post @@ -2188,6 +2241,7 @@ EkycBio: }' auth_EkycBio_LeftIris_With_Valid_with_invalid_env: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris with invalid env role: resident kycFields: ["gender"] restMethod: post @@ -2228,6 +2282,7 @@ EkycBio: }' auth_EkycBio_LeftIris_With_Valid_without_env: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using left iris without env role: resident kycFields: ["gender"] restMethod: post @@ -2268,6 +2323,7 @@ EkycBio: }' auth_EkycBio_Face_With_Valid_With_space_in_domain: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using face with space in domain role: resident kycFields: ["gender"] restMethod: post @@ -2316,6 +2372,7 @@ EkycBio: }' auth_EkycBio_Face_Without_Empty_domain: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using face without domain role: resident kycFields: ["gender"] restMethod: post @@ -2364,6 +2421,7 @@ EkycBio: }' auth_EkycBio_Face_Without_domain: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc bio auth using face without domain value role: resident kycFields: ["gender"] restMethod: post @@ -2409,4 +2467,4 @@ EkycBio: "errorCode": "IDA-MLC-006" } ] -}' \ No newline at end of file +}' diff --git a/apitest/src/main/resources/ida/EkycBio/EkycBioIdentityEncrypt.hbs b/api-test/src/main/resources/ida/EkycBio/EkycBioIdentityEncrypt.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycBio/EkycBioIdentityEncrypt.hbs rename to api-test/src/main/resources/ida/EkycBio/EkycBioIdentityEncrypt.hbs diff --git a/apitest/src/main/resources/ida/EkycBio/EkycBioResult.hbs b/api-test/src/main/resources/ida/EkycBio/EkycBioResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycBio/EkycBioResult.hbs rename to api-test/src/main/resources/ida/EkycBio/EkycBioResult.hbs diff --git a/apitest/src/main/resources/ida/EkycBio/EkycBioWithDomain.hbs b/api-test/src/main/resources/ida/EkycBio/EkycBioWithDomain.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycBio/EkycBioWithDomain.hbs rename to api-test/src/main/resources/ida/EkycBio/EkycBioWithDomain.hbs diff --git a/apitest/src/main/resources/ida/EkycBio/error.hbs b/api-test/src/main/resources/ida/EkycBio/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycBio/error.hbs rename to api-test/src/main/resources/ida/EkycBio/error.hbs diff --git a/apitest/src/main/resources/ida/EkycBio/errorCommon.hbs b/api-test/src/main/resources/ida/EkycBio/errorCommon.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycBio/errorCommon.hbs rename to api-test/src/main/resources/ida/EkycBio/errorCommon.hbs diff --git a/apitest/src/main/resources/ida/EkycBioOld/EkycBioIdentityEncrypt.hbs b/api-test/src/main/resources/ida/EkycBioOld/EkycBioIdentityEncrypt.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycBioOld/EkycBioIdentityEncrypt.hbs rename to api-test/src/main/resources/ida/EkycBioOld/EkycBioIdentityEncrypt.hbs diff --git a/apitest/src/main/resources/ida/EkycBioOld/EkycBioOld.yml b/api-test/src/main/resources/ida/EkycBioOld/EkycBioOld.yml similarity index 95% rename from apitest/src/main/resources/ida/EkycBioOld/EkycBioOld.yml rename to api-test/src/main/resources/ida/EkycBioOld/EkycBioOld.yml index 4e66e094884..251e5ea565e 100644 --- a/apitest/src/main/resources/ida/EkycBioOld/EkycBioOld.yml +++ b/api-test/src/main/resources/ida/EkycBioOld/EkycBioOld.yml @@ -1,6 +1,7 @@ EkycBio: auth_EkycBio_Face_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using face with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -39,6 +40,7 @@ EkycBio: }' auth_EkycBio_RingFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using ring finger with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -77,6 +79,7 @@ EkycBio: }' auth_EkycBio_LeftMiddleFingerr_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using left middle finger with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -115,6 +118,7 @@ EkycBio: }' auth_EkycBio_LeftIndexFingerr_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using left index finger with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -153,6 +157,7 @@ EkycBio: }' auth_EkycBio_LeftLittleFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using left little finger with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -191,6 +196,7 @@ EkycBio: }' auth_EkycBio_RightIndexFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using right index finger with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -229,6 +235,7 @@ EkycBio: }' auth_EkycBio_RightRingFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using right ring finger with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -267,6 +274,7 @@ EkycBio: }' auth_EkycBio_RightMiddleFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using right middle finger with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -305,6 +313,7 @@ EkycBio: }' auth_EkycBio_RightLittleFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using right little finger with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -343,6 +352,7 @@ EkycBio: }' auth_EkycBio_LeftThumb_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using left thumb with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -381,6 +391,7 @@ EkycBio: }' auth_EkycBio_RightThumb_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using right thumb with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -419,6 +430,7 @@ EkycBio: }' auth_EkycBio_RightIris_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using right iris with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -457,6 +469,7 @@ EkycBio: }' auth_EkycBio_LeftIris_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using left iris with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -495,6 +508,7 @@ EkycBio: }' auth_EkycBio_Face_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using face with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -533,6 +547,7 @@ EkycBio: }' auth_EkycBio_RingFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using ring finger with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -571,6 +586,7 @@ EkycBio: }' auth_EkycBio_LeftMiddleFingerr_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using left middle finger with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -609,6 +625,7 @@ EkycBio: }' auth_EkycBio_LeftIndexFingerr_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using left index finger with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -647,6 +664,7 @@ EkycBio: }' auth_EkycBio_LeftLittleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using left little finger with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -685,6 +703,7 @@ EkycBio: }' auth_EkycBio_RightIndexFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using right index finger with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -723,6 +742,7 @@ EkycBio: }' auth_EkycBio_RightRingFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using right ring finger with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -761,6 +781,7 @@ EkycBio: }' auth_EkycBio_RightMiddleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using right middle finger with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -799,6 +820,7 @@ EkycBio: }' auth_EkycBio_RightLittleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using right middle little finger with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -837,6 +859,7 @@ EkycBio: }' auth_EkycBio_LeftThumb_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using left thumb with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -875,6 +898,7 @@ EkycBio: }' auth_EkycBio_RightThumb_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using right thumb with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -913,6 +937,7 @@ EkycBio: }' auth_EkycBio_RightIris_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using right iris with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -951,6 +976,7 @@ EkycBio: }' auth_EkycBio_LeftIris_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using left iris with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -989,6 +1015,7 @@ EkycBio: }' auth_EkycBio_inValid_transactionID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth with invalid transactionId with valid UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1032,6 +1059,7 @@ EkycBio: }' auth_EkycBio_inValid_transactionID_vid: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth with invalid transactionId with valid perpetual VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1075,6 +1103,7 @@ EkycBio: }' auth_EkycBio_blank_transactionID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth with blank transactionId with UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1118,6 +1147,7 @@ EkycBio: }' auth_EkycBio_blank_transactionID_vid: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using blank transactionId with perpetual valid VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1161,6 +1191,7 @@ EkycBio: }' auth_EkycBio_inValid_individualIdType: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using invalid individualId Type with UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1204,6 +1235,7 @@ EkycBio: }' auth_EkycBio_inValid_individualIdType_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using invalid individualId type with VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1247,6 +1279,7 @@ EkycBio: }' auth_EkycBio_blank_individualIdType: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using blank individualId type with UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1290,6 +1323,7 @@ EkycBio: }' auth_EkycBio_blank_individualIdType_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using blank individualId type with VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1333,6 +1367,7 @@ EkycBio: }' auth_EkycBio_with_revoked_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using revoked VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1376,6 +1411,7 @@ EkycBio: }' auth_EkycBio_Missing_Optional_Field_individualIdType_smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth with missing individualId type field with UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1414,6 +1450,7 @@ EkycBio: }' auth_EkycBio_Missing_Optional_Field_individualIdType_smoke_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth with missing individualId type with VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1452,6 +1489,7 @@ EkycBio: }' auth_EkycBio_invalid_bioSubType: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth with invalid bio sub type with UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1495,6 +1533,7 @@ EkycBio: }' auth_EkycBio_invalid_bioSubType_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth with invalid bio sub type with VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1538,6 +1577,7 @@ EkycBio: }' auth_EkycBio_blank_bioSubType: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth with blank bio sub type with UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1581,6 +1621,7 @@ EkycBio: }' auth_EkycBio_blank_bioSubType_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth with blank bio sub type with VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1624,6 +1665,7 @@ EkycBio: }' auth_EkycBio_Blank_bioType: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using blank bio type with UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1667,6 +1709,7 @@ EkycBio: }' auth_EkycBio_Blank_bioType_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using blank bio type with VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1710,6 +1753,7 @@ EkycBio: }' auth_EkycBio_Missing_bioType: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth with missing bio type with UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1753,6 +1797,7 @@ EkycBio: }' auth_EkycBio_Missing_bioType_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth with missing bio type with VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1796,6 +1841,7 @@ EkycBio: }' auth_EkycBio_Invalid_bioType: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using invalid bio type with UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1839,6 +1885,7 @@ EkycBio: }' auth_EkycBio_Invalid_bioType_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using invalid bio type with VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1882,6 +1929,7 @@ EkycBio: }' auth_EkycBio_invalid_biovalue: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using invalid bio value with UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1925,6 +1973,7 @@ EkycBio: }' auth_EkycBio_invalid_biovalue_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using invalid bio value with VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -1968,6 +2017,7 @@ EkycBio: }' auth_EkycBio_Iris_With_FaceBio_Invalid: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using iris with face bio value with UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -2011,6 +2061,7 @@ EkycBio: }' auth_EkycBio_Iris_With_FaceBio_Invalid_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using iris with face bio value with VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -2054,6 +2105,7 @@ EkycBio: }' auth_EkycBio_Finger_With_FaceBio_Invalid: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using finger with face bio value with UIN role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -2097,6 +2149,7 @@ EkycBio: }' auth_EkycBio_Finger_With_FaceBio_Invalid_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc bio auth using finger with face bio value with VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio @@ -2140,6 +2193,7 @@ EkycBio: }' auth_EkycBio_Finger_With_dummy_partnerkey_Pos: endPoint: /idauthentication/v1/kyc/zY22wDwZxwMdlxTZRWrM50m4zBoOiMyUGY/45362768/27822828287 + description: Ekyc bio auth using finger with dummy partner key with VID role: resident restMethod: post inputTemplate: ida/EkycBio/ekycBio diff --git a/apitest/src/main/resources/ida/EkycBioOld/ekycBio.hbs b/api-test/src/main/resources/ida/EkycBioOld/ekycBio.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycBioOld/ekycBio.hbs rename to api-test/src/main/resources/ida/EkycBioOld/ekycBio.hbs diff --git a/apitest/src/main/resources/ida/EkycBioOld/ekycBioResult.hbs b/api-test/src/main/resources/ida/EkycBioOld/ekycBioResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycBioOld/ekycBioResult.hbs rename to api-test/src/main/resources/ida/EkycBioOld/ekycBioResult.hbs diff --git a/apitest/src/main/resources/ida/EkycBioOld/error.hbs b/api-test/src/main/resources/ida/EkycBioOld/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycBioOld/error.hbs rename to api-test/src/main/resources/ida/EkycBioOld/error.hbs diff --git a/apitest/src/main/resources/ida/EkycBioOld/errorCommon.hbs b/api-test/src/main/resources/ida/EkycBioOld/errorCommon.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycBioOld/errorCommon.hbs rename to api-test/src/main/resources/ida/EkycBioOld/errorCommon.hbs diff --git a/apitest/src/main/resources/ida/EkycDemo/DemoIdentityEncrypt.hbs b/api-test/src/main/resources/ida/EkycDemo/DemoIdentityEncrypt.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycDemo/DemoIdentityEncrypt.hbs rename to api-test/src/main/resources/ida/EkycDemo/DemoIdentityEncrypt.hbs diff --git a/apitest/src/main/resources/ida/EkycDemo/DemoIdentityEncryptGender.hbs b/api-test/src/main/resources/ida/EkycDemo/DemoIdentityEncryptGender.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycDemo/DemoIdentityEncryptGender.hbs rename to api-test/src/main/resources/ida/EkycDemo/DemoIdentityEncryptGender.hbs diff --git a/apitest/src/main/resources/ida/EkycDemo/DemoIdentityEncryptName.hbs b/api-test/src/main/resources/ida/EkycDemo/DemoIdentityEncryptName.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycDemo/DemoIdentityEncryptName.hbs rename to api-test/src/main/resources/ida/EkycDemo/DemoIdentityEncryptName.hbs diff --git a/apitest/src/main/resources/ida/EkycDemo/EkycDemo.hbs b/api-test/src/main/resources/ida/EkycDemo/EkycDemo.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycDemo/EkycDemo.hbs rename to api-test/src/main/resources/ida/EkycDemo/EkycDemo.hbs diff --git a/apitest/src/main/resources/ida/EkycDemo/EkycDemo.yml b/api-test/src/main/resources/ida/EkycDemo/EkycDemo.yml similarity index 93% rename from apitest/src/main/resources/ida/EkycDemo/EkycDemo.yml rename to api-test/src/main/resources/ida/EkycDemo/EkycDemo.yml index 147cba86d96..c6775bfbe65 100644 --- a/apitest/src/main/resources/ida/EkycDemo/EkycDemo.yml +++ b/api-test/src/main/resources/ida/EkycDemo/EkycDemo.yml @@ -1,6 +1,7 @@ EkycDemo: auth_EkycDemo_Auth_With_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo diff --git a/apitest/src/main/resources/ida/EkycDemo/EkycDemo2.yml b/api-test/src/main/resources/ida/EkycDemo/EkycDemo2.yml similarity index 92% rename from apitest/src/main/resources/ida/EkycDemo/EkycDemo2.yml rename to api-test/src/main/resources/ida/EkycDemo/EkycDemo2.yml index cbfd0755631..76f99a81e55 100644 --- a/apitest/src/main/resources/ida/EkycDemo/EkycDemo2.yml +++ b/api-test/src/main/resources/ida/EkycDemo/EkycDemo2.yml @@ -1,6 +1,7 @@ EkycDemo: auth_EkycDemo_Auth_With_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth using dob with UIN role: resident kycFields: ["gender"] restMethod: post @@ -25,6 +26,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_edited_updated_policy_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with dob using UIN role: resident kycFields: ["gender"] restMethod: post @@ -49,6 +51,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_draft_uin_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with dob using drafted UIN role: resident kycFields: ["name"] restMethod: post @@ -73,6 +76,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_Valid_VID_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with dob using VID role: resident kycFields: ["name"] restMethod: post @@ -98,6 +102,7 @@ EkycDemo: auth_EkycDemo_Auth_With_Invalid_Past_Timestamp_UIN_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with past time stamp using UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -122,6 +127,7 @@ EkycDemo: auth_EkycDemo_Auth_With_Invalid_Future_Timestamp_UIN_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with dob,future timestamp and with UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -146,6 +152,7 @@ EkycDemo: auth_EkycDemo_Auth_With_Invalid_Empty_Timestamp_UIN_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth using dob,empty timestamp and with UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -170,6 +177,7 @@ EkycDemo: auth_EkycDemo_Auth_With_Invalid_Past_Timestamp_VID_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth using dob,past time stamp and with VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -194,6 +202,7 @@ EkycDemo: auth_EkycDemo_Auth_With_Invalid_Future_Timestamp_VID_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth using dob,future timestamp and with VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -218,6 +227,7 @@ EkycDemo: auth_EkycDemo_Auth_With_Invalid_Empty_Timestamp_VID_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth using dob,empty timestamp and with VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -242,6 +252,7 @@ EkycDemo: auth_EkycDemo_Auth_With_InValid_uin_DOB: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth using invalid dob with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -270,6 +281,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_DOB_With_VID: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth using invalid dob with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -298,6 +310,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_email_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth using email and with valid UIN role: resident kycFields: ["dob"] restMethod: post @@ -322,6 +335,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_Email_Valid_VID_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth using email with VID role: resident kycFields: ["dob"] restMethod: post @@ -346,6 +360,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_uin_email: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth using invalid email and with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -374,6 +389,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_email_With_VID: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth using invalid email with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -402,6 +418,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_revoke_VID: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with revoked VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -430,6 +447,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_gender_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth using gender with UIN role: resident kycFields: ["email"] restMethod: post @@ -458,6 +476,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_gender_Valid_VID_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth using gender with VID role: resident kycFields: ["email"] restMethod: post @@ -486,6 +505,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_gender_With_VID: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth using invalid gender with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -518,6 +538,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_uin_gender: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with invalid gender with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -550,6 +571,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with valid name with UIN role: resident kycFields: ["dob"] restMethod: post @@ -578,6 +600,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_Infant_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with infant UIN role: resident kycFields: ["dob"] restMethod: post @@ -606,6 +629,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name_Valid_VID_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with name and with VID role: resident kycFields: ["dob"] restMethod: post @@ -634,6 +658,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_uin_name: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with invalid name value and with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -666,6 +691,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_name_With_VID: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with invalid name with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -698,6 +724,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name1_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with valid name and UIN role: resident kycFields: ["gender"] restMethod: post @@ -726,6 +753,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name2_Valid_titleFromAdmin_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with valid name and valid UIN role: resident kycFields: ["gender"] restMethod: post @@ -754,6 +782,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name3_Valid_titleFromAdmin_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with valid name and title with valid UIN role: resident kycFields: ["dob"] restMethod: post @@ -782,6 +811,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name4_Valid_titleFromAdmin_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with valid name and title with valid UIN role: resident kycFields: ["dob"] restMethod: post @@ -810,6 +840,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name5_Valid_titleFromAdmin_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with name and title with valid UIN role: resident kycFields: ["dob"] restMethod: post @@ -838,6 +869,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name6_Valid_titleFromAdmin_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with name and title with valid UIN role: resident kycFields: ["fullName"] checkErrorsOnlyInResponse: true @@ -867,6 +899,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name7_Valid_titleFromAdmin_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with name and title with valid UIN role: resident kycFields: ["fullName"] checkErrorsOnlyInResponse: true @@ -896,6 +929,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_partner_uin_Smoke: endPoint: /idauthentication/v1/kyc/zY22wDwZxwMdlxTZRWrM50m4zBoOiMyUGY/45362768/27822828287 + description: Ekyc demo auth with invalid partner with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -931,6 +965,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_age_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with age and valid UIN role: resident kycFields: ["fullName"] checkErrorsOnlyInResponse: true @@ -956,6 +991,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_age_Valid_VID_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with age and VID role: resident kycFields: ["email"] restMethod: post @@ -980,6 +1016,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_age_uin_InValid: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with invalid age value with UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -1008,6 +1045,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_Invalid_age_vid: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Skyc demo auth with invalid age value with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -1036,6 +1074,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_phone_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with phone and valid UIN role: resident kycFields: ["email"] restMethod: post @@ -1060,6 +1099,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_phone_Valid_VID_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with valid phone with VID role: resident kycFields: ["email"] restMethod: post @@ -1084,6 +1124,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_phone_uin_InValid: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with invalid phone with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -1112,6 +1153,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_Invalid_phone_vid: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with invalid phone and valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -1140,6 +1182,7 @@ EkycDemo: }' auth_EkycDemo_DOB_Invalid_transactionId_Pos_vid_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with DOB,invalid transactionId and valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -1163,6 +1206,7 @@ EkycDemo: }' auth_EkycDemo_DOB_blank_transactionId_vid_neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with dob,blank transactionId and with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -1186,6 +1230,7 @@ EkycDemo: }' auth_EkycDemo_without_individual_type_ID_Pos_vid: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth without individualId type and with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -1209,6 +1254,7 @@ EkycDemo: }' auth_EkycDemo_missing_individual_ID: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with missing individualId and with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -1237,6 +1283,7 @@ EkycDemo: }' auth_EkycDemo_blank_individual_ID: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with blank individualId and valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -1265,6 +1312,7 @@ EkycDemo: }' auth_EkycDemo_DOB_Unlock_Valid_Smoke_UIN_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with locked UIN,unlocked demo auth and with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -1293,6 +1341,7 @@ EkycDemo: }' auth_EkycDemo_DOB_Lock_Permanent_Valid_Smoke_UIN_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with permanently locked UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo @@ -1321,6 +1370,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_Deactivated_UIN: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc demo auth with deactivated UIN role: resident kycFields: ["gender"] restMethod: post @@ -1345,6 +1395,7 @@ EkycDemo: }' auth_EkycDemo_Auth_Without_kyc_attribute_in_policy_Smoke: endPoint: /idauthentication/v1/kyc/$UpdatedPartnerKeyURL$ + description: Ekyc demo auth without kyc attribute role: resident restMethod: post inputTemplate: ida/EkycDemo/EkycDemo diff --git a/apitest/src/main/resources/ida/EkycDemo/EkycDemoResult.hbs b/api-test/src/main/resources/ida/EkycDemo/EkycDemoResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycDemo/EkycDemoResult.hbs rename to api-test/src/main/resources/ida/EkycDemo/EkycDemoResult.hbs diff --git a/apitest/src/main/resources/ida/EkycDemo/error.hbs b/api-test/src/main/resources/ida/EkycDemo/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycDemo/error.hbs rename to api-test/src/main/resources/ida/EkycDemo/error.hbs diff --git a/apitest/src/main/resources/ida/EkycDemo/errorCommon.hbs b/api-test/src/main/resources/ida/EkycDemo/errorCommon.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycDemo/errorCommon.hbs rename to api-test/src/main/resources/ida/EkycDemo/errorCommon.hbs diff --git a/apitest/src/main/resources/ida/EkycDemoOld/DemoIdentityEncrypt.hbs b/api-test/src/main/resources/ida/EkycDemoOld/DemoIdentityEncrypt.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycDemoOld/DemoIdentityEncrypt.hbs rename to api-test/src/main/resources/ida/EkycDemoOld/DemoIdentityEncrypt.hbs diff --git a/apitest/src/main/resources/ida/EkycDemoOld/DemoIdentityEncryptGender.hbs b/api-test/src/main/resources/ida/EkycDemoOld/DemoIdentityEncryptGender.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycDemoOld/DemoIdentityEncryptGender.hbs rename to api-test/src/main/resources/ida/EkycDemoOld/DemoIdentityEncryptGender.hbs diff --git a/apitest/src/main/resources/ida/EkycDemoOld/DemoIdentityEncryptName.hbs b/api-test/src/main/resources/ida/EkycDemoOld/DemoIdentityEncryptName.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycDemoOld/DemoIdentityEncryptName.hbs rename to api-test/src/main/resources/ida/EkycDemoOld/DemoIdentityEncryptName.hbs diff --git a/apitest/src/main/resources/ida/EkycDemoOld/EkycDemo.yml b/api-test/src/main/resources/ida/EkycDemoOld/EkycDemo.yml similarity index 92% rename from apitest/src/main/resources/ida/EkycDemoOld/EkycDemo.yml rename to api-test/src/main/resources/ida/EkycDemoOld/EkycDemo.yml index 13cc628eddc..24b7266283c 100644 --- a/apitest/src/main/resources/ida/EkycDemoOld/EkycDemo.yml +++ b/api-test/src/main/resources/ida/EkycDemoOld/EkycDemo.yml @@ -1,6 +1,7 @@ EkycDemo: auth_EkycDemo_Auth_With_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -24,6 +25,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_Valid_VID_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -47,6 +49,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_DOB: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with invalid dob with UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -76,6 +79,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_DOB_With_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with invalid dob with VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -105,6 +109,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_email_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with valid email and valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -128,6 +133,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_Email_Valid_VID_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with valid email and valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -151,6 +157,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_email: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with invalid email and valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -180,6 +187,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_email_With_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with invalid email and valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -209,6 +217,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_revoke_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with revoked VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -238,6 +247,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_gender_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with gender and valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -265,6 +275,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_gender_Valid_VID_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with gender and valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -292,6 +303,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_gender_With_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with invalid gender with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -325,6 +337,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_gender: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with invalid gender and with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -358,6 +371,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with name and title with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -385,6 +399,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name_Valid_VID_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with name and title with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -412,6 +427,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_name: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with invalid name with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -445,6 +461,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_InValid_name_With_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with invalid name with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -478,6 +495,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name1_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with name and valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -505,6 +523,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name2_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with name and title with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -532,6 +551,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name3_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with name and title with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -559,6 +579,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name4_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with name and title with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -586,6 +607,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name5_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with name and title with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -613,6 +635,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name6_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with valid name and title with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -640,6 +663,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_name7_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with valid name and title with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -667,6 +691,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_ImValid_partner_Smoke: endPoint: /idauthentication/v1/kyc/zY22wDwZxwMdlxTZRWrM50m4zBoOiMyUGY/45362768/27822828287 + description: Ekyc demo auth with invalid partner role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -703,6 +728,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_age_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with age and valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -726,6 +752,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_age_Valid_VID_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with age and valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -749,6 +776,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_age_InValid: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with invalid age with valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -778,6 +806,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_Invalid_age: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with invalid age with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -807,6 +836,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_phone_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with phone and valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -830,6 +860,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_phone_Valid_VID_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with valid phone and valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -853,6 +884,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_phone_InValid: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with invalid phone and valid UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -882,6 +914,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_Invalid_phone_vid: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with invalid phone and valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -911,6 +944,7 @@ EkycDemo: }' auth_EkycDemo_DOB_Invalid_transactionId: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with valid dob and invalid transactionId with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -940,6 +974,7 @@ EkycDemo: }' auth_EkycDemo_DOB_blank_transactionId: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with valid dob,blank transactionId and with valid VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -969,6 +1004,7 @@ EkycDemo: }' auth_EkycDemo_without_individual_type_ID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with blank individualId type with VID role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -998,6 +1034,7 @@ EkycDemo: }' auth_EkycDemo_missing_individual_ID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with missing individualId role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -1027,6 +1064,7 @@ EkycDemo: }' auth_EkycDemo_blank_individual_ID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with blank individualId role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -1056,6 +1094,7 @@ EkycDemo: }' auth_EkycDemo_DOB_Unlock_Valid_Smoke_UIN_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with dob using unlocked UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo @@ -1079,6 +1118,7 @@ EkycDemo: }' auth_EkycDemo_DOB_Lock_Permanent_Valid_Smoke_UIN_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc demo auth with permanent locked UIN role: resident restMethod: post inputTemplate: ida/EkycDemo/ekycDemo diff --git a/apitest/src/main/resources/ida/EkycDemoOld/ekycDemo.hbs b/api-test/src/main/resources/ida/EkycDemoOld/ekycDemo.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycDemoOld/ekycDemo.hbs rename to api-test/src/main/resources/ida/EkycDemoOld/ekycDemo.hbs diff --git a/apitest/src/main/resources/ida/EkycDemoOld/ekycDemoResult.hbs b/api-test/src/main/resources/ida/EkycDemoOld/ekycDemoResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycDemoOld/ekycDemoResult.hbs rename to api-test/src/main/resources/ida/EkycDemoOld/ekycDemoResult.hbs diff --git a/apitest/src/main/resources/ida/EkycDemoOld/error.hbs b/api-test/src/main/resources/ida/EkycDemoOld/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycDemoOld/error.hbs rename to api-test/src/main/resources/ida/EkycDemoOld/error.hbs diff --git a/apitest/src/main/resources/ida/EkycDemoOld/errorCommon.hbs b/api-test/src/main/resources/ida/EkycDemoOld/errorCommon.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycDemoOld/errorCommon.hbs rename to api-test/src/main/resources/ida/EkycDemoOld/errorCommon.hbs diff --git a/apitest/src/main/resources/ida/EkycOtp/EkycOtp.hbs b/api-test/src/main/resources/ida/EkycOtp/EkycOtp.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycOtp/EkycOtp.hbs rename to api-test/src/main/resources/ida/EkycOtp/EkycOtp.hbs diff --git a/apitest/src/main/resources/ida/EkycOtp/EkycOtp.yml b/api-test/src/main/resources/ida/EkycOtp/EkycOtp.yml similarity index 95% rename from apitest/src/main/resources/ida/EkycOtp/EkycOtp.yml rename to api-test/src/main/resources/ida/EkycOtp/EkycOtp.yml index 04b2308e58a..4da673736c0 100644 --- a/apitest/src/main/resources/ida/EkycOtp/EkycOtp.yml +++ b/api-test/src/main/resources/ida/EkycOtp/EkycOtp.yml @@ -1,6 +1,7 @@ EkycOtp: auth_EkycOtp_Auth_With_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with valid UIN role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp diff --git a/apitest/src/main/resources/ida/EkycOtp/EkycOtp2.yml b/api-test/src/main/resources/ida/EkycOtp/EkycOtp2.yml similarity index 94% rename from apitest/src/main/resources/ida/EkycOtp/EkycOtp2.yml rename to api-test/src/main/resources/ida/EkycOtp/EkycOtp2.yml index 18e18524a40..aa3595e64be 100644 --- a/apitest/src/main/resources/ida/EkycOtp/EkycOtp2.yml +++ b/api-test/src/main/resources/ida/EkycOtp/EkycOtp2.yml @@ -1,9 +1,10 @@ EkycOtp: auth_EkycOtp_Auth_With_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with valid UIN role: resident restMethod: post - inputTemplate: ida/EkycOtp/ekycOtp + inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/ekycOtpResult input: '{ "otpChannel": "$ID:AddIdentity_Positive_EKYC_smoke_EMAIL$", @@ -35,6 +36,7 @@ EkycOtp: }' auth_EkycOtp_Auth_With_Valid__with_edited_updated_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with valid updated UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -70,6 +72,7 @@ EkycOtp: }' auth_EkycOtp_Auth_With_Infant_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with infant UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -105,6 +108,7 @@ EkycOtp: }' auth_EkycOtp_Auth_With_deactivate_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with deactivated UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -140,6 +144,7 @@ EkycOtp: }' auth_EkycOtp_Auth_With_draft_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with drafted UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -175,9 +180,10 @@ EkycOtp: }' auth_EkycOtp_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with valid VID role: resident restMethod: post - inputTemplate: ida/EkycOtp/ekycOtp + inputTemplate: ida/EkycOtp/EkycOtp outputTemplate: ida/EkycOtp/ekycOtpResult input: '{ "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", @@ -209,6 +215,7 @@ EkycOtp: }' auth_EkycOtp_Auth_With_Invalid_Past_Timestamp_UIN_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with past timestamp using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -244,6 +251,7 @@ EkycOtp: }' auth_EkycOtp_With_Invalid_Past_Timestamp_VID_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with past timestamp using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -280,6 +288,7 @@ EkycOtp: auth_EkycOtp_Auth_With_Invalid_Future_Timestamp_UIN_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with future timestamp using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -315,6 +324,7 @@ EkycOtp: }' auth_EkycOtp_With_Invalid_Future_Timestamp_VID_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with future timestamp using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -351,6 +361,7 @@ EkycOtp: auth_EkycOtp_Auth_With_Invalid_Empty_Timestamp_UIN_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with empty timestamp using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -386,6 +397,7 @@ EkycOtp: }' auth_EkycOtp_With_Invalid_Empty_Timestamp_VID_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with empty timestamp using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -421,6 +433,7 @@ EkycOtp: }' auth_EkycOtp_With_revoke_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with revoked VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -462,6 +475,7 @@ EkycOtp: }' auth_EkycOtp_With_Invalid_individualId_uin_neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with invalid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -503,6 +517,7 @@ EkycOtp: }' auth_EkycOtp_With_Invalid_individualId_VID_neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with invalid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -544,6 +559,7 @@ EkycOtp: }' auth_EkycOtp_With_Blank_individualId_uin_neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with blank individualId with individualId type as UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -584,6 +600,7 @@ EkycOtp: }' auth_EkycOtp_With_Blank_individualId_VID_neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with blank individualId with individualId type as VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -624,6 +641,7 @@ EkycOtp: }' auth_EkycOtp_With_Missing_individualId_uin_neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with missing individualId with UIN as individualId type role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -665,6 +683,7 @@ EkycOtp: }' auth_EkycOtp_With_Missing_individualId_VID_neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with missing individualId with VID as individualId type role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -706,6 +725,7 @@ EkycOtp: }' auth_EkycOtp_With_Invalid_transactionId_uin_Pos: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with invalid transactionId using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -741,6 +761,7 @@ EkycOtp: }' auth_EkycOtp_With_Invalid_transactionId_VID_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with invalid transactionId using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -776,6 +797,7 @@ EkycOtp: }' auth_EkycOtp_With_Blank_transactionId_uin_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with blank transactionId using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -811,6 +833,7 @@ EkycOtp: }' auth_EkycOtp_With_Blank_transactionId_VID_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with blank transactionId using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -846,6 +869,7 @@ EkycOtp: }' auth_EkycOtp_With_Invalid_individualIdType_VID_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with invalid individualId Type using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -881,6 +905,7 @@ EkycOtp: }' auth_EkycOtp_With_Blank_individualIdType_VID_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with blank individualId Type using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -916,6 +941,7 @@ EkycOtp: }' auth_EkycOtp_With_Different_transaction_id_VID_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with different transactionId using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -951,6 +977,7 @@ EkycOtp: }' auth_EkycOtp_With_Different_transaction_id_uin_Neg: endPoint: /idauthentication/v1/kyc/$ekycPartnerKeyURL$ + description: Ekyc otp auth with different transactionId using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -986,6 +1013,7 @@ EkycOtp: }' auth_EkycOtp_With_invalid_uin_partner: endPoint: /idauthentication/v1/kyc/$ekycPartnerKe + description: Ekyc otp auth with invalid partner using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post diff --git a/apitest/src/main/resources/ida/EkycOtp/EkycOtpResult.hbs b/api-test/src/main/resources/ida/EkycOtp/EkycOtpResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycOtp/EkycOtpResult.hbs rename to api-test/src/main/resources/ida/EkycOtp/EkycOtpResult.hbs diff --git a/apitest/src/main/resources/ida/EkycOtp/EkycotpIdentityEncrypt.json b/api-test/src/main/resources/ida/EkycOtp/EkycotpIdentityEncrypt.json similarity index 100% rename from apitest/src/main/resources/ida/EkycOtp/EkycotpIdentityEncrypt.json rename to api-test/src/main/resources/ida/EkycOtp/EkycotpIdentityEncrypt.json diff --git a/apitest/src/main/resources/ida/EkycOtp/error.hbs b/api-test/src/main/resources/ida/EkycOtp/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycOtp/error.hbs rename to api-test/src/main/resources/ida/EkycOtp/error.hbs diff --git a/apitest/src/main/resources/ida/EkycOtp/errorCommon.hbs b/api-test/src/main/resources/ida/EkycOtp/errorCommon.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycOtp/errorCommon.hbs rename to api-test/src/main/resources/ida/EkycOtp/errorCommon.hbs diff --git a/apitest/src/main/resources/ida/EkycOtp/sendOtp.hbs b/api-test/src/main/resources/ida/EkycOtp/sendOtp.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycOtp/sendOtp.hbs rename to api-test/src/main/resources/ida/EkycOtp/sendOtp.hbs diff --git a/apitest/src/main/resources/ida/EkycOtp/sendOtpRes.hbs b/api-test/src/main/resources/ida/EkycOtp/sendOtpRes.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycOtp/sendOtpRes.hbs rename to api-test/src/main/resources/ida/EkycOtp/sendOtpRes.hbs diff --git a/apitest/src/main/resources/ida/EkycOtpOld/EkycOtp.yml b/api-test/src/main/resources/ida/EkycOtpOld/EkycOtp.yml similarity index 94% rename from apitest/src/main/resources/ida/EkycOtpOld/EkycOtp.yml rename to api-test/src/main/resources/ida/EkycOtpOld/EkycOtp.yml index c1d71f9e6fe..36ba27f2d22 100644 --- a/apitest/src/main/resources/ida/EkycOtpOld/EkycOtp.yml +++ b/api-test/src/main/resources/ida/EkycOtpOld/EkycOtp.yml @@ -1,6 +1,7 @@ EkycOtp: auth_EkycOtp_Auth_With_Valid_UIN_Smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with valid UIN role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -34,6 +35,7 @@ EkycOtp: }' auth_EkycOtp_With_Missing_individualIdType_smoke: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with missing individualId Type role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -67,6 +69,7 @@ EkycOtp: }' auth_EkycOtp_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with valid VID role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -100,6 +103,7 @@ EkycOtp: }' auth_EkycOtp_With_revoke_VID_Smoke_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with revoked VID role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -138,6 +142,7 @@ EkycOtp: }' auth_EkycOtp_With_Invalid_individualId_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with invalid individualId with UIN as individualId type role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -176,6 +181,7 @@ EkycOtp: }' auth_EkycOtp_With_Invalid_individualId_VID_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with invalid individualId with VID as individualId type role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -214,6 +220,7 @@ EkycOtp: }' auth_EkycOtp_With_Blank_individualId_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with blank individualId using UIN role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -252,6 +259,7 @@ EkycOtp: }' auth_EkycOtp_With_Blank_individualId_VID_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with blank individualId using VID role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -290,6 +298,7 @@ EkycOtp: }' auth_EkycOtp_With_Missing_individualId_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with missing individualId using UIN role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -328,6 +337,7 @@ EkycOtp: }' auth_EkycOtp_With_Missing_individualId_VID_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with missing individualId using VID role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -366,6 +376,7 @@ EkycOtp: }' auth_EkycOtp_With_Invalid_transactionId_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with invalid transactionId using UIN role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -404,6 +415,7 @@ EkycOtp: }' auth_EkycOtp_With_Invalid_transactionId_VID_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with invalid transactionId using VID role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -442,6 +454,7 @@ EkycOtp: }' auth_EkycOtp_With_Blank_transactionId_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with blank transactionId using UIN role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -480,6 +493,7 @@ EkycOtp: }' auth_EkycOtp_With_Blank_transactionId_VID_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with blank transactionId using VID role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -518,6 +532,7 @@ EkycOtp: }' auth_EkycOtp_With_Invalid_individualIdType_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with invalid individualId type using UIN role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -556,6 +571,7 @@ EkycOtp: }' auth_EkycOtp_With_Invalid_individualIdType_VID_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with invalid individualId type using VID role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -594,6 +610,7 @@ EkycOtp: }' auth_EkycOtp_With_Blank_individualIdType_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with blank individualId type using UIN role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -632,6 +649,7 @@ EkycOtp: }' auth_EkycOtp_With_Blank_individualIdType_VID_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with blank individualId type using VID role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -670,6 +688,7 @@ EkycOtp: }' auth_EkycOtp_With_Different_transaction_id_VID_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with different transactionId using VID role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -708,6 +727,7 @@ EkycOtp: }' auth_EkycOtp_With_Different_transaction_id_uin_neg: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: Ekyc otp auth with different transactionId using UIN role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp @@ -746,6 +766,7 @@ EkycOtp: }' auth_EkycOtp_With_invalid_partner: endPoint: /idauthentication/v1/kyc/zY22wDwZxwMdlxTZRWrM50m4zBoOiMyUGY/45362768/27822828287 + description: Ekyc otp auth with invalid partner role: resident restMethod: post inputTemplate: ida/EkycOtp/ekycOtp diff --git a/apitest/src/main/resources/ida/EkycOtpOld/EkycotpIdentityEncrypt.json b/api-test/src/main/resources/ida/EkycOtpOld/EkycotpIdentityEncrypt.json similarity index 100% rename from apitest/src/main/resources/ida/EkycOtpOld/EkycotpIdentityEncrypt.json rename to api-test/src/main/resources/ida/EkycOtpOld/EkycotpIdentityEncrypt.json diff --git a/apitest/src/main/resources/ida/EkycOtpOld/ekycOtp.hbs b/api-test/src/main/resources/ida/EkycOtpOld/ekycOtp.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycOtpOld/ekycOtp.hbs rename to api-test/src/main/resources/ida/EkycOtpOld/ekycOtp.hbs diff --git a/apitest/src/main/resources/ida/EkycOtpOld/ekycOtpResult.hbs b/api-test/src/main/resources/ida/EkycOtpOld/ekycOtpResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycOtpOld/ekycOtpResult.hbs rename to api-test/src/main/resources/ida/EkycOtpOld/ekycOtpResult.hbs diff --git a/apitest/src/main/resources/ida/EkycOtpOld/error.hbs b/api-test/src/main/resources/ida/EkycOtpOld/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycOtpOld/error.hbs rename to api-test/src/main/resources/ida/EkycOtpOld/error.hbs diff --git a/apitest/src/main/resources/ida/EkycOtpOld/errorCommon.hbs b/api-test/src/main/resources/ida/EkycOtpOld/errorCommon.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycOtpOld/errorCommon.hbs rename to api-test/src/main/resources/ida/EkycOtpOld/errorCommon.hbs diff --git a/apitest/src/main/resources/ida/EkycOtpOld/sendOtp.hbs b/api-test/src/main/resources/ida/EkycOtpOld/sendOtp.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycOtpOld/sendOtp.hbs rename to api-test/src/main/resources/ida/EkycOtpOld/sendOtp.hbs diff --git a/apitest/src/main/resources/ida/EkycOtpOld/sendOtpRes.hbs b/api-test/src/main/resources/ida/EkycOtpOld/sendOtpRes.hbs similarity index 100% rename from apitest/src/main/resources/ida/EkycOtpOld/sendOtpRes.hbs rename to api-test/src/main/resources/ida/EkycOtpOld/sendOtpRes.hbs diff --git a/apitest/src/main/resources/ida/GenerateVID/createGenerateVID.hbs b/api-test/src/main/resources/ida/GenerateVID/createGenerateVID.hbs similarity index 100% rename from apitest/src/main/resources/ida/GenerateVID/createGenerateVID.hbs rename to api-test/src/main/resources/ida/GenerateVID/createGenerateVID.hbs diff --git a/apitest/src/main/resources/ida/GenerateVID/createGenerateVID.yml b/api-test/src/main/resources/ida/GenerateVID/createGenerateVID.yml similarity index 95% rename from apitest/src/main/resources/ida/GenerateVID/createGenerateVID.yml rename to api-test/src/main/resources/ida/GenerateVID/createGenerateVID.yml index 44fd8942579..95a06866e89 100644 --- a/apitest/src/main/resources/ida/GenerateVID/createGenerateVID.yml +++ b/api-test/src/main/resources/ida/GenerateVID/createGenerateVID.yml @@ -1,6 +1,7 @@ GenerateVID: auth_GenerateVID_All_Valid_Smoke_Perpetual_sid: endPoint: /resident/v1/vid + description: generate Perpetual VID for Authentication role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -35,6 +36,7 @@ GenerateVID: }' auth_GenerateVID_to_revoke_Perpetual_sid: endPoint: /resident/v1/vid + description: generate Perpetual VID to Revoke role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -69,6 +71,7 @@ GenerateVID: }' auth_GenerateVID_to_test_hotlist_Perpetual_sid: endPoint: /resident/v1/vid + description: generate Perpetual VID to test Hotlist api role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -103,6 +106,7 @@ GenerateVID: }' auth_GenerateVID_All_Valid_Smoke_Temp_VID_sid: endPoint: /resident/v1/vid + description: generate Temporary VID for Authentication role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -137,6 +141,7 @@ GenerateVID: }' auth_GenerateVID_All_Valid_Smoke_deactivate_Perpetual_sid: endPoint: /resident/v1/vid + description: generate Perpetual VID to Deactivate role: resident checkErrorsOnlyInResponse: true restMethod: post diff --git a/apitest/src/main/resources/ida/GenerateVID/createGenerateVIDResult.hbs b/api-test/src/main/resources/ida/GenerateVID/createGenerateVIDResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/GenerateVID/createGenerateVIDResult.hbs rename to api-test/src/main/resources/ida/GenerateVID/createGenerateVIDResult.hbs diff --git a/apitest/src/main/resources/ida/GetDraft/GetDraft.yml b/api-test/src/main/resources/ida/GetDraft/GetDraft.yml similarity index 86% rename from apitest/src/main/resources/ida/GetDraft/GetDraft.yml rename to api-test/src/main/resources/ida/GetDraft/GetDraft.yml index a3d264bc16e..40a2779e092 100644 --- a/apitest/src/main/resources/ida/GetDraft/GetDraft.yml +++ b/api-test/src/main/resources/ida/GetDraft/GetDraft.yml @@ -1,6 +1,7 @@ GetDraft: auth_GetDraft_all_valid_smoke_sid: endPoint: /idrepository/v1/identity/draft/{registrationId} + description: get the Draft from registrationID role: idrepo restMethod: get inputTemplate: ida/GetDraft/getDraft diff --git a/apitest/src/main/resources/ida/GetDraft/getDraft.hbs b/api-test/src/main/resources/ida/GetDraft/getDraft.hbs similarity index 100% rename from apitest/src/main/resources/ida/GetDraft/getDraft.hbs rename to api-test/src/main/resources/ida/GetDraft/getDraft.hbs diff --git a/apitest/src/main/resources/ida/GetDraft/getDraftResult.hbs b/api-test/src/main/resources/ida/GetDraft/getDraftResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/GetDraft/getDraftResult.hbs rename to api-test/src/main/resources/ida/GetDraft/getDraftResult.hbs diff --git a/apitest/src/main/resources/ida/HotlistTestcases/DemoIdentityEncrypt.hbs b/api-test/src/main/resources/ida/HotlistTestcases/DemoIdentityEncrypt.hbs similarity index 100% rename from apitest/src/main/resources/ida/HotlistTestcases/DemoIdentityEncrypt.hbs rename to api-test/src/main/resources/ida/HotlistTestcases/DemoIdentityEncrypt.hbs diff --git a/apitest/src/main/resources/ida/HotlistTestcases/HotlistTestcases.yml b/api-test/src/main/resources/ida/HotlistTestcases/HotlistTestcases.yml similarity index 94% rename from apitest/src/main/resources/ida/HotlistTestcases/HotlistTestcases.yml rename to api-test/src/main/resources/ida/HotlistTestcases/HotlistTestcases.yml index 7dea287d521..f918353a645 100644 --- a/apitest/src/main/resources/ida/HotlistTestcases/HotlistTestcases.yml +++ b/api-test/src/main/resources/ida/HotlistTestcases/HotlistTestcases.yml @@ -1,6 +1,7 @@ DemoAuth: auth_DemoAuth_blocked_UIN_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: perform Demo auth with blocked UIN role: resident restMethod: post inputTemplate: ida/HotlistTestcases/hotlistTestcases @@ -31,6 +32,7 @@ DemoAuth: }' auth_DemoAuth_Locked_UIN_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: perform Demo auth with locked UIN role: resident restMethod: post inputTemplate: ida/HotlistTestcases/hotlistTestcases @@ -61,6 +63,7 @@ DemoAuth: }' auth_DemoAuth_blocked_VID_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: perform Demo auth with blocked VID role: resident restMethod: post inputTemplate: ida/HotlistTestcases/hotlistTestcases diff --git a/apitest/src/main/resources/ida/HotlistTestcases/HotlistTestcasesKyc.yml b/api-test/src/main/resources/ida/HotlistTestcases/HotlistTestcasesKyc.yml similarity index 93% rename from apitest/src/main/resources/ida/HotlistTestcases/HotlistTestcasesKyc.yml rename to api-test/src/main/resources/ida/HotlistTestcases/HotlistTestcasesKyc.yml index 8180e14c161..99c8910f3e4 100644 --- a/apitest/src/main/resources/ida/HotlistTestcases/HotlistTestcasesKyc.yml +++ b/api-test/src/main/resources/ida/HotlistTestcases/HotlistTestcasesKyc.yml @@ -1,6 +1,7 @@ EkycDemo: auth_EkycDemo_Auth_With_blocked_UIN_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: perform Ekyc Demo auth with blocked UIN role: resident restMethod: post inputTemplate: ida/HotlistTestcases/hotlistTestcases @@ -30,6 +31,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_blocked_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: perform Ekyc Demo auth with blocked UIN role: resident restMethod: post inputTemplate: ida/HotlistTestcases/hotlistTestcases diff --git a/apitest/src/main/resources/ida/HotlistTestcases/HotlistTestcasesPartnerId.yml b/api-test/src/main/resources/ida/HotlistTestcases/HotlistTestcasesPartnerId.yml similarity index 92% rename from apitest/src/main/resources/ida/HotlistTestcases/HotlistTestcasesPartnerId.yml rename to api-test/src/main/resources/ida/HotlistTestcases/HotlistTestcasesPartnerId.yml index 401c0562e03..4ffd1b546b5 100644 --- a/apitest/src/main/resources/ida/HotlistTestcases/HotlistTestcasesPartnerId.yml +++ b/api-test/src/main/resources/ida/HotlistTestcases/HotlistTestcasesPartnerId.yml @@ -1,6 +1,7 @@ DemoAuth: auth_DemoAuth_blocked_partnerid_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: perform Demo auth with blocked partner id role: resident restMethod: post inputTemplate: ida/HotlistTestcases/hotlistTestcases @@ -30,6 +31,7 @@ DemoAuth: }' auth_DemoAuth_blocked_partnerid__VID_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: perform Demo auth with VID with blocked partner id role: resident restMethod: post inputTemplate: ida/HotlistTestcases/hotlistTestcases diff --git a/apitest/src/main/resources/ida/HotlistTestcases/HotlistTestcasesPartnerIdKyc.yml b/api-test/src/main/resources/ida/HotlistTestcases/HotlistTestcasesPartnerIdKyc.yml similarity index 93% rename from apitest/src/main/resources/ida/HotlistTestcases/HotlistTestcasesPartnerIdKyc.yml rename to api-test/src/main/resources/ida/HotlistTestcases/HotlistTestcasesPartnerIdKyc.yml index 4f4d464662f..80618ea9e37 100644 --- a/apitest/src/main/resources/ida/HotlistTestcases/HotlistTestcasesPartnerIdKyc.yml +++ b/api-test/src/main/resources/ida/HotlistTestcases/HotlistTestcasesPartnerIdKyc.yml @@ -1,6 +1,7 @@ EkycDemo: auth_EkycDemo_Auth_With_blocked_UIN_Pos: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: perform Ekyc Demo auth with blocked UIN role: resident restMethod: post inputTemplate: ida/HotlistTestcases/hotlistTestcases @@ -31,6 +32,7 @@ EkycDemo: }' auth_EkycDemo_Auth_With_blocked_VID: endPoint: /idauthentication/v1/kyc/$partnerKeyURL$ + description: perform Ekyc Demo auth with blocked VID role: resident restMethod: post inputTemplate: ida/HotlistTestcases/hotlistTestcases diff --git a/apitest/src/main/resources/ida/HotlistTestcases/HotlistTestcasesResult.hbs b/api-test/src/main/resources/ida/HotlistTestcases/HotlistTestcasesResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/HotlistTestcases/HotlistTestcasesResult.hbs rename to api-test/src/main/resources/ida/HotlistTestcases/HotlistTestcasesResult.hbs diff --git a/apitest/src/main/resources/ida/HotlistTestcases/ekycDemoResult.hbs b/api-test/src/main/resources/ida/HotlistTestcases/ekycDemoResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/HotlistTestcases/ekycDemoResult.hbs rename to api-test/src/main/resources/ida/HotlistTestcases/ekycDemoResult.hbs diff --git a/apitest/src/main/resources/ida/HotlistTestcases/error.hbs b/api-test/src/main/resources/ida/HotlistTestcases/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/HotlistTestcases/error.hbs rename to api-test/src/main/resources/ida/HotlistTestcases/error.hbs diff --git a/apitest/src/main/resources/ida/HotlistTestcases/hotlistTestcases.hbs b/api-test/src/main/resources/ida/HotlistTestcases/hotlistTestcases.hbs similarity index 100% rename from apitest/src/main/resources/ida/HotlistTestcases/hotlistTestcases.hbs rename to api-test/src/main/resources/ida/HotlistTestcases/hotlistTestcases.hbs diff --git a/apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.hbs b/api-test/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.hbs similarity index 100% rename from apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.hbs rename to api-test/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.hbs diff --git a/apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.yml b/api-test/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.yml similarity index 96% rename from apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.yml rename to api-test/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.yml index b95d9c6b05c..19e23e40965 100644 --- a/apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.yml +++ b/api-test/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth.yml @@ -1,6 +1,7 @@ MultiFactorAuth: auth_MultiFactorAuth_Biometric_Face_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with Demographic,otp and biometric role: resident restMethod: post checkErrorsOnlyInResponse: true diff --git a/apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth2.yml b/api-test/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth2.yml similarity index 92% rename from apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth2.yml rename to api-test/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth2.yml index 3fe39927dd7..73d4a5e80c8 100644 --- a/apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth2.yml +++ b/api-test/src/main/resources/ida/MultiFactorAuth/MultiFactorAuth2.yml @@ -1,6 +1,7 @@ MultiFactorAuth: auth_MultiFactorAuth_Biometric_Face_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -42,7 +43,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -54,6 +55,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_Valid_edited_updated_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio using updated UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -95,7 +97,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -107,6 +109,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_deactivate_UIN_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio using deactivated UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -148,7 +151,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -160,6 +163,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_draft_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio using drafted UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -201,7 +205,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -213,6 +217,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_InValid_transactionId_uin_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio with invalid transactionId using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -254,7 +259,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -266,6 +271,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_Missing_transactionId_uin_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio with missing transactionId using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -307,7 +313,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -319,6 +325,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_Valid_vid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -360,7 +367,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -372,6 +379,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_revoked_vid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio with revoked VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -413,7 +421,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -431,6 +439,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_InValid_vid_transactionId_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio with invalid transactionId using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -472,7 +481,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -490,6 +499,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_blank_vid_transactionId_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio with blank transactionId using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -531,7 +541,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -549,6 +559,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RingFinger_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio ring finger with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -590,7 +601,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -602,6 +613,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RingFinger_With_missing_transactionId_uin_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio ring finger with missing transactionId using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -643,7 +655,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -660,6 +672,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RingFinger_With_invalid_transactionId_uin_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio ring finger with invalid transactionId using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -701,7 +714,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -719,6 +732,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RingFinger_With_vid_InValid_transactionId_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio ring finger with invalid transactionId using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -760,7 +774,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -778,6 +792,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RingFinger_With_vid_blank_transactionId_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio ring finger with blank transactionId using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -819,7 +834,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -837,6 +852,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RingFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio ring finger using valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -878,7 +894,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -890,6 +906,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftMiddleFingerr_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left middle finger using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -931,7 +948,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -943,6 +960,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftMiddleFingerr_With_uin_InValid_transactionId_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left middle finger with invalid transactionId using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -984,7 +1002,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1002,6 +1020,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftMiddleFingerr_With_uin_blank_transactionId_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left middle finger with blank transactionId using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1043,7 +1062,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1061,6 +1080,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftMiddleFingerr_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left middle finger using valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1102,7 +1122,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1114,6 +1134,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIndexFingerr_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left index finger using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1155,7 +1176,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1167,6 +1188,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIndexFingerr_With_Valid_vid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left index finger using valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1208,7 +1230,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1220,6 +1242,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftLittleFinger_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left little finger using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1261,7 +1284,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1273,6 +1296,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftLittleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left little finger using valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1314,7 +1338,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1326,6 +1350,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightIndexFinger_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio right index finger using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1367,7 +1392,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1379,6 +1404,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightIndexFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio right index finger using valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1420,7 +1446,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1432,6 +1458,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightRingFinger_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio right ring finger using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1473,7 +1500,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1485,6 +1512,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightRingFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio right ring finger using valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1526,7 +1554,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1538,6 +1566,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightMiddleFinger_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio right middle finger using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1579,7 +1608,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1591,6 +1620,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightMiddleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio right middle finger using valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1632,7 +1662,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1644,6 +1674,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightLittleFinger_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio right little finger using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1685,7 +1716,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1697,6 +1728,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightLittleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio right little finger using valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1738,7 +1770,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1750,6 +1782,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftThumb_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left thumb using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1791,7 +1824,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1803,6 +1836,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftThumb_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left thumb using valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1844,7 +1878,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1856,6 +1890,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightThumb_With_Valid_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio right thumb using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1897,7 +1932,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1909,6 +1944,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightThumb_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio right thumb using valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -1950,7 +1986,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -1962,6 +1998,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightIris_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio right iris using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2003,7 +2040,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2015,6 +2052,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightIris_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio right iris using valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2056,7 +2094,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2068,6 +2106,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_uin_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris using valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2109,7 +2148,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2121,6 +2160,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With__VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris using valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2162,7 +2202,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2174,6 +2214,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_InValid_transactionId_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris using invalid transactionId with valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2215,7 +2256,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2233,6 +2274,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_InValid_transactionId_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris using invalid transactionId with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2274,7 +2316,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2292,6 +2334,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_blank_transactionId_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris using blank transactionId with valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2333,7 +2376,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2351,6 +2394,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_uin_blank_transactionId_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris using blank transactionId with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2392,7 +2436,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2409,6 +2453,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_blank_individualIdType_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris using blank individualId type with valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2450,7 +2495,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2469,6 +2514,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_invalid_individualIdType_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris using invalid individualId type with valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2510,7 +2556,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2529,6 +2575,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_invalid_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris using invalid bio sub type with valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2570,7 +2617,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2588,6 +2635,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_invalid_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris using invalid bio sub type with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2629,7 +2677,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2647,6 +2695,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_blank_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris using blank bio sub type with valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2688,7 +2737,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2706,6 +2755,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_blank_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris using blank bio sub type with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2747,7 +2797,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2765,6 +2815,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_missing_bioSubType_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with missing bioSubtype with valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2806,7 +2857,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2824,6 +2875,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_missing_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with missing bioSubType with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2865,7 +2917,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2919,6 +2971,7 @@ MultiFactorAuth: #}' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_BLANK_bioType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with blank bioType with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -2960,7 +3013,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -2978,6 +3031,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_invalid_bioType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with invalid bioType with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3019,7 +3073,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3037,6 +3091,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_valid_bioType_and_invalid_digitalId_type: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with valid bioType,invalid digitalId_Type with valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3078,7 +3133,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3100,6 +3155,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_valid_bioType_and_invalid_digitalId_type: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with valid bioType,invalid digitalId_Type with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3141,7 +3197,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3163,6 +3219,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_INvalid_bioValue: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with invalid bioValue and valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3204,7 +3261,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3222,6 +3279,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_INvalid_bioValue: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with invalid bioValue and valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3263,7 +3321,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3281,6 +3339,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_With_Face_Invalid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with invalid bioType and bioValue with valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3322,7 +3381,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3340,6 +3399,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_With_Face_Invalid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with invalid bioType and bioValue with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3381,7 +3441,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3399,6 +3459,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_With_Finger_Invalid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with invalid bioType and bioValue with valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3440,7 +3501,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3458,6 +3519,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_With_Finger_Invalid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with invalid bioType and bioValue with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3499,7 +3561,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3517,6 +3579,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_invalid_Bio-Type_value_as_IR_instead_of_Iris: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with invalid bioType with valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3558,7 +3621,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3576,6 +3639,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_invalid_Bio-Type_value_as_IR_instead_of_Iris: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with invalid bioType and bioValue value with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3617,7 +3681,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3635,6 +3699,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_With_VID_invalid_Bio-Type_value_as_FIR_instead_of_Finger: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio left iris with invalid bioType and bioValue with valid VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3676,7 +3741,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3694,6 +3759,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_With_UIN_invalid_Bio-Type_value_as_FIR_instead_of_Finger: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio with invalid bioType and bioValue with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3735,7 +3801,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3753,6 +3819,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_with_uin_invalid_partner: endPoint: /idauthentication/v1/auth/zY22wDwZxwMdlxTZRWrM50m4zBoOiMyUGY/45362768/27822828287 + description: Multifactor auth with demo,otp and bio with invalid partner with valid UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3794,7 +3861,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3816,6 +3883,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_Valid_NOAUTH_no_resident_token_uin_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: MultiFactorAuth_Biometric_Face_With_Valid_NOAUTH_no_resident_token_uin role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3857,7 +3925,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3877,6 +3945,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_Valid_uin_expiredOTP_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: MultiFactorAuth_Biometric_Face_With_Valid_uin_expiredOTP role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3918,7 +3987,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3930,6 +3999,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_Valid_uin_expiredOTP_EKYCBIO_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: MultiFactorAuth_Biometric_Face_With_Valid_uin_expiredOTP_EKYCBIO role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -3971,7 +4041,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -3983,6 +4053,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_IRIS_as_true_anddo_bio_auth_policy: endPoint: /idauthentication/v1/auth/$UpdatedPartnerKeyURL$ + description: MultiFactorAuth_Biometric_Face_With_IRIS_as_true_and do_bio_auth role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -4024,7 +4095,7 @@ MultiFactorAuth: "key": "dob", "value": "1970/07/08", "transactionId": "1234567890", - "identityRequestTemplate": "ida/MultiFactorAuth/MultiFactorIdentityEncrypt", + "identityRequestTemplate": "ida/MultiFactorAuth/MultifactorIdentityEncrypt", "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" } }' @@ -4033,4 +4104,4 @@ MultiFactorAuth: "sendOtpResp":{ "sendOtpResTemplate":"ida/MultiFactorAuth/sendOtpRes" } -}' \ No newline at end of file +}' diff --git a/apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuthResult.hbs b/api-test/src/main/resources/ida/MultiFactorAuth/MultiFactorAuthResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/MultiFactorAuth/MultiFactorAuthResult.hbs rename to api-test/src/main/resources/ida/MultiFactorAuth/MultiFactorAuthResult.hbs diff --git a/apitest/src/main/resources/ida/MultiFactorAuth/MultifactorIdentityEncrypt.hbs b/api-test/src/main/resources/ida/MultiFactorAuth/MultifactorIdentityEncrypt.hbs similarity index 100% rename from apitest/src/main/resources/ida/MultiFactorAuth/MultifactorIdentityEncrypt.hbs rename to api-test/src/main/resources/ida/MultiFactorAuth/MultifactorIdentityEncrypt.hbs diff --git a/apitest/src/main/resources/ida/MultiFactorAuth/Sendotperror.hbs b/api-test/src/main/resources/ida/MultiFactorAuth/Sendotperror.hbs similarity index 100% rename from apitest/src/main/resources/ida/MultiFactorAuth/Sendotperror.hbs rename to api-test/src/main/resources/ida/MultiFactorAuth/Sendotperror.hbs diff --git a/apitest/src/main/resources/ida/MultiFactorAuth/error.hbs b/api-test/src/main/resources/ida/MultiFactorAuth/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/MultiFactorAuth/error.hbs rename to api-test/src/main/resources/ida/MultiFactorAuth/error.hbs diff --git a/apitest/src/main/resources/ida/MultiFactorAuth/sendOtp.hbs b/api-test/src/main/resources/ida/MultiFactorAuth/sendOtp.hbs similarity index 100% rename from apitest/src/main/resources/ida/MultiFactorAuth/sendOtp.hbs rename to api-test/src/main/resources/ida/MultiFactorAuth/sendOtp.hbs diff --git a/apitest/src/main/resources/ida/MultiFactorAuth/sendOtpRes.hbs b/api-test/src/main/resources/ida/MultiFactorAuth/sendOtpRes.hbs similarity index 100% rename from apitest/src/main/resources/ida/MultiFactorAuth/sendOtpRes.hbs rename to api-test/src/main/resources/ida/MultiFactorAuth/sendOtpRes.hbs diff --git a/apitest/src/main/resources/ida/MultiFactorAuthOld/MultiFactorAuthOld.yml b/api-test/src/main/resources/ida/MultiFactorAuthOld/MultiFactorAuthOld.yml similarity index 95% rename from apitest/src/main/resources/ida/MultiFactorAuthOld/MultiFactorAuthOld.yml rename to api-test/src/main/resources/ida/MultiFactorAuthOld/MultiFactorAuthOld.yml index a5dbd49ec05..fab1459923e 100644 --- a/apitest/src/main/resources/ida/MultiFactorAuthOld/MultiFactorAuthOld.yml +++ b/api-test/src/main/resources/ida/MultiFactorAuthOld/MultiFactorAuthOld.yml @@ -1,6 +1,7 @@ MultiFactorAuth: auth_MultiFactorAuth_Biometric_Face_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo ,otp and bio face using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -55,6 +56,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_InValid_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo ,otp and bio face with invalid transactionId using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -115,6 +117,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_Missing_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo ,otp and bio face with missing transactionId using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -175,6 +178,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_Valid_vid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo ,otp and bio face with valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -229,6 +233,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_revoked_vid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo ,otp and bio face with revoked VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -289,6 +294,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_InValid_vid_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio face with invalid transactionId using VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -349,6 +355,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_Face_With_blank_vid_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio face with blank transactionId using VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -409,6 +416,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RingFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio ring finger using UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -463,6 +471,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RingFinger_With_missing_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio ring finger with missing transactionId using UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -523,6 +532,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RingFinger_With_invalid_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio ring finger with invalid transactionId using UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -583,6 +593,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RingFinger_With_vid_InValid_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio ring finger with invalid transactionId using VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -643,6 +654,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RingFinger_With_vid_blank_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio ring finger with blank transactionId using VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -703,6 +715,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RingFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio RingFinger with valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -757,6 +770,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftMiddleFingerr_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftMiddleFinger with valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -811,6 +825,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftMiddleFingerr_With_InValid_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftMiddleFinger with invalid transactionId using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -871,6 +886,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftMiddleFingerr_With_blank_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftMiddleFinger with blank transactionId using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -931,6 +947,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftMiddleFingerr_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftMiddleFinger with valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -985,6 +1002,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIndexFingerr_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIndexFinger with valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1039,6 +1057,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIndexFingerr_With_Valid_vid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIndexFinger with valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1093,6 +1112,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftLittleFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftLittleFinger with valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1147,6 +1167,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftLittleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftLittleFinger with valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1201,6 +1222,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightIndexFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio RightIndexFinger with valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1255,6 +1277,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightIndexFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio RightIndexFinger with valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1309,6 +1332,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightRingFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio RightRingFinger with valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1363,6 +1387,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightRingFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio RightRingFinger with valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1417,6 +1442,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightMiddleFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio RightMiddleFinger with valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1471,6 +1497,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightMiddleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio RightMiddleFinger with valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1525,6 +1552,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightLittleFinger_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio RightLittleFinger with valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1579,6 +1607,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightLittleFinger_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio RightLittleFinger with valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1633,6 +1662,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftThumb_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftThumb with valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1687,6 +1717,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftThumb_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftThumb with valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1741,6 +1772,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightThumb_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio RightThumb with valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1795,6 +1827,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightThumb_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio RightThumb with valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1849,6 +1882,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightIris_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio RightIris with valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1903,6 +1937,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_RightIris_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio RightIris with valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -1957,6 +1992,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2011,6 +2047,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_InValid_individualIdType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with invalid_individualIdType valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2071,6 +2108,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_blank_individualIdType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris With_blank_individualIdType with valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2131,6 +2169,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With__VID_Valid_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2185,6 +2224,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_InValid_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with InValid_transactionId using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2245,6 +2285,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_InValid_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with InValid_transactionId using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2305,6 +2346,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_blank_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with blank_transactionId using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2365,6 +2407,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_blank_transactionId: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris With_blank_transactionId using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2425,6 +2468,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_blank_individualIdType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris With_blank_individualIdType using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2485,6 +2529,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_blank_individualIdType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris With_blank_individualIdType using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2545,6 +2590,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_invalid_individualIdType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris With_invalid_individualIdType using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2605,6 +2651,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_invalid_individualIdType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris With_invalid_individualIdType using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2665,6 +2712,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_invalid_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris With_invalid_invalid_bioSubType using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2725,6 +2773,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_invalid_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris With_invalid_invalid_bioSubType using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2785,6 +2834,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_blank_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris With_blank_bioSubType using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2845,6 +2895,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_blank_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris With_blank_bioSubType using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2905,6 +2956,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_missing_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with missing_bioSubType using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -2965,6 +3017,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_missing_bioSubType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with missing_bioSubType using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3025,6 +3078,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_BLANK_bioType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with blank_bioType using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3085,6 +3139,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_BLANK_bioType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with blank_bioType using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3145,6 +3200,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_missing_bioType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with missing_bioType using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3205,6 +3261,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_missing_bioType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with missing_bioType using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3265,6 +3322,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_invalid_bioType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with invalid_bioType using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3325,6 +3383,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_invalid_bioType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with invalid_bioType using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3385,6 +3444,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_valid_bioType_and_invalid_digitalId_type: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with valid_bioType_and_invalid_digitalId_type using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3449,6 +3509,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_valid_bioType_and_invalid_digitalId_type: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with valid_bioType_and_invalid_digitalId_type using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3513,6 +3574,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_INvalid_bioValue: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with invalid_bioValue using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3573,6 +3635,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_INvalid_bioValue: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with invalid_bioValue using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3633,6 +3696,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_With_Face_Invalid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with invalid bioType and bioValue using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3693,6 +3757,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_With_Face_Invalid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with invalid bioType and bioValue using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3753,6 +3818,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_With_Finger_Invalid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with invalid bioType and bioValue using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3813,6 +3879,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_With_Finger_Invalid: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with invalid bioType and bioValue using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3873,6 +3940,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_VID_invalid_Bio-Type_value_as_IR_instead_of_Iris: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with invalid bioType and bioValue using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3933,6 +4001,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_LeftIris_With_UIN_invalid_Bio-Type_value_as_IR_instead_of_Iris: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio LeftIris with invalid bioType and bioValue using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -3993,6 +4062,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_With_VID_invalid_Bio-Type_value_as_FIR_instead_of_Finger: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio with invalid bioType and bioValue using valid VID role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -4053,6 +4123,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_Biometric_With_UIN_invalid_Bio-Type_value_as_FIR_instead_of_Finger: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Multifactor auth with demo,otp and bio with invalid bioType and bioValue using valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth @@ -4113,6 +4184,7 @@ MultiFactorAuth: }' auth_MultiFactorAuth_with_invalid_partner: endPoint: /idauthentication/v1/auth/zY22wDwZxwMdlxTZRWrM50m4zBoOiMyUGY/45362768/27822828287 + description: Multifactor auth with demo,otp and bio with invalid partner valid UIN role: resident restMethod: post inputTemplate: ida/MultiFactorAuth/multiFactorAuth diff --git a/apitest/src/main/resources/ida/MultiFactorAuthOld/MultifactorIdentityEncrypt.hbs b/api-test/src/main/resources/ida/MultiFactorAuthOld/MultifactorIdentityEncrypt.hbs similarity index 100% rename from apitest/src/main/resources/ida/MultiFactorAuthOld/MultifactorIdentityEncrypt.hbs rename to api-test/src/main/resources/ida/MultiFactorAuthOld/MultifactorIdentityEncrypt.hbs diff --git a/apitest/src/main/resources/ida/MultiFactorAuthOld/error.hbs b/api-test/src/main/resources/ida/MultiFactorAuthOld/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/MultiFactorAuthOld/error.hbs rename to api-test/src/main/resources/ida/MultiFactorAuthOld/error.hbs diff --git a/apitest/src/main/resources/ida/MultiFactorAuthOld/multiFactorAuth.hbs b/api-test/src/main/resources/ida/MultiFactorAuthOld/multiFactorAuth.hbs similarity index 100% rename from apitest/src/main/resources/ida/MultiFactorAuthOld/multiFactorAuth.hbs rename to api-test/src/main/resources/ida/MultiFactorAuthOld/multiFactorAuth.hbs diff --git a/apitest/src/main/resources/ida/MultiFactorAuthOld/multiFactorAuthResult.hbs b/api-test/src/main/resources/ida/MultiFactorAuthOld/multiFactorAuthResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/MultiFactorAuthOld/multiFactorAuthResult.hbs rename to api-test/src/main/resources/ida/MultiFactorAuthOld/multiFactorAuthResult.hbs diff --git a/apitest/src/main/resources/ida/MultiFactorAuthOld/sendOtp.hbs b/api-test/src/main/resources/ida/MultiFactorAuthOld/sendOtp.hbs similarity index 100% rename from apitest/src/main/resources/ida/MultiFactorAuthOld/sendOtp.hbs rename to api-test/src/main/resources/ida/MultiFactorAuthOld/sendOtp.hbs diff --git a/apitest/src/main/resources/ida/MultiFactorAuthOld/sendOtpRes.hbs b/api-test/src/main/resources/ida/MultiFactorAuthOld/sendOtpRes.hbs similarity index 100% rename from apitest/src/main/resources/ida/MultiFactorAuthOld/sendOtpRes.hbs rename to api-test/src/main/resources/ida/MultiFactorAuthOld/sendOtpRes.hbs diff --git a/apitest/src/main/resources/ida/OtpAuth/OtpAuth.hbs b/api-test/src/main/resources/ida/OtpAuth/OtpAuth.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpAuth/OtpAuth.hbs rename to api-test/src/main/resources/ida/OtpAuth/OtpAuth.hbs diff --git a/apitest/src/main/resources/ida/OtpAuth/OtpAuth.yml b/api-test/src/main/resources/ida/OtpAuth/OtpAuth.yml similarity index 96% rename from apitest/src/main/resources/ida/OtpAuth/OtpAuth.yml rename to api-test/src/main/resources/ida/OtpAuth/OtpAuth.yml index c4a0438cc31..af6f375b67e 100644 --- a/apitest/src/main/resources/ida/OtpAuth/OtpAuth.yml +++ b/api-test/src/main/resources/ida/OtpAuth/OtpAuth.yml @@ -1,6 +1,7 @@ OtpAuth: auth_OTP_Auth_With_Valid_UIN_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with valid UIN role: resident restMethod: post checkErrorsOnlyInResponse: true diff --git a/apitest/src/main/resources/ida/OtpAuth/OtpAuth2.yml b/api-test/src/main/resources/ida/OtpAuth/OtpAuth2.yml similarity index 94% rename from apitest/src/main/resources/ida/OtpAuth/OtpAuth2.yml rename to api-test/src/main/resources/ida/OtpAuth/OtpAuth2.yml index ba3e039fd16..f222f865a2e 100644 --- a/apitest/src/main/resources/ida/OtpAuth/OtpAuth2.yml +++ b/api-test/src/main/resources/ida/OtpAuth/OtpAuth2.yml @@ -1,10 +1,11 @@ OtpAuth: auth_OTP_Auth_With_Valid_UIN_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with valid using UIN role: resident restMethod: post checkErrorsOnlyInResponse: true - inputTemplate: ida/OtpAuth/otpAuth + inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/otpAuthResult input: '{ "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", @@ -35,6 +36,7 @@ OtpAuth: }' auth_OTP_Auth_With_Valid_UIN_with_edited_updated_policy_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with valid using UIN with edited updated policy role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -67,6 +69,7 @@ OtpAuth: }' auth_OTP_Auth_With_Infant_UIN_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with Infant using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -99,6 +102,7 @@ OtpAuth: }' auth_OTP_Auth_With_Infant_locked_UIN_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with Infant locked UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -131,6 +135,7 @@ OtpAuth: }' auth_OTP_Auth_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with valid using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -163,6 +168,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_Past_Timestamp_UIN_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid Past Timestamp using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -195,6 +201,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_Past_Timestamp_VID_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid Past Timestamp using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -227,6 +234,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_Future_Timestamp_UIN_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid future timestamp using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -259,6 +267,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_Future_Timestamp_VID_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid future timestamp using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -291,6 +300,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_Empty_Timestamp_UIN_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid empty timestamp using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -323,6 +333,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_Empty_Timestamp_VID_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid empty timestamp using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -355,6 +366,7 @@ OtpAuth: }' auth_OTP_Auth_With_revoke_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with revoked VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -387,9 +399,10 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_individualId_UIN_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid individualId using UIN role: resident restMethod: post - inputTemplate: ida/OtpAuth/otpAuth + inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/error input: '{ "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", @@ -428,9 +441,10 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_individualId_UIN_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid individualId using UIN role: resident restMethod: post - inputTemplate: ida/OtpAuth/otpAuth + inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/error input: '{ "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", @@ -469,9 +483,10 @@ OtpAuth: }' auth_OTP_Auth_With_Blank_individualId_uin_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with blank individualId using uin role: resident restMethod: post - inputTemplate: ida/OtpAuth/otpAuth + inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/error input: '{ "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", @@ -508,9 +523,10 @@ OtpAuth: }' auth_OTP_Auth_With_Blank_individualId_VID_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with blank individualId using VID role: resident restMethod: post - inputTemplate: ida/OtpAuth/otpAuth + inputTemplate: ida/OtpAuth/OtpAuth outputTemplate: ida/OtpAuth/error input: '{ "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", @@ -547,6 +563,7 @@ OtpAuth: }' auth_OTP_Auth_With_Missing_individualId_uin_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with missing individualId using UIN role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -579,6 +596,7 @@ OtpAuth: }' auth_OTP_Auth_With_Missing_individualId_VID_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: OTP auth with missing individualId using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -611,6 +629,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_transactionId_uin_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: OTP auth with invalid transactionId using uin role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -643,6 +662,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_transactionId_VID_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: OTP auth with invalid transactionId using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -675,6 +695,7 @@ OtpAuth: }' auth_OTP_Auth_With_Blank_transactionId_uin_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: OTP auth with blank transactionId using uin role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -707,6 +728,7 @@ OtpAuth: }' auth_OTP_Auth_With_Blank_transactionId_VID_Neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: OTP auth with blank transactionId using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -739,6 +761,7 @@ OtpAuth: }' auth_OTP_Auth_With_different_transactionId_uin_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: OTP auth with different transactionId using uin role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -771,6 +794,7 @@ OtpAuth: }' auth_OTP_Auth_With_Optional_individualIdType_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: OTP auth with optional individualIdType using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -803,6 +827,7 @@ OtpAuth: }' auth_OTP_Auth_With_Blank_individualIdType_VID_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: OTP auth with blank individualIdType using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -840,6 +865,7 @@ OtpAuth: }' auth_OTP_Auth_With_Missing_Optional_Field_individualIdType_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with missing optional field individualIdType using VID role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -872,6 +898,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_uin_partner: endPoint: /idauthentication/v1/auth/zY22wDwZxwMdlxTZRWrM50m4zBoOiMyUGY/45362768/27822828287 + description: Otp auth with invalid partner role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -912,6 +939,7 @@ OtpAuth: }' auth_OTP_Auth_With_InValid_OTP: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid OTP role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -932,6 +960,7 @@ OtpAuth: }' auth_OTP_Auth_With_WRONG_OTP: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with wrong OTP role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -952,6 +981,7 @@ OtpAuth: }' auth_OTP_Auth_With_IRIS_as_true_anddo_auth_policy: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: invalid scenario role: resident checkErrorsOnlyInResponse: true restMethod: post @@ -981,4 +1011,4 @@ OtpAuth: "sendOtpResp":{ "sendOtpResTemplate":"ida/OtpAuth/sendOtpRes" } -}' \ No newline at end of file +}' diff --git a/apitest/src/main/resources/ida/OtpAuth/OtpAuthHotlisted.yml b/api-test/src/main/resources/ida/OtpAuth/OtpAuthHotlisted.yml similarity index 100% rename from apitest/src/main/resources/ida/OtpAuth/OtpAuthHotlisted.yml rename to api-test/src/main/resources/ida/OtpAuth/OtpAuthHotlisted.yml diff --git a/apitest/src/main/resources/ida/OtpAuth/OtpAuthHotlistedUnblocked.yml b/api-test/src/main/resources/ida/OtpAuth/OtpAuthHotlistedUnblocked.yml similarity index 100% rename from apitest/src/main/resources/ida/OtpAuth/OtpAuthHotlistedUnblocked.yml rename to api-test/src/main/resources/ida/OtpAuth/OtpAuthHotlistedUnblocked.yml diff --git a/apitest/src/main/resources/ida/OtpAuth/OtpAuthResult.hbs b/api-test/src/main/resources/ida/OtpAuth/OtpAuthResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpAuth/OtpAuthResult.hbs rename to api-test/src/main/resources/ida/OtpAuth/OtpAuthResult.hbs diff --git a/apitest/src/main/resources/ida/OtpAuth/OtpIdentityEncrypt.json b/api-test/src/main/resources/ida/OtpAuth/OtpIdentityEncrypt.json similarity index 100% rename from apitest/src/main/resources/ida/OtpAuth/OtpIdentityEncrypt.json rename to api-test/src/main/resources/ida/OtpAuth/OtpIdentityEncrypt.json diff --git a/apitest/src/main/resources/ida/OtpAuth/Sendotperror.hbs b/api-test/src/main/resources/ida/OtpAuth/Sendotperror.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpAuth/Sendotperror.hbs rename to api-test/src/main/resources/ida/OtpAuth/Sendotperror.hbs diff --git a/apitest/src/main/resources/ida/OtpAuth/error.hbs b/api-test/src/main/resources/ida/OtpAuth/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpAuth/error.hbs rename to api-test/src/main/resources/ida/OtpAuth/error.hbs diff --git a/apitest/src/main/resources/ida/OtpAuth/sendOtp.hbs b/api-test/src/main/resources/ida/OtpAuth/sendOtp.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpAuth/sendOtp.hbs rename to api-test/src/main/resources/ida/OtpAuth/sendOtp.hbs diff --git a/apitest/src/main/resources/ida/OtpAuth/sendOtpRes.hbs b/api-test/src/main/resources/ida/OtpAuth/sendOtpRes.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpAuth/sendOtpRes.hbs rename to api-test/src/main/resources/ida/OtpAuth/sendOtpRes.hbs diff --git a/apitest/src/main/resources/ida/OtpAuthOld/OtpAuthOld.yml b/api-test/src/main/resources/ida/OtpAuthOld/OtpAuthOld.yml similarity index 95% rename from apitest/src/main/resources/ida/OtpAuthOld/OtpAuthOld.yml rename to api-test/src/main/resources/ida/OtpAuthOld/OtpAuthOld.yml index d4debe607c1..3ebdfbd3756 100644 --- a/apitest/src/main/resources/ida/OtpAuthOld/OtpAuthOld.yml +++ b/api-test/src/main/resources/ida/OtpAuthOld/OtpAuthOld.yml @@ -1,6 +1,7 @@ OtpAuth: auth_OTP_Auth_With_Valid_UIN_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with valid UIN role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -34,6 +35,7 @@ OtpAuth: }' auth_OTP_Auth_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with valid VID role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -67,6 +69,7 @@ OtpAuth: }' auth_OTP_Auth_With_revoke_VID_Smoke_Pos: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with revoke VID role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -107,6 +110,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_individualId_UIN_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid individualId using UIN role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -147,6 +151,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_individualId_VID_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid individualId using VID role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -187,6 +192,7 @@ OtpAuth: }' auth_OTP_Auth_With_Blank_individualId_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with blank individualId using UIN role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -226,6 +232,7 @@ OtpAuth: }' auth_OTP_Auth_With_Blank_individualId_VID_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with blank individualId using VID role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -265,6 +272,7 @@ OtpAuth: }' auth_OTP_Auth_With_Missing_individualId_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with missing individualId using UIN role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -304,6 +312,7 @@ OtpAuth: }' auth_OTP_Auth_With_Missing_individualId_VID_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with missing individualId using VID role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -343,6 +352,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_transactionId_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid transactionId using UIN role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -382,6 +392,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_transactionId_VID_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid transactionId using VID role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -421,6 +432,7 @@ OtpAuth: }' auth_OTP_Auth_With_Blank_transactionId_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with blank transactionId using UIN role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -460,6 +472,7 @@ OtpAuth: }' auth_OTP_Auth_With_Blank_transactionId_VID_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with blank transactionId using VID role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -499,6 +512,7 @@ OtpAuth: }' auth_OTP_Auth_With_different_transactionId_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with different transactionId using UIN role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -538,6 +552,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_individualIdType_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid individualIdType using UIN role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -577,6 +592,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_individualIdType_VID_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with invalid individualIdType using VID role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -616,6 +632,7 @@ OtpAuth: }' auth_OTP_Auth_With_Blank_individualIdType_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with blank individualIdType using UIN role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -655,6 +672,7 @@ OtpAuth: }' auth_OTP_Auth_With_Blank_individualIdType_VID_neg: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with blank individualIdType using VID role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -694,6 +712,7 @@ OtpAuth: }' auth_OTP_Auth_With_Missing_Optional_Field_individualIdType: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with missing optional field individualIdType using UIN role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -727,6 +746,7 @@ OtpAuth: }' auth_OTP_Auth_With_Missing_Optional_Field_individualIdType_VID: endPoint: /idauthentication/v1/auth/$partnerKeyURL$ + description: Otp auth with missing optional field individualIdType using VID role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth @@ -760,6 +780,7 @@ OtpAuth: }' auth_OTP_Auth_With_Invalid_partner: endPoint: /idauthentication/v1/auth/zY22wDwZxwMdlxTZRWrM50m4zBoOiMyUGY/45362768/27822828287 + description: Otp auth with invalid partner role: resident restMethod: post inputTemplate: ida/OtpAuth/otpAuth diff --git a/apitest/src/main/resources/ida/OtpAuthOld/OtpIdentityEncrypt.json b/api-test/src/main/resources/ida/OtpAuthOld/OtpIdentityEncrypt.json similarity index 100% rename from apitest/src/main/resources/ida/OtpAuthOld/OtpIdentityEncrypt.json rename to api-test/src/main/resources/ida/OtpAuthOld/OtpIdentityEncrypt.json diff --git a/apitest/src/main/resources/ida/OtpAuthOld/Sendotperror.hbs b/api-test/src/main/resources/ida/OtpAuthOld/Sendotperror.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpAuthOld/Sendotperror.hbs rename to api-test/src/main/resources/ida/OtpAuthOld/Sendotperror.hbs diff --git a/apitest/src/main/resources/ida/OtpAuthOld/error.hbs b/api-test/src/main/resources/ida/OtpAuthOld/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpAuthOld/error.hbs rename to api-test/src/main/resources/ida/OtpAuthOld/error.hbs diff --git a/apitest/src/main/resources/ida/OtpAuthOld/otpAuth.hbs b/api-test/src/main/resources/ida/OtpAuthOld/otpAuth.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpAuthOld/otpAuth.hbs rename to api-test/src/main/resources/ida/OtpAuthOld/otpAuth.hbs diff --git a/apitest/src/main/resources/ida/OtpAuthOld/otpAuthResult.hbs b/api-test/src/main/resources/ida/OtpAuthOld/otpAuthResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpAuthOld/otpAuthResult.hbs rename to api-test/src/main/resources/ida/OtpAuthOld/otpAuthResult.hbs diff --git a/apitest/src/main/resources/ida/OtpAuthOld/sendOtp.hbs b/api-test/src/main/resources/ida/OtpAuthOld/sendOtp.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpAuthOld/sendOtp.hbs rename to api-test/src/main/resources/ida/OtpAuthOld/sendOtp.hbs diff --git a/apitest/src/main/resources/ida/OtpAuthOld/sendOtpRes.hbs b/api-test/src/main/resources/ida/OtpAuthOld/sendOtpRes.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpAuthOld/sendOtpRes.hbs rename to api-test/src/main/resources/ida/OtpAuthOld/sendOtpRes.hbs diff --git a/apitest/src/main/resources/ida/OtpInternalAuth/OtpInternalAuth.yml b/api-test/src/main/resources/ida/OtpInternalAuth/OtpInternalAuth.yml similarity index 94% rename from apitest/src/main/resources/ida/OtpInternalAuth/OtpInternalAuth.yml rename to api-test/src/main/resources/ida/OtpInternalAuth/OtpInternalAuth.yml index d214b0a54b1..a57c0ce983e 100644 --- a/apitest/src/main/resources/ida/OtpInternalAuth/OtpInternalAuth.yml +++ b/api-test/src/main/resources/ida/OtpInternalAuth/OtpInternalAuth.yml @@ -1,6 +1,7 @@ OTPInternalAuth: auth_OTP_Internal_Auth_With_Valid_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Otp internal auth with valid UIN role: resident restMethod: post inputTemplate: ida/OTPInternalAuth/otpInternalAuth @@ -34,6 +35,7 @@ OTPInternalAuth: }' auth_OTP_Internal_Auth_With_Valid_VID_Smoke_Pos: endPoint: /idauthentication/v1/internal/auth + description: Otp internal auth with valid using VID role: resident restMethod: post inputTemplate: ida/OTPInternalAuth/otpInternalAuth @@ -67,6 +69,7 @@ OTPInternalAuth: }' auth_OTP_Internal_Auth_With_Invalid_individualId_neg: endPoint: /idauthentication/v1/internal/auth + description: Otp internal auth with invalid individualId using UIN role: resident restMethod: post inputTemplate: ida/OTPInternalAuth/otpInternalAuth @@ -106,6 +109,7 @@ OTPInternalAuth: }' auth_OTP_Internal_Auth_With_Blank_individualId_neg: endPoint: /idauthentication/v1/internal/auth + description: Otp internal auth with blank individualId using UIN role: resident restMethod: post inputTemplate: ida/OTPInternalAuth/otpInternalAuth @@ -145,6 +149,7 @@ OTPInternalAuth: }' auth_OTP_Internal_Auth_With_Missing_individualId_neg: endPoint: /idauthentication/v1/internal/auth + description: Otp internal auth with missing individualId using UIN role: resident restMethod: post inputTemplate: ida/OTPInternalAuth/otpInternalAuth @@ -184,6 +189,7 @@ OTPInternalAuth: }' auth_OTP_Internal_Auth_Invalid_transactionId_neg: endPoint: /idauthentication/v1/internal/auth + description: Otp internal auth with invalid transactionId using UIN role: resident restMethod: post inputTemplate: ida/OTPInternalAuth/otpInternalAuth @@ -223,6 +229,7 @@ OTPInternalAuth: }' auth_OTP_Internal_Auth_Blank_transactionId_neg: endPoint: /idauthentication/v1/internal/auth + description: Otp internal auth with blank transactionId using UIN role: resident restMethod: post inputTemplate: ida/OTPInternalAuth/otpInternalAuth @@ -262,6 +269,7 @@ OTPInternalAuth: }' auth_OTP_Internal_Auth_Invalid_individualIdType_neg: endPoint: /idauthentication/v1/internal/auth + description: Otp internal auth with invalid individualIdType using UIN role: resident restMethod: post inputTemplate: ida/OTPInternalAuth/otpInternalAuth @@ -301,6 +309,7 @@ OTPInternalAuth: }' auth_OTP_Internal_Auth_Blank_individualIdType_neg: endPoint: /idauthentication/v1/internal/auth + description: Otp internal auth with blank individualIdType using UIN role: resident restMethod: post inputTemplate: ida/OTPInternalAuth/otpInternalAuth @@ -340,6 +349,7 @@ OTPInternalAuth: }' auth_OTP_Internal_Auth_Missing_individualIdType_neg: endPoint: /idauthentication/v1/internal/auth + description: Otp internal auth with missing individualIdType using UIN role: resident restMethod: post inputTemplate: ida/OTPInternalAuth/otpInternalAuth diff --git a/apitest/src/main/resources/ida/OtpInternalAuth/OtpInternalIdentityEncrypt.json b/api-test/src/main/resources/ida/OtpInternalAuth/OtpInternalIdentityEncrypt.json similarity index 100% rename from apitest/src/main/resources/ida/OtpInternalAuth/OtpInternalIdentityEncrypt.json rename to api-test/src/main/resources/ida/OtpInternalAuth/OtpInternalIdentityEncrypt.json diff --git a/apitest/src/main/resources/ida/OtpInternalAuth/error.hbs b/api-test/src/main/resources/ida/OtpInternalAuth/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpInternalAuth/error.hbs rename to api-test/src/main/resources/ida/OtpInternalAuth/error.hbs diff --git a/apitest/src/main/resources/ida/OtpInternalAuth/otpInternalAuth.hbs b/api-test/src/main/resources/ida/OtpInternalAuth/otpInternalAuth.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpInternalAuth/otpInternalAuth.hbs rename to api-test/src/main/resources/ida/OtpInternalAuth/otpInternalAuth.hbs diff --git a/apitest/src/main/resources/ida/OtpInternalAuth/otpInternalAuthResult.hbs b/api-test/src/main/resources/ida/OtpInternalAuth/otpInternalAuthResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpInternalAuth/otpInternalAuthResult.hbs rename to api-test/src/main/resources/ida/OtpInternalAuth/otpInternalAuthResult.hbs diff --git a/apitest/src/main/resources/ida/OtpInternalAuth/sendOtp.hbs b/api-test/src/main/resources/ida/OtpInternalAuth/sendOtp.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpInternalAuth/sendOtp.hbs rename to api-test/src/main/resources/ida/OtpInternalAuth/sendOtp.hbs diff --git a/apitest/src/main/resources/ida/OtpInternalAuth/sendOtpRes.hbs b/api-test/src/main/resources/ida/OtpInternalAuth/sendOtpRes.hbs similarity index 100% rename from apitest/src/main/resources/ida/OtpInternalAuth/sendOtpRes.hbs rename to api-test/src/main/resources/ida/OtpInternalAuth/sendOtpRes.hbs diff --git a/apitest/src/main/resources/ida/PublishDraft/PublishDraft.yml b/api-test/src/main/resources/ida/PublishDraft/PublishDraft.yml similarity index 87% rename from apitest/src/main/resources/ida/PublishDraft/PublishDraft.yml rename to api-test/src/main/resources/ida/PublishDraft/PublishDraft.yml index eec91ff9b5d..e0bce6fe897 100644 --- a/apitest/src/main/resources/ida/PublishDraft/PublishDraft.yml +++ b/api-test/src/main/resources/ida/PublishDraft/PublishDraft.yml @@ -1,6 +1,7 @@ PublishDraft: auth_PublishDraft_all_valid_smoke: endPoint: /idrepository/v1/identity/draft/publish/{registrationId} + description: publish Draft from registrationID role: idrepo restMethod: get inputTemplate: ida/PublishDraft/publishDraft diff --git a/apitest/src/main/resources/ida/PublishDraft/publishDraft.hbs b/api-test/src/main/resources/ida/PublishDraft/publishDraft.hbs similarity index 100% rename from apitest/src/main/resources/ida/PublishDraft/publishDraft.hbs rename to api-test/src/main/resources/ida/PublishDraft/publishDraft.hbs diff --git a/apitest/src/main/resources/ida/PublishDraft/publishDraftResult.hbs b/api-test/src/main/resources/ida/PublishDraft/publishDraftResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/PublishDraft/publishDraftResult.hbs rename to api-test/src/main/resources/ida/PublishDraft/publishDraftResult.hbs diff --git a/apitest/src/main/resources/ida/RevokeVID/createRevokeVID.hbs b/api-test/src/main/resources/ida/RevokeVID/createRevokeVID.hbs similarity index 100% rename from apitest/src/main/resources/ida/RevokeVID/createRevokeVID.hbs rename to api-test/src/main/resources/ida/RevokeVID/createRevokeVID.hbs diff --git a/apitest/src/main/resources/ida/RevokeVID/createRevokeVID.yml b/api-test/src/main/resources/ida/RevokeVID/createRevokeVID.yml similarity index 97% rename from apitest/src/main/resources/ida/RevokeVID/createRevokeVID.yml rename to api-test/src/main/resources/ida/RevokeVID/createRevokeVID.yml index 520b7601641..48084e76b76 100644 --- a/apitest/src/main/resources/ida/RevokeVID/createRevokeVID.yml +++ b/api-test/src/main/resources/ida/RevokeVID/createRevokeVID.yml @@ -1,6 +1,7 @@ RevokeVID: auth_RevokeVID_all_valid_smoke: endPoint: /resident/v1/vid/$ID:GenerateVID_to_revoke_Perpetual_sid_vid$ + description: revoke given VID role: resident checkErrorsOnlyInResponse: true restMethod: patch diff --git a/apitest/src/main/resources/ida/RevokeVID/createRevokeVIDResult.hbs b/api-test/src/main/resources/ida/RevokeVID/createRevokeVIDResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/RevokeVID/createRevokeVIDResult.hbs rename to api-test/src/main/resources/ida/RevokeVID/createRevokeVIDResult.hbs diff --git a/apitest/src/main/resources/ida/SendOTP/createSendOTP.hbs b/api-test/src/main/resources/ida/SendOTP/createSendOTP.hbs similarity index 100% rename from apitest/src/main/resources/ida/SendOTP/createSendOTP.hbs rename to api-test/src/main/resources/ida/SendOTP/createSendOTP.hbs diff --git a/apitest/src/main/resources/ida/SendOTP/createSendOTP.yml b/api-test/src/main/resources/ida/SendOTP/createSendOTP.yml similarity index 91% rename from apitest/src/main/resources/ida/SendOTP/createSendOTP.yml rename to api-test/src/main/resources/ida/SendOTP/createSendOTP.yml index 152c4defa3d..0aa621c9c30 100644 --- a/apitest/src/main/resources/ida/SendOTP/createSendOTP.yml +++ b/api-test/src/main/resources/ida/SendOTP/createSendOTP.yml @@ -1,6 +1,7 @@ createSendOTP: Resident_SendOTP_All_Valid_Smoke: endPoint: /idauthentication/v1/otp/v4jO2rTUkDglaG7rCkWDnqIT3WpZaGEW9j3FMXwTA5xXKVaDpx/6001/34536061 + description: Send otp to the otp channel for valid UIN role: resident restMethod: post inputTemplate: resident/SendOTP/createSendOTP diff --git a/apitest/src/main/resources/ida/SendOTP/createSendOTPResult.hbs b/api-test/src/main/resources/ida/SendOTP/createSendOTPResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/SendOTP/createSendOTPResult.hbs rename to api-test/src/main/resources/ida/SendOTP/createSendOTPResult.hbs diff --git a/apitest/src/main/resources/ida/UnBlockHotlistAPI/UnBlockHotlistAPI.yml b/api-test/src/main/resources/ida/UnBlockHotlistAPI/UnBlockHotlistAPI.yml similarity index 89% rename from apitest/src/main/resources/ida/UnBlockHotlistAPI/UnBlockHotlistAPI.yml rename to api-test/src/main/resources/ida/UnBlockHotlistAPI/UnBlockHotlistAPI.yml index f82dfdf9d8b..e4771b11d96 100644 --- a/apitest/src/main/resources/ida/UnBlockHotlistAPI/UnBlockHotlistAPI.yml +++ b/api-test/src/main/resources/ida/UnBlockHotlistAPI/UnBlockHotlistAPI.yml @@ -1,6 +1,7 @@ HotlistAPI: auth_HotlistAPI_All_Valid_Smoke_UIN_without_expirytime_sid: endPoint: /v1/hotlist/unblock + description: unblock UIN without expiry time role: hotlist restMethod: post inputTemplate: ida/UnBlockHotlistAPI/UnblockHotlistAPI @@ -16,6 +17,7 @@ HotlistAPI: }' auth_HotlistAPI_All_Valid_Smoke_UIN_with_expirytime_sid: endPoint: /v1/hotlist/unblock + description: unblock UIN with expiry time role: hotlist restMethod: post inputTemplate: ida/UnBlockHotlistAPI/UnblockHotlistAPI @@ -31,6 +33,7 @@ HotlistAPI: }' auth_HotlistAPI_All_Valid_Smoke_VID_without_expirytime_sid: endPoint: /v1/hotlist/unblock + description: unblock Perpetual VID without expiry time role: hotlist restMethod: post inputTemplate: ida/UnBlockHotlistAPI/UnblockHotlistAPI @@ -46,6 +49,7 @@ HotlistAPI: }' auth_HotlistAPI_All_Valid_Smoke_VID_with_expirytime_sid: endPoint: /v1/hotlist/unblock + description: unblock Perpetual VID with expiry time role: hotlist restMethod: post inputTemplate: ida/UnBlockHotlistAPI/UnblockHotlistAPI @@ -61,6 +65,7 @@ HotlistAPI: }' auth_HotlistAPI_All_Valid_Smoke_DEVICE_sid: endPoint: /v1/hotlist/unblock + description: unblock device without expiry time role: hotlist restMethod: post inputTemplate: ida/UnBlockHotlistAPI/UnblockHotlistAPI @@ -76,6 +81,7 @@ HotlistAPI: }' auth_HotlistAPI_All_Valid_Smoke_DEVICE_with_expirytie_sid: endPoint: /v1/hotlist/unblock + description: unblock device with expiry time role: hotlist restMethod: post inputTemplate: ida/UnBlockHotlistAPI/UnblockHotlistAPI @@ -91,6 +97,7 @@ HotlistAPI: }' auth_HotlistAPI_All_Valid_Smoke_deviceProviderId: endPoint: /v1/hotlist/unblock + description: unblock device provider id with expiry time role: hotlist restMethod: post inputTemplate: ida/UnBlockHotlistAPI/UnblockHotlistAPI diff --git a/apitest/src/main/resources/ida/UnBlockHotlistAPI/UnBlockHotlistAPIForPartnerId.yml b/api-test/src/main/resources/ida/UnBlockHotlistAPI/UnBlockHotlistAPIForPartnerId.yml similarity index 92% rename from apitest/src/main/resources/ida/UnBlockHotlistAPI/UnBlockHotlistAPIForPartnerId.yml rename to api-test/src/main/resources/ida/UnBlockHotlistAPI/UnBlockHotlistAPIForPartnerId.yml index 0cafbbba01d..cf6d150a63e 100644 --- a/apitest/src/main/resources/ida/UnBlockHotlistAPI/UnBlockHotlistAPIForPartnerId.yml +++ b/api-test/src/main/resources/ida/UnBlockHotlistAPI/UnBlockHotlistAPIForPartnerId.yml @@ -1,6 +1,7 @@ HotlistAPI: auth_HotlistAPI_All_Valid_Smoke_sid: endPoint: /v1/hotlist/unblock + description: unblock partnerid role: hotlist restMethod: post inputTemplate: ida/UnBlockHotlistAPI/UnblockHotlistAPI @@ -16,6 +17,7 @@ HotlistAPI: }' auth_HotlistAPI_All_Valid_Smoke_Unblock_API_KEY_sid: endPoint: /v1/hotlist/unblock + description: unblock apikey role: hotlist restMethod: post inputTemplate: ida/UnBlockHotlistAPI/UnblockHotlistAPI @@ -31,6 +33,7 @@ HotlistAPI: }' auth_HotlistAPI_All_Valid_Smoke_Unblock_MISP_KEY_sid: endPoint: /v1/hotlist/unblock + description: unblock apikey role: hotlist restMethod: post inputTemplate: ida/UnBlockHotlistAPI/UnblockHotlistAPI diff --git a/apitest/src/main/resources/ida/UnBlockHotlistAPI/UnblockHotlistAPI.hbs b/api-test/src/main/resources/ida/UnBlockHotlistAPI/UnblockHotlistAPI.hbs similarity index 100% rename from apitest/src/main/resources/ida/UnBlockHotlistAPI/UnblockHotlistAPI.hbs rename to api-test/src/main/resources/ida/UnBlockHotlistAPI/UnblockHotlistAPI.hbs diff --git a/apitest/src/main/resources/ida/UnBlockHotlistAPI/UnblockHotlistAPIResult.hbs b/api-test/src/main/resources/ida/UnBlockHotlistAPI/UnblockHotlistAPIResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/UnBlockHotlistAPI/UnblockHotlistAPIResult.hbs rename to api-test/src/main/resources/ida/UnBlockHotlistAPI/UnblockHotlistAPIResult.hbs diff --git a/apitest/src/main/resources/ida/UpdateDraft/UpdateDraft.yml b/api-test/src/main/resources/ida/UpdateDraft/UpdateDraft.yml similarity index 99% rename from apitest/src/main/resources/ida/UpdateDraft/UpdateDraft.yml rename to api-test/src/main/resources/ida/UpdateDraft/UpdateDraft.yml index 6914bc66f85..c4850e22b18 100644 --- a/apitest/src/main/resources/ida/UpdateDraft/UpdateDraft.yml +++ b/api-test/src/main/resources/ida/UpdateDraft/UpdateDraft.yml @@ -1,6 +1,7 @@ UpdateDraft: auth_UpdateDraft_Smoke_Pos: endPoint: /idrepository/v1/identity/draft/update/{registrationId} + description: update draft from registrationid role: idrepo restMethod: patch inputTemplate: ida/UpdateDraft/updateDraft_$LANGNUMBER$ diff --git a/apitest/src/main/resources/ida/UpdateDraft/updateDraftResult.hbs b/api-test/src/main/resources/ida/UpdateDraft/updateDraftResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/UpdateDraft/updateDraftResult.hbs rename to api-test/src/main/resources/ida/UpdateDraft/updateDraftResult.hbs diff --git a/apitest/src/main/resources/ida/UpdateIdentity/UpdateIdentity.yml b/api-test/src/main/resources/ida/UpdateIdentity/UpdateIdentity.yml similarity index 93% rename from apitest/src/main/resources/ida/UpdateIdentity/UpdateIdentity.yml rename to api-test/src/main/resources/ida/UpdateIdentity/UpdateIdentity.yml index c4cb5d63595..140eb1db39d 100644 --- a/apitest/src/main/resources/ida/UpdateIdentity/UpdateIdentity.yml +++ b/api-test/src/main/resources/ida/UpdateIdentity/UpdateIdentity.yml @@ -1,6 +1,7 @@ UpdateIdentity: Auth_UpdateIdentity_updatePhone_withValidParameters_smoke_Pos_smoke: endPoint: /idrepository/v1/identity/ + description: update DOB and Activate UIN role: idrepo checkErrorsOnlyInResponse: true restMethod: patch @@ -34,6 +35,7 @@ UpdateIdentity: }' Auth_UpdateIdentity_updateAddress_Positive_EKYC_smoke: endPoint: /idrepository/v1/identity/ + description: update DOB and Activate UIN for Ekyc role: idrepo restMethod: patch inputTemplate: ida/UpdateIdentity/updateIdentity @@ -52,6 +54,7 @@ UpdateIdentity: }' Auth_UpdateIdentity_updateName_Positive_valid_smoke: endPoint: /idrepository/v1/identity/ + description: update DOB and Activate UIN role: idrepo restMethod: patch inputTemplate: ida/UpdateIdentity/updateIdentity @@ -70,6 +73,7 @@ UpdateIdentity: }' Auth_UpdateIdentity_updateDOB_ValidParam_smoke_Pos_all_valid_smoke: endPoint: /idrepository/v1/identity/ + description: update DOB and Activate UIN role: idrepo restMethod: patch inputTemplate: ida/UpdateIdentity/updateIdentity @@ -88,6 +92,7 @@ UpdateIdentity: }' Auth_UpdateIdentity_DEACTIVATED_and_auth_smoke_Pos_all_valid_smoke: endPoint: /idrepository/v1/identity/ + description: update DOB and Deactivate UIN role: idrepo restMethod: patch inputTemplate: ida/UpdateIdentity/updateIdentity @@ -106,6 +111,7 @@ UpdateIdentity: }' Auth_UpdateIdentity_DEACTIVATED_Positive_TRE_all_valid_smoke: endPoint: /idrepository/v1/identity/ + description: update DOB and Deactivate UIN role: idrepo restMethod: patch inputTemplate: ida/UpdateIdentity/updateIdentity @@ -124,6 +130,7 @@ UpdateIdentity: }' Auth_UpdateIdentity_ACTIVATED_Positive_TRE_all_valid_smoke: endPoint: /idrepository/v1/identity/ + description: update DOB and Activate UIN role: idrepo restMethod: patch inputTemplate: ida/UpdateIdentity/updateIdentity diff --git a/apitest/src/main/resources/ida/UpdateIdentity/sendOtp.hbs b/api-test/src/main/resources/ida/UpdateIdentity/sendOtp.hbs similarity index 100% rename from apitest/src/main/resources/ida/UpdateIdentity/sendOtp.hbs rename to api-test/src/main/resources/ida/UpdateIdentity/sendOtp.hbs diff --git a/apitest/src/main/resources/ida/UpdateIdentity/sendOtpRes.hbs b/api-test/src/main/resources/ida/UpdateIdentity/sendOtpRes.hbs similarity index 100% rename from apitest/src/main/resources/ida/UpdateIdentity/sendOtpRes.hbs rename to api-test/src/main/resources/ida/UpdateIdentity/sendOtpRes.hbs diff --git a/apitest/src/main/resources/ida/UpdateIdentity/updateIdentity.hbs b/api-test/src/main/resources/ida/UpdateIdentity/updateIdentity.hbs similarity index 100% rename from apitest/src/main/resources/ida/UpdateIdentity/updateIdentity.hbs rename to api-test/src/main/resources/ida/UpdateIdentity/updateIdentity.hbs diff --git a/apitest/src/main/resources/ida/UpdateIdentity/updateIdentityResult.hbs b/api-test/src/main/resources/ida/UpdateIdentity/updateIdentityResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/UpdateIdentity/updateIdentityResult.hbs rename to api-test/src/main/resources/ida/UpdateIdentity/updateIdentityResult.hbs diff --git a/apitest/src/main/resources/ida/UpdateIdentityForUin/UpdateIdentity.yml b/api-test/src/main/resources/ida/UpdateIdentityForUin/UpdateIdentity.yml similarity index 93% rename from apitest/src/main/resources/ida/UpdateIdentityForUin/UpdateIdentity.yml rename to api-test/src/main/resources/ida/UpdateIdentityForUin/UpdateIdentity.yml index a891a1d41ca..a1457d794d5 100644 --- a/apitest/src/main/resources/ida/UpdateIdentityForUin/UpdateIdentity.yml +++ b/api-test/src/main/resources/ida/UpdateIdentityForUin/UpdateIdentity.yml @@ -1,6 +1,7 @@ UpdateIdentityForUin: Auth_UpdateIdentityForUin_ACTIVATED_Positive_TRE_all_valid_smoke: endPoint: /idrepository/v1/identity/ + description: Deactivate the activated UIN role: idrepo restMethod: patch inputTemplate: ida/UpdateIdentityForUin/updateIdentity diff --git a/apitest/src/main/resources/ida/UpdateIdentityForUin/updateIdentity.hbs b/api-test/src/main/resources/ida/UpdateIdentityForUin/updateIdentity.hbs similarity index 100% rename from apitest/src/main/resources/ida/UpdateIdentityForUin/updateIdentity.hbs rename to api-test/src/main/resources/ida/UpdateIdentityForUin/updateIdentity.hbs diff --git a/apitest/src/main/resources/ida/UpdateIdentityForUin/updateIdentityResult.hbs b/api-test/src/main/resources/ida/UpdateIdentityForUin/updateIdentityResult.hbs similarity index 100% rename from apitest/src/main/resources/ida/UpdateIdentityForUin/updateIdentityResult.hbs rename to api-test/src/main/resources/ida/UpdateIdentityForUin/updateIdentityResult.hbs diff --git a/apitest/src/main/resources/ida/autoGeneratedId.properties b/api-test/src/main/resources/ida/autoGeneratedId.properties similarity index 100% rename from apitest/src/main/resources/ida/autoGeneratedId.properties rename to api-test/src/main/resources/ida/autoGeneratedId.properties diff --git a/apitest/src/main/resources/ida/bioValueEncryptionTemplate.json b/api-test/src/main/resources/ida/bioValueEncryptionTemplate.json similarity index 100% rename from apitest/src/main/resources/ida/bioValueEncryptionTemplate.json rename to api-test/src/main/resources/ida/bioValueEncryptionTemplate.json diff --git a/apitest/src/main/resources/ida/error.hbs b/api-test/src/main/resources/ida/error.hbs similarity index 100% rename from apitest/src/main/resources/ida/error.hbs rename to api-test/src/main/resources/ida/error.hbs diff --git a/apitest/src/main/resources/ida/errorUIN.hbs b/api-test/src/main/resources/ida/errorUIN.hbs similarity index 100% rename from apitest/src/main/resources/ida/errorUIN.hbs rename to api-test/src/main/resources/ida/errorUIN.hbs diff --git a/apitest/src/main/resources/ida/mapping.properties b/api-test/src/main/resources/ida/mapping.properties similarity index 100% rename from apitest/src/main/resources/ida/mapping.properties rename to api-test/src/main/resources/ida/mapping.properties diff --git a/apitest/src/main/resources/krb5.conf b/api-test/src/main/resources/krb5.conf similarity index 100% rename from apitest/src/main/resources/krb5.conf rename to api-test/src/main/resources/krb5.conf diff --git a/apitest/src/main/resources/log4j.properties b/api-test/src/main/resources/log4j.properties similarity index 100% rename from apitest/src/main/resources/log4j.properties rename to api-test/src/main/resources/log4j.properties diff --git a/apitest/src/main/resources/metadata.xml b/api-test/src/main/resources/metadata.xml similarity index 100% rename from apitest/src/main/resources/metadata.xml rename to api-test/src/main/resources/metadata.xml diff --git a/apitest/src/main/resources/spring.properties b/api-test/src/main/resources/spring.properties similarity index 100% rename from apitest/src/main/resources/spring.properties rename to api-test/src/main/resources/spring.properties diff --git a/api-test/src/main/resources/testCaseSkippedList.txt b/api-test/src/main/resources/testCaseSkippedList.txt new file mode 100644 index 00000000000..76c50d7e341 --- /dev/null +++ b/api-test/src/main/resources/testCaseSkippedList.txt @@ -0,0 +1,2 @@ +##### JIRA number;testcase +#MOSIP-12456------Mimoto_AddIdentity_Binding_smoke_Pos \ No newline at end of file diff --git a/apitest/src/main/resources/validations.properties b/api-test/src/main/resources/validations.properties similarity index 100% rename from apitest/src/main/resources/validations.properties rename to api-test/src/main/resources/validations.properties diff --git a/apitest/testNgXmlFiles/authenticationApi.xml b/api-test/testNgXmlFiles/authenticationApi.xml similarity index 88% rename from apitest/testNgXmlFiles/authenticationApi.xml rename to api-test/testNgXmlFiles/authenticationApi.xml index 6a2816afc69..d7a844b9ee5 100644 --- a/apitest/testNgXmlFiles/authenticationApi.xml +++ b/api-test/testNgXmlFiles/authenticationApi.xml @@ -11,6 +11,7 @@ + @@ -18,6 +19,7 @@ + @@ -26,6 +28,7 @@ + @@ -34,6 +37,7 @@ + @@ -42,6 +46,7 @@ + @@ -49,6 +54,7 @@ + @@ -58,6 +64,7 @@ + @@ -65,6 +72,7 @@ + @@ -73,6 +81,7 @@ + @@ -81,6 +90,7 @@ + @@ -89,6 +99,7 @@ + @@ -97,6 +108,7 @@ + @@ -105,6 +117,7 @@ + @@ -159,6 +172,7 @@ + @@ -167,6 +181,7 @@ + @@ -208,6 +223,7 @@ + @@ -216,6 +232,7 @@ + @@ -237,6 +254,7 @@ + @@ -246,6 +264,7 @@ + @@ -271,6 +290,7 @@ + @@ -279,10 +299,11 @@ + - + \ No newline at end of file diff --git a/apitest/entrypoint.sh b/apitest/entrypoint.sh deleted file mode 100644 index d6c99fcd02d..00000000000 --- a/apitest/entrypoint.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -## Run automationtests -java -jar -Dmodules="$MODULES" -Denv.user="$ENV_USER" -Denv.endpoint="$ENV_ENDPOINT" -Denv.testLevel="$ENV_TESTLEVEL" apitest-auth-*-jar-with-dependencies.jar; diff --git a/apitest/pom.xml b/apitest/pom.xml deleted file mode 100644 index 1b76e0fff93..00000000000 --- a/apitest/pom.xml +++ /dev/null @@ -1,396 +0,0 @@ - - 4.0.0 - io.mosip.authentication - apitest-auth - jar - apitest-auth - Parent project of apitest-auth - https://github.com/mosip/id-authentication - 1.2.1-SNAPSHOT - - - - MPL 2.0 - https://www.mozilla.org/en-US/MPL/2.0/ - - - - - scm:git:git://github.com/mosip/id-authentication.git - scm:git:ssh://github.com:mosip/id-authentication.git - https://github.com/mosip/id-authentication - HEAD - - - - - Mosip - mosip.emailnotifier@gmail.com - io.mosip - https://github.com/mosip/id-authentication - - - - - - - UTF-8 - - - 11 - 11 - 3.7.0 - 3.0.2 - 3.1.0 - 2.9 - 0.8.1 - 3.2 - 3.0.1 - 2.3 - false - 3.7.0.1746 - - 2.0.2.RELEASE - 2.0.7.RELEASE - 5.0.5.RELEASE - 2.0.0.RELEASE - - 2.0.7 - 1.5.20 - 2.9.2 - - 3.6.2 - 3.7.0 - - - - 1.2 - 3.0.0 - 1.3 - 2.2 - 2.0.1.Final - 2.2.6 - - - 1.4.197 - 5.1.46 - 42.2.2 - 2.5.0 - 6.0.12.Final - - - 1.10.19 - 1.7.4 - 2.0.0-beta.5 - - - 3.6.1 - 3.7 - 2.6 - 1.11 - 4.3 - 1.9.2 - 2.2 - 4.5.6 - 19.0 - 1.18.8 - 0.1.54 - 1.4.0 - 7.1.0 - 2.0.0 - 5.5.13 - 2.3.23 - 1.7 - 2.0 - 1.5.2 - 2.1.1 - 1.60 - 63.1 - 1.0.0 - 3.3.3 - 2.8.1 - 4.1.0-incubating - 1.11.368 - 0.2.4 - 2.3.0 - 3.0.1 - 1.9.12 - 0.6.0 - 2.0.0.AM2 - - - - - - - - 0.8.2 - 2.2 - 3.2 - UTF-8 - 3.7.0 - 3.0.1 - - - 1.1.6 - 1.7.19 - 1.10.19 - - - 1.4.6 - - - 5.0.6.RELEASE - - - 5.4.2.Final - - - 2.1.1 - - - 10.13.1.1 - - - 3.4.0 - - - 1.3.5 - - - 0.3.12 - - - 0.3.0 - - - 1.1.2-incubating - 1.2.0.1-B1 - 0.4.7 - 3.0.0 - 2.41.2 - 2.4.0 - 3.3.9 - 3.0.7 - 6.11 - 1.13 - apitest-auth-1.2.0.1-SNAPSHOT-jar-with-dependencies - - - - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadocs - - jar - - - - - none - - - - maven-compiler-plugin - 3.5.1 - - 11 - 11 - -Dfile.encoding=UTF-8 - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.2.0 - - none - - - - pl.project13.maven - git-commit-id-plugin - 3.0.1 - - - populate-git-commit-information - - revision - - - true - MM/dd/yyyy HH:mm:ss Z - 8 - true - ${project.build.outputDirectory}/git.properties - - - - - ${project.basedir}/.git - - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.5 - - - sign-artifacts - verify - - sign - - - - --pinentry-mode - loopback - - - - - - - - - org.apache.maven.plugins - maven-shade-plugin - 3.2.4 - - - - shade - - - ${fileName} - - - - - - io.mosip.testrig.apirig.testrunner.MosipTestRunner - - - - - - *:* - - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - - - - - - - - - org.apache.maven.plugins - maven-jar-plugin - ${maven.jar.plugin.version} - - - - true - true - - - ${project.name} - ${project.version} - ${user.name} - ${os.name} - ${maven.build.timestamp} - ${env.BUILD_NUMBER} - ${env.BUILD_ID} - ${env.BUILD_URL} - - - - - - org.apache.maven.plugins - maven-war-plugin - ${maven.war.plugin.version} - - - - true - true - - - ${project.name} - ${project.version} - ${user.name} - ${os.name} - ${maven.build.timestamp} - ${env.BUILD_NUMBER} - ${env.BUILD_ID} - ${env.BUILD_URL} - - - - - - org.apache.maven.plugins - maven-source-plugin - 2.2.1 - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 3.0.0 - - - make-jar-executable - package - - run - - - - - - - - - - - - - - - - - - - io.mosip.testrig.apirig.apitest.commons - apitest-commons - 1.2.1-SNAPSHOT - - - - - diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/BioAuth.java b/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/BioAuth.java deleted file mode 100644 index a73e4f087b5..00000000000 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/BioAuth.java +++ /dev/null @@ -1,388 +0,0 @@ -package io.mosip.testrig.apirig.testscripts; - -import java.lang.reflect.Field; -import java.util.List; -import java.util.Map; - -import org.apache.log4j.Level; -import org.apache.log4j.Logger; -import org.json.JSONObject; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Component; -import org.testng.ITest; -import org.testng.ITestContext; -import org.testng.ITestResult; -import org.testng.Reporter; -import org.testng.annotations.AfterClass; -import org.testng.annotations.AfterMethod; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.DataProvider; -import org.testng.annotations.Test; -import org.testng.internal.BaseTestMethod; -import org.testng.internal.TestResult; - -import io.mosip.testrig.apirig.dto.OutputValidationDto; -import io.mosip.testrig.apirig.dto.TestCaseDTO; -import io.mosip.testrig.apirig.utils.AdminTestException; -import io.mosip.testrig.apirig.utils.AdminTestUtil; -import io.mosip.testrig.apirig.utils.AuthenticationTestException; -import io.mosip.testrig.apirig.utils.BioDataUtility; -import io.mosip.testrig.apirig.utils.ConfigManager; -import io.mosip.testrig.apirig.utils.EncryptionDecrptionUtil; -import io.mosip.testrig.apirig.utils.OutputValidationUtil; -import io.mosip.testrig.apirig.utils.PartnerRegistration; -import io.mosip.testrig.apirig.utils.ReportUtil; -import io.restassured.response.Response; - -@Component -public class BioAuth extends AdminTestUtil implements ITest { - private static final Logger logger = Logger.getLogger(BioAuth.class); - protected String testCaseName = ""; - public Response response = null; - public Response newResponse = null; - public boolean isInternal = false; - - @Autowired - private EncryptionDecrptionUtil encryptDecryptUtil; - - @Autowired - private BioDataUtility bioDataUtil; - - @BeforeClass - public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) - logger.setLevel(Level.ALL); - else - logger.setLevel(Level.ERROR); - } - - /** - * get current testcaseName - */ - @Override - public String getTestName() { - return testCaseName; - } - - /** - * Data provider class provides test case list - * - * @return object of data provider - */ - @DataProvider(name = "testcaselist") - public Object[] getTestCaseList(ITestContext context) { - String ymlFile = context.getCurrentXmlTest().getLocalParameters().get("ymlFile"); - isInternal = Boolean.parseBoolean(context.getCurrentXmlTest().getLocalParameters().get("isInternal")); - logger.info("Started executing yml: " + ymlFile); - return getYmlTestData(ymlFile); - } - @Test(dataProvider = "testcaselist") - public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { - testCaseName = testCaseDTO.getTestCaseName(); -// String ekycPartnerId = getPartnerIdFromPartnerURL(ekycPartnerKeyUrl); -// String mispLicKey =""; -// String kycApiKey = KeyCloakUserAndAPIKeyGeneration.createKCUserAndGetAPIKeyForKyc(); -// mispLicKey = MispPartnerAndLicenseKeyGeneration.getAndUploadCertificatesAndGenerateMispLicKey(); - - - String partnerKeyUrl = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.partnerId + "/" + PartnerRegistration.apiKey; - - String ekycPartnerKeyURL = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.ekycPartnerId + "/" + PartnerRegistration.kycApiKey; - - if(testCaseDTO.getEndPoint().contains("$partnerKeyURL$")) - { - testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$partnerKeyURL$", partnerKeyUrl)); - PartnerRegistration.appendEkycOrRp = "rp-"; - } - if(testCaseDTO.getEndPoint().contains("$ekycPartnerKeyURL$")) - { - testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$ekycPartnerKeyURL$", ekycPartnerKeyURL)); - PartnerRegistration.appendEkycOrRp = "ekyc-"; - } - if (testCaseDTO.getEndPoint().contains("$UpdatedPartnerKeyURL$")) { - testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$UpdatedPartnerKeyURL$", - PartnerRegistration.updatedpartnerKeyUrl)); - } - JSONObject request = new JSONObject(testCaseDTO.getInput()); - String identityRequest = null, identityRequestTemplate = null, identityRequestEncUrl = null; - if (request.has("identityRequest")) { - identityRequest = request.get("identityRequest").toString(); - request.remove("identityRequest"); - } - identityRequest = buildIdentityRequest(identityRequest); - - JSONObject identityReqJson = new JSONObject(identityRequest); - identityRequestTemplate = identityReqJson.getString("identityRequestTemplate"); - identityReqJson.remove("identityRequestTemplate"); - identityRequestEncUrl = identityReqJson.getString("identityRequestEncUrl"); - identityReqJson.remove("identityRequestEncUrl"); - identityRequest = getJsonFromTemplate(identityReqJson.toString(), identityRequestTemplate); - - String encryptedIdentityReq = null; - try { - encryptedIdentityReq = bioDataUtil.constractBioIdentityRequest(identityRequest, - getResourcePath() + props.getProperty("bioValueEncryptionTemplate"), testCaseName, isInternal); - System.out.println("encryptedIdentityReq = " + encryptedIdentityReq); - } catch (Exception e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - - Map bioAuthTempMap = (isInternal) - ? encryptDecryptUtil.getInternalEncryptSessionKeyValue(encryptedIdentityReq) - : encryptDecryptUtil.getEncryptSessionKeyValue(encryptedIdentityReq); - // storeValue(bioAuthTempMap); - String authRequest = getJsonFromTemplate(request.toString(), testCaseDTO.getInputTemplate()); - logger.info("************* Modification of bio auth request ******************"); - Reporter.log("Modification of bio auth request"); - - logger.info("authRequest is = " + authRequest); - logger.info("bioAuthTempMap is = " + bioAuthTempMap); - authRequest = modifyRequest(authRequest, bioAuthTempMap, - getResourcePath() + props.getProperty("idaMappingPath")); - logger.info("authRequestTemp is = " + authRequest); - JSONObject authRequestTemp = new JSONObject(authRequest); - authRequestTemp.remove("env"); - authRequestTemp.put("env", "Staging"); - authRequest = authRequestTemp.toString(); - testCaseDTO.setInput(authRequest); - // storeValue(authRequest,"authRequest"); - - logger.info("******Post request Json to EndPointUrl: " + ApplnURI + testCaseDTO.getEndPoint() + " *******"); - - response = postRequestWithCookieAuthHeaderAndSignature(ApplnURI + testCaseDTO.getEndPoint(), authRequest, - COOKIENAME, testCaseDTO.getRole(), testCaseDTO.getTestCaseName()); - - Map> ouputValid = OutputValidationUtil.doJsonOutputValidation( - response.asString(), getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate())); - Reporter.log(ReportUtil.getOutputValidationReport(ouputValid)); - - if (!OutputValidationUtil.publishOutputResult(ouputValid)) - throw new AdminTestException("Failed at output validation"); - - - /* - * if (testCaseName.toLowerCase().contains("kyc")) { String error = null; if - * (response.getBody().asString().contains("errors")) error = - * JsonPrecondtion.getJsonValueFromJson(response.getBody().asString(), - * "errors"); if (error.equalsIgnoreCase("null")) - * encryptDecryptUtil.validateThumbPrintAndIdentity(response, - * testCaseDTO.getEndPoint()); } - */ - - - /* - * if - * (!encryptDecryptUtil.verifyResponseUsingDigitalSignature(response.asString(), - * response.getHeader(props.getProperty("signatureheaderKey")))) throw new - * AdminTestException("Failed at Signature validation"); - */ - - } - - - -// /** -// * Test method for OTP Generation execution -// * -// * @param objTestParameters -// * @param testScenario -// * @param testcaseName -// * @throws AuthenticationTestException -// * @throws AdminTestException -// */ -// @Test(dataProvider = "testcaselist") -// public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { -// testCaseName = testCaseDTO.getTestCaseName(); -// String[] kycFields = testCaseDTO.getKycFields(); -// -// if (HealthChecker.signalTerminateExecution) { -// throw new SkipException( -// GlobalConstants.TARGET_ENV_HEALTH_CHECK_FAILED + HealthChecker.healthCheckFailureMapS); -// } -// -// testCaseName = isTestCaseValidForExecution(testCaseDTO); -// -// if (testCaseDTO.getTestCaseName().contains("uin") || testCaseDTO.getTestCaseName().contains("UIN")) { -// if (!BaseTestCase.getSupportedIdTypesValueFromActuator().contains("UIN") -// && !BaseTestCase.getSupportedIdTypesValueFromActuator().contains("uin")) { -// throw new SkipException(GlobalConstants.UIN_FEATURE_NOT_SUPPORTED); -// } -// } -// -// if (testCaseDTO.getTestCaseName().contains("VID") || testCaseDTO.getTestCaseName().contains("Vid")) { -// if (!BaseTestCase.getSupportedIdTypesValueFromActuator().contains("VID") -// && !BaseTestCase.getSupportedIdTypesValueFromActuator().contains("vid")) { -// throw new SkipException(GlobalConstants.VID_FEATURE_NOT_SUPPORTED); -// } -// } -// -// if (testCaseDTO.getEndPoint().contains("$PartnerKeyURL$")) { -// testCaseDTO.setEndPoint( -// testCaseDTO.getEndPoint().replace("$PartnerKeyURL$", PartnerRegistration.partnerKeyUrl)); -// } -// -// if (testCaseDTO.getEndPoint().contains("$KycPartnerKeyURL$")) { -// testCaseDTO.setEndPoint( -// testCaseDTO.getEndPoint().replace("$KycPartnerKeyURL$", PartnerRegistration.ekycPartnerKeyUrl)); -// } -// -// if (testCaseDTO.getEndPoint().contains("$UpdatedPartnerKeyURL$")) { -// testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$UpdatedPartnerKeyURL$", -// PartnerRegistration.updatedpartnerKeyUrl)); -// } -// -// if (testCaseDTO.getEndPoint().contains("$PartnerName$")) { -// testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$PartnerName$", PartnerRegistration.partnerId)); -// } -// -// if (testCaseDTO.getEndPoint().contains("$KycPartnerName$")) { -// testCaseDTO.setEndPoint( -// testCaseDTO.getEndPoint().replace("$KycPartnerName$", PartnerRegistration.ekycPartnerId)); -// } -// String request = testCaseDTO.getInput(); -// request = buildIdentityRequest(request); -// -// String inputJSON = getJsonFromTemplate(request, testCaseDTO.getInputTemplate()); -// String resolvedUri = null; -// String individualId = null; -// resolvedUri = uriKeyWordHandelerUri(testCaseDTO.getEndPoint(), testCaseName); -// -// individualId = AdminTestUtil.getValueFromUrl(resolvedUri, "id"); -// -// String url = ConfigManager.getAuthDemoServiceUrl(); -// -// response = postWithBodyAndCookie(url + testCaseDTO.getEndPoint(), inputJSON, COOKIENAME, testCaseDTO.getRole(), -// testCaseDTO.getTestCaseName()); -// -// String ActualOPJson = getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate()); -// -// if (testCaseDTO.getTestCaseName().contains("uin") || testCaseDTO.getTestCaseName().contains("UIN")) { -// if (BaseTestCase.getSupportedIdTypesValueFromActuator().contains("UIN") -// || BaseTestCase.getSupportedIdTypesValueFromActuator().contains("uin")) { -// ActualOPJson = getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate()); -// } else { -// if (testCaseDTO.getTestCaseName().contains("auth_EkycBio")) { -// ActualOPJson = AdminTestUtil.getRequestJson("config/errorUINKyc.json").toString(); -// } else { -// ActualOPJson = AdminTestUtil.getRequestJson("config/errorUIN.json").toString(); -// } -// -// } -// } else { -// if (testCaseDTO.getTestCaseName().contains("VID") || testCaseDTO.getTestCaseName().contains("Vid")) { -// if (BaseTestCase.getSupportedIdTypesValueFromActuator().contains("VID") -// || BaseTestCase.getSupportedIdTypesValueFromActuator().contains("vid")) { -// ActualOPJson = getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate()); -// } else { -// if (testCaseDTO.getTestCaseName().contains("auth_EkycBio")) { -// ActualOPJson = AdminTestUtil.getRequestJson("config/errorUINKyc.json").toString(); -// } else { -// ActualOPJson = AdminTestUtil.getRequestJson("config/errorUIN.json").toString(); -// } -// -// } -// } -// } -// -// Map> ouputValid = OutputValidationUtil -// .doJsonOutputValidation(response.asString(), ActualOPJson, testCaseDTO, response.getStatusCode()); -// Reporter.log(ReportUtil.getOutputValidationReport(ouputValid)); -// -// if (!OutputValidationUtil.publishOutputResult(ouputValid)) -// throw new AdminTestException("Failed at output validation"); -// -// if (testCaseName.toLowerCase().contains("kyc")) { -// JSONObject resJsonObject = new JSONObject(response.asString()); -// String res = ""; -// try { -// // res = resJsonObject.get("response").toString(); -// resJsonObject = new JSONObject(response.getBody().asString()).getJSONObject("authResponse") -// .getJSONObject("body").getJSONObject("response"); -// -// res = AdminTestUtil.ekycDataDecryption(url, resJsonObject, PartnerRegistration.ekycPartnerId, true); -// -// JSONObject jsonObjectkycRes = new JSONObject(res); -// JSONObject jsonObjectFromKycData = new JSONObject(); -// JSONObject jsonObjectFromIdentityData = new JSONObject(); -// // List myList =new ArrayList<>(); -// -// ArrayList names = new ArrayList<>(); -// ArrayList names2 = new ArrayList<>(); -// -// for (int i = 0; i < kycFields.length; i++) { -// for (String key : jsonObjectkycRes.keySet()) { -// if (key.contains(kycFields[i])) { -// names.add(key);// dob gender_eng -// names2.add(kycFields[i]);// dob gender -// jsonObjectFromKycData.append(key, jsonObjectkycRes.getString(key)); -// break; -// } -// } -// -// } -// -// newResponse = RestClient.getRequestWithCookie( -// ApplnURI + props.getProperty("retrieveIdByUin") + individualId, MediaType.APPLICATION_JSON, -// MediaType.APPLICATION_JSON, COOKIENAME, kernelAuthLib.getTokenByRole("idrepo"), -// IDTOKENCOOKIENAME, null); -// -// GlobalMethods.reportResponse(newResponse.getHeaders().asList().toString(), url, newResponse); -// -// JSONObject responseBody = new JSONObject(newResponse.getBody().asString()).getJSONObject("response") -// .getJSONObject("identity"); -// -// for (int j = 0; j < names2.size(); j++) { -// -// String mappingField = getValueFromAuthActuator("json-property", names2.get(j)); -// mappingField = mappingField.replaceAll("\\[\"|\"\\]", ""); -// JSONArray valueOfJsonArray = responseBody.optJSONArray(mappingField); -// if (valueOfJsonArray != null) { -// jsonObjectFromIdentityData.append(names.get(j), valueOfJsonArray.getJSONObject(0).get("value")); -// -// valueOfJsonArray = null; -// } else { -// jsonObjectFromIdentityData.append(names.get(j), responseBody.getString(mappingField)); -// } -// -// } -// -// ouputValid = OutputValidationUtil.doJsonOutputValidation(jsonObjectFromIdentityData.toString(), -// jsonObjectFromKycData.toString(), testCaseDTO, response.getStatusCode()); -// Reporter.log(ReportUtil.getOutputValidationReport(ouputValid)); -// -// if (!OutputValidationUtil.publishOutputResult(ouputValid)) -// throw new AdminTestException("Failed at output validation"); -// -// } catch (JSONException e) { -// logger.error(e.getMessage()); -// } -// -// } -// } - - /** - * The method ser current test name to result - * - * @param result - */ - @AfterMethod(alwaysRun = true) - public void setResultTestName(ITestResult result) { - try { - Field method = TestResult.class.getDeclaredField("m_method"); - method.setAccessible(true); - method.set(result, result.getMethod().clone()); - BaseTestMethod baseTestMethod = (BaseTestMethod) result.getMethod(); - Field f = baseTestMethod.getClass().getSuperclass().getDeclaredField("m_methodName"); - f.setAccessible(true); - f.set(baseTestMethod, testCaseName); - } catch (Exception e) { - Reporter.log("Exception : " + e.getMessage()); - } - - } - - @AfterClass - public static void authTestTearDown() { - } -} diff --git a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/OtpAuthNew.java b/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/OtpAuthNew.java deleted file mode 100644 index 62819491a66..00000000000 --- a/apitest/src/main/java/io/mosip/testrig/apirig/testscripts/OtpAuthNew.java +++ /dev/null @@ -1,423 +0,0 @@ -package io.mosip.testrig.apirig.testscripts; - - -import java.lang.reflect.Field; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.apache.log4j.Level; -import org.apache.log4j.Logger; -import org.json.JSONException; -import org.json.JSONObject; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Component; -import org.testng.ITest; -import org.testng.ITestContext; -import org.testng.ITestResult; -import org.testng.Reporter; -import org.testng.SkipException; -import org.testng.annotations.AfterClass; -import org.testng.annotations.AfterMethod; -import org.testng.annotations.BeforeClass; -import org.testng.annotations.DataProvider; -import org.testng.annotations.Test; -import org.testng.internal.BaseTestMethod; -import org.testng.internal.TestResult; - -import io.mosip.testrig.apirig.dto.OutputValidationDto; -import io.mosip.testrig.apirig.dto.TestCaseDTO; -import io.mosip.testrig.apirig.testrunner.HealthChecker; -import io.mosip.testrig.apirig.utils.AdminTestException; -import io.mosip.testrig.apirig.utils.AdminTestUtil; -import io.mosip.testrig.apirig.utils.AuthenticationTestException; -import io.mosip.testrig.apirig.utils.ConfigManager; -import io.mosip.testrig.apirig.utils.EncryptionDecrptionUtil; -import io.mosip.testrig.apirig.utils.FileUtil; -import io.mosip.testrig.apirig.utils.OutputValidationUtil; -import io.mosip.testrig.apirig.utils.PartnerRegistration; -import io.mosip.testrig.apirig.utils.ReportUtil; -import io.restassured.response.Response; - -@Component -public class OtpAuthNew extends AdminTestUtil implements ITest { - private static final Logger logger = Logger.getLogger(OtpAuthNew.class); - protected String testCaseName = ""; - public Response response = null; - public boolean isInternal = false; - - @Autowired - private EncryptionDecrptionUtil encryptDecryptUtil; - - @BeforeClass - public static void setLogLevel() { - if (ConfigManager.IsDebugEnabled()) - logger.setLevel(Level.ALL); - else - logger.setLevel(Level.ERROR); - } - - /** - * get current testcaseName - */ - @Override - public String getTestName() { - return testCaseName; - } - - /** - * Data provider class provides test case list - * - * @return object of data provider - */ - @DataProvider(name = "testcaselist") - public Object[] getTestCaseList(ITestContext context) { - String ymlFile = context.getCurrentXmlTest().getLocalParameters().get("ymlFile"); - isInternal = Boolean.parseBoolean(context.getCurrentXmlTest().getLocalParameters().get("isInternal")); - logger.info("Started executing yml: " + ymlFile); - return getYmlTestData(ymlFile); - } - - @Test(dataProvider = "testcaselist") - public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { - testCaseName = testCaseDTO.getTestCaseName(); - - String partnerKeyUrl = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.partnerId + "/" + PartnerRegistration.apiKey; - String ekycPartnerKeyURL = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.ekycPartnerId + "/" + PartnerRegistration.kycApiKey; - - if(testCaseDTO.getEndPoint().contains("$partnerKeyURL$")) - - { - testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$partnerKeyURL$", partnerKeyUrl)); - PartnerRegistration.appendEkycOrRp = "rp-"; - } - if(testCaseDTO.getEndPoint().contains("$ekycPartnerKeyURL$")) - { - testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$ekycPartnerKeyURL$", ekycPartnerKeyURL)); - PartnerRegistration.appendEkycOrRp = "ekyc-"; - } - - if (testCaseDTO.getEndPoint().contains("$UpdatedPartnerKeyURL$")) { - testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$UpdatedPartnerKeyURL$", - PartnerRegistration.updatedpartnerKeyUrl)); - } - JSONObject req = new JSONObject(testCaseDTO.getInput()); - String otpChannel=""; - String otpRequest = null, sendOtpReqTemplate = null, sendOtpEndPoint = null, otpIdentyEnryptRequestPath = null; - if(req.has("otpChannel")) { - otpChannel = req.get("otpChannel").toString(); - } - if(req.has("sendOtp")) { - otpRequest = req.get("sendOtp").toString(); - req.remove("sendOtp"); - } - JSONObject otpReqJson = new JSONObject(otpRequest); - sendOtpReqTemplate = otpReqJson.getString("sendOtpReqTemplate"); - otpReqJson.remove("sendOtpReqTemplate"); - sendOtpEndPoint = otpReqJson.getString("sendOtpEndPoint"); - - - otpReqJson.remove("sendOtpEndPoint"); - otpIdentyEnryptRequestPath = otpReqJson.getString("otpIdentyEnryptRequestPath"); - otpReqJson.remove("otpIdentyEnryptRequestPath"); - - if(sendOtpEndPoint.contains("$partnerKeyURL$")) - { - sendOtpEndPoint= sendOtpEndPoint.replace("$partnerKeyURL$", partnerKeyUrl); - } - if(sendOtpEndPoint.contains("$ekycPartnerKeyURL$")) - { - sendOtpEndPoint= sendOtpEndPoint.replace("$ekycPartnerKeyURL$", ekycPartnerKeyURL); - } - - Response otpResponse = null; - if(isInternal) - otpResponse = postRequestWithCookieAuthHeaderAndSignature(ApplnURI + sendOtpEndPoint, getJsonFromTemplate(otpReqJson.toString(), sendOtpReqTemplate), COOKIENAME, "resident", testCaseDTO.getTestCaseName()); - else - otpResponse = postRequestWithAuthHeaderAndSignature(ApplnURI + sendOtpEndPoint, getJsonFromTemplate(otpReqJson.toString(), sendOtpReqTemplate), testCaseDTO.getTestCaseName()); - - JSONObject res = new JSONObject(testCaseDTO.getOutput()); - String sendOtpResp = null, sendOtpResTemplate = null; - if(res.has("sendOtpResp")) { - sendOtpResp = res.get("sendOtpResp").toString(); - res.remove("sendOtpResp"); - } - JSONObject sendOtpRespJson = new JSONObject(sendOtpResp); - sendOtpResTemplate = sendOtpRespJson.getString("sendOtpResTemplate"); - sendOtpRespJson.remove("sendOtpResTemplate"); - Map> ouputValidOtp = OutputValidationUtil - .doJsonOutputValidation(otpResponse.asString(), getJsonFromTemplate(sendOtpRespJson.toString(), sendOtpResTemplate)); - //Need to uncomment line 126 to 129 - //Reporter.log(ReportUtil.getOutputValidationReport(ouputValidOtp)); - - //if (!OutputValidationUtil.publishOutputResult(ouputValidOtp)) - //throw new AdminTestException("Failed at Send OTP output validation"); - - //String id = getAutoGeneratedFieldValue(otpRequest, testCaseName); - - String otpIdentyEnryptRequest = FileUtil.readInput(getResourcePath()+otpIdentyEnryptRequestPath); - otpChannel = inputJsonKeyWordHandeler(otpChannel, testCaseName); - otpIdentyEnryptRequest = updateTimestampOtp(otpIdentyEnryptRequest, otpChannel, testCaseName); - - Map bioAuthTempMap = (isInternal) - ? encryptDecryptUtil.getInternalEncryptSessionKeyValue(otpIdentyEnryptRequest) - : encryptDecryptUtil.getEncryptSessionKeyValue(otpIdentyEnryptRequest); - String authRequest = getJsonFromTemplate(req.toString(), testCaseDTO.getInputTemplate()); - logger.info("************* Modification of OTP auth request ******************"); - Reporter.log("Modification of otp auth request"); -// System.out.println("authRequest = " + authRequest); - authRequest = modifyRequest(authRequest, bioAuthTempMap, getResourcePath()+props.getProperty("idaMappingPath")); -// System.out.println("modifyRequest = " + authRequest); - testCaseDTO.setInput(authRequest); - JSONObject authRequestTemp = new JSONObject(authRequest); - authRequestTemp.remove("env"); - authRequestTemp.put("env", "Staging"); - authRequest = authRequestTemp.toString(); - testCaseDTO.setInput(authRequest); - - logger.info("******Post request Json to EndPointUrl: " + ApplnURI + testCaseDTO.getEndPoint() + " *******"); - - response = postRequestWithCookieAuthHeaderAndSignature(ApplnURI + testCaseDTO.getEndPoint(), authRequest, COOKIENAME, testCaseDTO.getRole(), testCaseDTO.getTestCaseName()); - - Map> ouputValid = OutputValidationUtil - .doJsonOutputValidation(response.asString(), getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate())); - Reporter.log(ReportUtil.getOutputValidationReport(ouputValid)); - - if (!OutputValidationUtil.publishOutputResult(ouputValid)) - throw new AdminTestException("Failed at output validation"); - - /* - * if(testCaseName.toLowerCase().contains("kyc")) { String error = null; - * if(response.getBody().asString().contains("errors")) error = - * JsonPrecondtion.getJsonValueFromJson(response.getBody().asString(),"errors"); - * if(error.equalsIgnoreCase("null")) - * encryptDecryptUtil.validateThumbPrintAndIdentity(response, - * testCaseDTO.getEndPoint()); } - */ - - //if(!encryptDecryptUtil.verifyResponseUsingDigitalSignature(response.asString(), response.getHeader(props.getProperty("signatureheaderKey")))) - //throw new AdminTestException("Failed at Signature validation"); - - } - - /** - * Test method for OTP Generation execution - * - * @param objTestParameters - * @param testScenario - * @param testcaseName - * @throws AuthenticationTestException - * @throws AdminTestException - */ -// @Test(dataProvider = "testcaselist") -// public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, AdminTestException { -// testCaseName = testCaseDTO.getTestCaseName(); -// -// if (HealthChecker.signalTerminateExecution) { -// throw new SkipException( -// GlobalConstants.TARGET_ENV_HEALTH_CHECK_FAILED + HealthChecker.healthCheckFailureMapS); -// } -// -// if (testCaseDTO.getTestCaseName().contains("uin") || testCaseDTO.getTestCaseName().contains("UIN")) { -// if (!BaseTestCase.getSupportedIdTypesValueFromActuator().contains("UIN") -// && !BaseTestCase.getSupportedIdTypesValueFromActuator().contains("uin")) { -// throw new SkipException(GlobalConstants.UIN_FEATURE_NOT_SUPPORTED); -// } -// } -// -// if (testCaseDTO.getTestCaseName().contains("VID") || testCaseDTO.getTestCaseName().contains("Vid")) { -// if (!BaseTestCase.getSupportedIdTypesValueFromActuator().contains("VID") -// && !BaseTestCase.getSupportedIdTypesValueFromActuator().contains("vid")) { -// throw new SkipException(GlobalConstants.VID_FEATURE_NOT_SUPPORTED); -// } -// } -// -// testCaseName = isTestCaseValidForExecution(testCaseDTO); -// -// if (testCaseDTO.getEndPoint().contains("$PartnerKeyURL$")) { -// testCaseDTO.setEndPoint( -// testCaseDTO.getEndPoint().replace("$PartnerKeyURL$", PartnerRegistration.partnerKeyUrl)); -// } -// -// if (testCaseDTO.getEndPoint().contains("$KycPartnerKeyURL$")) { -// testCaseDTO.setEndPoint( -// testCaseDTO.getEndPoint().replace("$KycPartnerKeyURL$", PartnerRegistration.ekycPartnerKeyUrl)); -// } -// -// if (testCaseDTO.getEndPoint().contains("$UpdatedPartnerKeyURL$")) { -// testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$UpdatedPartnerKeyURL$", -// PartnerRegistration.updatedpartnerKeyUrl)); -// } -// -// if (testCaseDTO.getEndPoint().contains("$PartnerName$")) { -// testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$PartnerName$", PartnerRegistration.partnerId)); -// } -// -// if (testCaseDTO.getEndPoint().contains("$KycPartnerName$")) { -// testCaseDTO.setEndPoint( -// testCaseDTO.getEndPoint().replace("$KycPartnerName$", PartnerRegistration.ekycPartnerId)); -// } -// -// JSONObject input = new JSONObject(testCaseDTO.getInput()); -// String individualId = null; -// if (input.has(GlobalConstants.INDIVIDUALID)) { -// individualId = input.get(GlobalConstants.INDIVIDUALID).toString(); -// input.remove(GlobalConstants.INDIVIDUALID); -// } -// -// individualId = uriKeyWordHandelerUri(individualId, testCaseName); -// -// String url = ConfigManager.getAuthDemoServiceUrl(); -// -// HashMap requestBody = new HashMap<>(); -// -// requestBody.put("id", individualId); -// requestBody.put("keyFileNameByPartnerName", GlobalConstants.TRUE_STRING); -// requestBody.put("partnerName", PartnerRegistration.partnerId); -// requestBody.put("moduleName", BaseTestCase.certsForModule); -// requestBody.put(GlobalConstants.TRANSACTIONID, "$TRANSACTIONID$"); -// -// String token = kernelAuthLib.getTokenByRole(GlobalConstants.RESIDENT); -// -// Response sendOtpReqResp = postWithOnlyQueryParamAndCookie(url + "/v1/identity/createOtpReqest", -// requestBody.toString(), GlobalConstants.AUTHORIZATION, GlobalConstants.RESIDENT, testCaseName); -// -// logger.info(sendOtpReqResp); -// -// String otpInput = sendOtpReqResp.getBody().asString(); -// logger.info(otpInput); -// String signature = sendOtpReqResp.getHeader("signature"); -// Object sendOtpBody = otpInput; -// logger.info(sendOtpBody); -// -// HashMap headers = new HashMap<>(); -// headers.put(AUTHORIZATHION_HEADERNAME, token); -// headers.put(SIGNATURE_HEADERNAME, signature); -// -// Response otpRespon = null; -// -// if (testCaseDTO.getTestCaseName().contains("EkycOtp")) { -// otpRespon = postRequestWithAuthHeaderAndSignatureForOtp( -// ApplnURI + "/idauthentication/v1/otp/" + PartnerRegistration.ekycPartnerKeyUrl, -// sendOtpBody.toString(), GlobalConstants.AUTHORIZATION, token, headers, testCaseName); -// } else { -// -// otpRespon = postRequestWithAuthHeaderAndSignatureForOtp( -// ApplnURI + "/idauthentication/v1/otp/" + PartnerRegistration.partnerKeyUrl, sendOtpBody.toString(), -// GlobalConstants.AUTHORIZATION, token, headers, testCaseName); -// -// } -// -// JSONObject res = new JSONObject(testCaseDTO.getOutput()); -// String sendOtpResp = null; -// String sendOtpResTemplate = null; -// if (res.has(GlobalConstants.SENDOTPRESP)) { -// sendOtpResp = res.get(GlobalConstants.SENDOTPRESP).toString(); -// res.remove(GlobalConstants.SENDOTPRESP); -// } -// JSONObject sendOtpRespJson = new JSONObject(sendOtpResp); -// sendOtpResTemplate = sendOtpRespJson.getString("sendOtpResTemplate"); -// sendOtpRespJson.remove("sendOtpResTemplate"); -// Map> ouputValidOtp = OutputValidationUtil.doJsonOutputValidation( -// otpRespon.asString(), getJsonFromTemplate(sendOtpRespJson.toString(), sendOtpResTemplate), testCaseDTO, -// otpRespon.getStatusCode()); -// Reporter.log(ReportUtil.getOutputValidationReport(ouputValidOtp)); -// -// if (!OutputValidationUtil.publishOutputResult(ouputValidOtp)) -// throw new AdminTestException("Failed at Send OTP output validation"); -// -// String endPoint = testCaseDTO.getEndPoint(); -// endPoint = uriKeyWordHandelerUri(endPoint, testCaseName); -// -// if (endPoint.contains("$partnerKeyURL$")) { -// endPoint = endPoint.replace("$partnerKeyURL$", PartnerRegistration.partnerKeyUrl); -// } -// if (endPoint.contains("$PartnerName$")) { -// endPoint = endPoint.replace("$PartnerName$", PartnerRegistration.partnerId); -// } -// -// String authRequest = ""; -// -// if (!(BaseTestCase.certsForModule.equals("DSL-IDA"))) { -// authRequest = getJsonFromTemplate(input.toString(), testCaseDTO.getInputTemplate()); -// } else { -// authRequest = input.toString(); -// } -// -// logger.info("******Post request Json to EndPointUrl: " + url + endPoint + " *******"); -// -// response = postWithBodyAndCookie(url + endPoint, authRequest, COOKIENAME, testCaseDTO.getRole(), testCaseName); -// -// String ActualOPJson = getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate()); -// -// if (testCaseDTO.getTestCaseName().contains("uin") || testCaseDTO.getTestCaseName().contains("UIN")) { -// if (BaseTestCase.getSupportedIdTypesValueFromActuator().contains("UIN") -// || BaseTestCase.getSupportedIdTypesValueFromActuator().contains("uin")) { -// ActualOPJson = getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate()); -// } else { -// if (testCaseDTO.getTestCaseName().contains("auth_EkycOtp")) { -// ActualOPJson = AdminTestUtil.getRequestJson("config/errorUINKyc.json").toString(); -// } else { -// ActualOPJson = AdminTestUtil.getRequestJson("config/errorUIN.json").toString(); -// } -// -// } -// } else { -// if (testCaseDTO.getTestCaseName().contains("VID") || testCaseDTO.getTestCaseName().contains("Vid")) { -// if (BaseTestCase.getSupportedIdTypesValueFromActuator().contains("VID") -// || BaseTestCase.getSupportedIdTypesValueFromActuator().contains("vid")) { -// ActualOPJson = getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate()); -// } else { -// if (testCaseDTO.getTestCaseName().contains("auth_EkycOtp")) { -// ActualOPJson = AdminTestUtil.getRequestJson("config/errorUINKyc.json").toString(); -// } else { -// ActualOPJson = AdminTestUtil.getRequestJson("config/errorUIN.json").toString(); -// } -// -// } -// } -// } -// Map> ouputValid = OutputValidationUtil -// .doJsonOutputValidation(response.asString(), ActualOPJson, testCaseDTO, response.getStatusCode()); -// Reporter.log(ReportUtil.getOutputValidationReport(ouputValid)); -// -// if (!OutputValidationUtil.publishOutputResult(ouputValid)) -// throw new AdminTestException("Failed at output validation"); -// -// if (testCaseName.toLowerCase().contains("kyc")) { -// JSONObject resJsonObject = new JSONObject(response.asString()); -// String resp = ""; -// try { -// resp = resJsonObject.get("response").toString(); -// } catch (JSONException e) { -// logger.error(e.getMessage()); -// } -// } -// -// } - - /** - * The method ser current test name to result - * - * @param result - */ - @AfterMethod(alwaysRun = true) - public void setResultTestName(ITestResult result) { - try { - Field method = TestResult.class.getDeclaredField("m_method"); - method.setAccessible(true); - method.set(result, result.getMethod().clone()); - BaseTestMethod baseTestMethod = (BaseTestMethod) result.getMethod(); - Field f = baseTestMethod.getClass().getSuperclass().getDeclaredField("m_methodName"); - f.setAccessible(true); - f.set(baseTestMethod, testCaseName); - } catch (Exception e) { - Reporter.log("Exception : " + e.getMessage()); - } - } - - @AfterClass - public static void authTestTearDown() { - logger.info("Terminating authpartner demo application..."); - } -} diff --git a/authentication/pom.xml b/authentication/pom.xml index 6f79991704c..bbcf09ddf54 100644 --- a/authentication/pom.xml +++ b/authentication/pom.xml @@ -93,9 +93,9 @@ UTF-8 - 1.2.1-SNAPSHOT + 1.2.0.1 ${kernel.parent.version} - 1.2.1-SNAPSHOT + 1.2.0.1 ${kernel.parent.version} ${kernel.parent.version} ${kernel.parent.version} @@ -110,7 +110,7 @@ ${kernel.parent.version} 1.2.0.1-B1 20180130 - 1.2.0.1-SNAPSHOT + 1.2.0.1 ${kernel.parent.version} ${kernel.parent.version} ${kernel.parent.version} diff --git a/deploy/copy_cm.sh b/deploy/copy_cm.sh index 48e9d8c9b08..28cf72d2e08 100755 --- a/deploy/copy_cm.sh +++ b/deploy/copy_cm.sh @@ -3,7 +3,7 @@ # DST_NS: Destination namespace function copying_cm() { - UTIL_URL=https://github.com/mosip/mosip-infra/blob/master/deployment/v3/utils/copy_cm_func.sh + UTIL_URL=https://raw.githubusercontent.com/mosip/mosip-infra/master/deployment/v3/utils/copy_cm_func.sh COPY_UTIL=./copy_cm_func.sh DST_NS=ida