Skip to content

Commit

Permalink
fix: restore files
Browse files Browse the repository at this point in the history
  • Loading branch information
lotharking committed Oct 4, 2024
1 parent 94fb2ca commit 34fc588
Show file tree
Hide file tree
Showing 65 changed files with 904 additions and 980 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
Client tools for building Quarkus java DIDcomm Verifiable Credential powered conversational service (Chatbots) with [2060.io Service Agent](https://github.com/2060-io/2060-service-agent/blob/main/doc/service-agent-api.md)

## How to use
On dev mode use the command `mvn clean verify install -Dgpg.skip` to run the project

## Before PR
Please run `mvn clean spotless:check` command before uploading changes to verify the syntax
On dev mode use the command `mvn clean install -Dgpg.skip` to run the project

## Releases

Expand Down
54 changes: 0 additions & 54 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,60 +124,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<version>2.19.0</version>
<configuration>
<configFile>eclipse-formatter.xml</configFile>
<lineEnding>LF</lineEnding>
</configuration>
<executions>
<execution>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>impsort-maven-plugin</artifactId>
<version>1.8.0</version>
<configuration>
<groups>java.,javax.,org.,com.</groups>
<staticGroups>java,*</staticGroups>
<removeUnused>true</removeUnused>
</configuration>
<executions>
<execution>
<id>sort-imports</id>
<goals>
<goal>sort</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.43.0</version>
<configuration>
<java>
<eclipse>
<file>${basedir}/eclipse-formatter.xml</file>
</eclipse>
</java>
</configuration>
<!-- <executions>
<execution>
<id>check</id>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions> -->
</plugin>
</plugins>
<pluginManagement>
<!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
Expand Down
128 changes: 64 additions & 64 deletions src/main/java/io/twentysixty/sa/client/enums/Mrz.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,69 +15,69 @@
@Setter
@ToString
public class Mrz {
public enum Format {
@JsonProperty("TD1")
TD1,
@JsonProperty("TD2")
TD2,
@JsonProperty("TD3")
TD3,
@JsonProperty("FRENCH_NATIONAL_ID")
FRENCH_NATIONAL_ID,
@JsonProperty("FRENCH_DRIVING_LICENSE")
FRENCH_DRIVING_LICENSE,
@JsonProperty("SWISS_DRIVING_LICENSE")
SWISS_DRIVING_LICENSE;
}
public enum Format {
@JsonProperty("TD1")
TD1,
@JsonProperty("TD2")
TD2,
@JsonProperty("TD3")
TD3,
@JsonProperty("FRENCH_NATIONAL_ID")
FRENCH_NATIONAL_ID,
@JsonProperty("FRENCH_DRIVING_LICENSE")
FRENCH_DRIVING_LICENSE,
@JsonProperty("SWISS_DRIVING_LICENSE")
SWISS_DRIVING_LICENSE;
}

public enum FieldName {
@JsonProperty("administrativeCode")
ADMINISTRATIVE_CODE,
@JsonProperty("administrativeCode2")
ADMINISTRATIVE_CODE2,
@JsonProperty("birthDate")
BIRTH_DATE,
@JsonProperty("birthDateCheckDigit")
BIRTH_DATE_CHECK_DIGIT,
@JsonProperty("compositeCheckDigit")
COMPOSITE_CHECK_DIGIT,
@JsonProperty("documentNumber")
DOCUMENT_NUMBER,
@JsonProperty("documentNumberCheckDigit")
DOCUMENT_NUMBER_CHECK_DIGIT,
@JsonProperty("documentCode")
DOCUMENT_CODE,
@JsonProperty("expirationDate")
EXPIRATION_DATE,
@JsonProperty("expirationDateCheckDigit")
EXPIRATION_DATE_CHECK_DIGIT,
@JsonProperty("firstName")
FIRST_NAME,
@JsonProperty("issueDate")
ISSUE_DATE,
@JsonProperty("issuingState")
ISSUING_STATE,
@JsonProperty("languageCode")
LANGUAGE_CODE,
@JsonProperty("lastName")
LAST_NAME,
@JsonProperty("nationality")
NATIONALITY,
@JsonProperty("optional")
OPTIONAL,
@JsonProperty("optional1")
OPTIONAL1,
@JsonProperty("optional2")
OPTIONAL2,
@JsonProperty("personalNumber")
PERSONAL_NUMBER,
@JsonProperty("personalNumberCheckDigit")
PERSONAL_NUMBER_CHECK_DIGIT,
@JsonProperty("pinCode")
PIN_CODE,
@JsonProperty("sex")
SEX,
@JsonProperty("versionNumber")
VERSION_NUMBER;
}
public enum FieldName {
@JsonProperty("administrativeCode")
ADMINISTRATIVE_CODE,
@JsonProperty("administrativeCode2")
ADMINISTRATIVE_CODE2,
@JsonProperty("birthDate")
BIRTH_DATE,
@JsonProperty("birthDateCheckDigit")
BIRTH_DATE_CHECK_DIGIT,
@JsonProperty("compositeCheckDigit")
COMPOSITE_CHECK_DIGIT,
@JsonProperty("documentNumber")
DOCUMENT_NUMBER,
@JsonProperty("documentNumberCheckDigit")
DOCUMENT_NUMBER_CHECK_DIGIT,
@JsonProperty("documentCode")
DOCUMENT_CODE,
@JsonProperty("expirationDate")
EXPIRATION_DATE,
@JsonProperty("expirationDateCheckDigit")
EXPIRATION_DATE_CHECK_DIGIT,
@JsonProperty("firstName")
FIRST_NAME,
@JsonProperty("issueDate")
ISSUE_DATE,
@JsonProperty("issuingState")
ISSUING_STATE,
@JsonProperty("languageCode")
LANGUAGE_CODE,
@JsonProperty("lastName")
LAST_NAME,
@JsonProperty("nationality")
NATIONALITY,
@JsonProperty("optional")
OPTIONAL,
@JsonProperty("optional1")
OPTIONAL1,
@JsonProperty("optional2")
OPTIONAL2,
@JsonProperty("personalNumber")
PERSONAL_NUMBER,
@JsonProperty("personalNumberCheckDigit")
PERSONAL_NUMBER_CHECK_DIGIT,
@JsonProperty("pinCode")
PIN_CODE,
@JsonProperty("sex")
SEX,
@JsonProperty("versionNumber")
VERSION_NUMBER;
}
}
Loading

0 comments on commit 34fc588

Please sign in to comment.