Skip to content

Commit

Permalink
namsor-java-sdk2_v2.0.12
Browse files Browse the repository at this point in the history
namsor-java-sdk2_v2.0.12
  • Loading branch information
namsor committed Feb 1, 2021
1 parent 775fb0b commit b415d37
Show file tree
Hide file tree
Showing 382 changed files with 4,823 additions and 4,546 deletions.
165 changes: 113 additions & 52 deletions README.md

Large diffs are not rendered by default.

330 changes: 330 additions & 0 deletions README_v211.md

Large diffs are not rendered by default.

59 changes: 54 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
<packaging>jar</packaging>
<name>namsor-sdk2</name>
<version>2.0.12</version>
<url>https://github.com/openapitools/openapi-generator</url>
<description>OpenAPI Java</description>
<!-- update NamSor -->
<url>https://github.com/namsor/namsor-java-sdk2/</url>
<description>NamSor OpenAPI Java Client SDK</description>
<scm>
<connection>scm:git:[email protected]:openapitools/openapi-generator.git</connection>
<developerConnection>scm:git:[email protected]:openapitools/openapi-generator.git</developerConnection>
Expand All @@ -23,14 +24,26 @@
</licenses>

<developers>
<!-- add NamSor -->
<developer>
<name>NamSor</name>
<email>[email protected]</email>
<organization>NamSor</organization>
<organizationUrl>https://www.namsor.com/</organizationUrl>
</developer>
<developer>
<name>OpenAPI</name>
<email>[email protected]</email>
<organization>OpenAPI</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -159,19 +172,55 @@
</goals>
</execution>
</executions>
</plugin>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<!-- keyname as per https://www.previous.cloudbees.com/blog/continuous-deployment-maven-central-apache-maven -->
<configuration>
<keyname>C2DED53433BC8503EB737AF7CBCEA4F2104CD621</keyname>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- as per https://central.sonatype.org/pages/apache-maven.html -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

</plugins>
</build>

<profiles>
<profile>
<id>sign-artifacts</id>
<id>sign-artifacts-deploy</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<!-- keyname as per https://www.previous.cloudbees.com/blog/continuous-deployment-maven-central-apache-maven -->
<configuration>
<keyname>C2DED53433BC8503EB737AF7CBCEA4F2104CD621</keyname>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
Expand Down
253 changes: 253 additions & 0 deletions pom.xml.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,253 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.namsor</groupId>
<artifactId>namsor-sdk2</artifactId>
<packaging>jar</packaging>
<name>namsor-sdk2</name>
<version>2.0.12</version>
<url>https://github.com/openapitools/openapi-generator</url>
<description>OpenAPI Java</description>
<scm>
<connection>scm:git:[email protected]:openapitools/openapi-generator.git</connection>
<developerConnection>scm:git:[email protected]:openapitools/openapi-generator.git</developerConnection>
<url>https://github.com/openapitools/openapi-generator</url>
</scm>

<licenses>
<license>
<name>Unlicense</name>
<url>https://v2.namsor.com/NamSorAPIv2/assets/pdf/201803_NamSor_API_Terms_v007.pdf</url>
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
<name>OpenAPI</name>
<email>[email protected]</email>
<organization>OpenAPI</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M1</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>2.2.0</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12</version>
<configuration>
<systemProperties>
<property>
<name>loggerPath</name>
<value>conf/log4j.properties</value>
</property>
</systemProperties>
<argLine>-Xms512m -Xmx1500m</argLine>
<parallel>methods</parallel>
<forkMode>pertest</forkMode>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>

<!-- attach test jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
<configuration>
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.10</version>
<executions>
<execution>
<id>add_sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>
src/main/java</source>
</sources>
</configuration>
</execution>
<execution>
<id>add_test_sources</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>
src/test/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>sign-artifacts</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<dependencies>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger-core-version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp-version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp</groupId>
<artifactId>logging-interceptor</artifactId>
<version>${okhttp-version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson-version}</version>
</dependency>
<dependency>
<groupId>io.gsonfire</groupId>
<artifactId>gson-fire</artifactId>
<version>${gson-fire-version}</version>
</dependency>
<dependency>
<groupId>org.apache.oltu.oauth2</groupId>
<artifactId>org.apache.oltu.oauth2.client</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3-version}</version>
</dependency>
<dependency>
<groupId>org.threeten</groupId>
<artifactId>threetenbp</artifactId>
<version>${threetenbp-version}</version>
</dependency>
<!-- test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit-version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<java.version>1.7</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<gson-fire-version>1.8.0</gson-fire-version>
<swagger-core-version>1.5.18</swagger-core-version>
<okhttp-version>2.7.5</okhttp-version>
<gson-version>2.8.1</gson-version>
<commons-lang3-version>3.8.1</commons-lang3-version>
<threetenbp-version>1.3.5</threetenbp-version>
<maven-plugin-version>1.0.0</maven-plugin-version>
<junit-version>4.12</junit-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>
2 changes: 1 addition & 1 deletion target/apidocs/com/namsor/sdk2/api/AdminApi.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_191) on Mon Feb 01 08:53:52 CET 2021 -->
<!-- Generated by javadoc (1.8.0_152) on Mon Feb 01 09:07:13 CET 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AdminApi (namsor-sdk2 2.0.12 API)</title>
<meta name="date" content="2021-02-01">
Expand Down
2 changes: 1 addition & 1 deletion target/apidocs/com/namsor/sdk2/api/ChineseApi.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_191) on Mon Feb 01 08:53:52 CET 2021 -->
<!-- Generated by javadoc (1.8.0_152) on Mon Feb 01 09:07:13 CET 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ChineseApi (namsor-sdk2 2.0.12 API)</title>
<meta name="date" content="2021-02-01">
Expand Down
2 changes: 1 addition & 1 deletion target/apidocs/com/namsor/sdk2/api/PersonalApi.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_191) on Mon Feb 01 08:53:52 CET 2021 -->
<!-- Generated by javadoc (1.8.0_152) on Mon Feb 01 09:07:13 CET 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PersonalApi (namsor-sdk2 2.0.12 API)</title>
<meta name="date" content="2021-02-01">
Expand Down
2 changes: 1 addition & 1 deletion target/apidocs/com/namsor/sdk2/api/SocialApi.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_191) on Mon Feb 01 08:53:52 CET 2021 -->
<!-- Generated by javadoc (1.8.0_152) on Mon Feb 01 09:07:13 CET 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SocialApi (namsor-sdk2 2.0.12 API)</title>
<meta name="date" content="2021-02-01">
Expand Down
2 changes: 1 addition & 1 deletion target/apidocs/com/namsor/sdk2/api/class-use/AdminApi.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_191) on Mon Feb 01 08:53:53 CET 2021 -->
<!-- Generated by javadoc (1.8.0_152) on Mon Feb 01 09:07:17 CET 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.namsor.sdk2.api.AdminApi (namsor-sdk2 2.0.12 API)</title>
<meta name="date" content="2021-02-01">
Expand Down
Loading

0 comments on commit b415d37

Please sign in to comment.