Skip to content

Rename base package to org.utplsql #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ services:
- docker

jdk:
# - oraclejdk7
- oraclejdk8

env:
Expand Down
20 changes: 1 addition & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>io.github.utplsql</groupId>
<groupId>org.utplsql</groupId>
<artifactId>java-api</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
Expand Down Expand Up @@ -31,24 +31,6 @@
</dependency>
</dependencies>

<!--<build>-->
<!--<plugins>-->
<!--<plugin>-->
<!--<groupId>net.orfjackal.retrolambda</groupId>-->
<!--<artifactId>retrolambda-maven-plugin</artifactId>-->
<!--<version>2.5.1</version>-->
<!--<executions>-->
<!--<execution>-->
<!--<goals>-->
<!--<goal>process-main</goal>-->
<!--<goal>process-test</goal>-->
<!--</goals>-->
<!--</execution>-->
<!--</executions>-->
<!--</plugin>-->
<!--</plugins>-->
<!--</build>-->

<repositories>
<repository>
<id>maven.oracle.com</id>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.utplsql.api;
package org.utplsql.api;

/**
* Database custom data reporter.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.utplsql.api;
package org.utplsql.api;

import oracle.jdbc.OracleTypes;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.utplsql.api;
package org.utplsql.api;


import oracle.jdbc.OracleConnection;
Expand Down Expand Up @@ -40,7 +40,7 @@ public static Array buildFileMappingArray(
int paramIdx = 0;
callableStatement.registerOutParameter(++paramIdx, OracleTypes.ARRAY, CustomTypes.UT_FILE_MAPPINGS);

if (mapperOptions.getRegexPattern() == null) {
if (mapperOptions.getObjectOwner() == null) {
callableStatement.setNull(++paramIdx, Types.VARCHAR);
} else {
callableStatement.setString(++paramIdx, mapperOptions.getObjectOwner());
Expand All @@ -50,7 +50,7 @@ public static Array buildFileMappingArray(
++paramIdx, oraConn.createOracleArray(CustomTypes.UT_VARCHAR2_LIST, mapperOptions.getFilePaths().toArray()));

if (mapperOptions.getTypeMappings() == null) {
callableStatement.setNull(++paramIdx, Types.ARRAY, CustomTypes.UT_KEY_VALUE_PAIR);
callableStatement.setNull(++paramIdx, Types.ARRAY, CustomTypes.UT_KEY_VALUE_PAIRS);
} else {
callableStatement.setArray(
++paramIdx, oraConn.createOracleArray(CustomTypes.UT_KEY_VALUE_PAIRS, mapperOptions.getTypeMappings().toArray()));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.utplsql.api;
package org.utplsql.api;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.utplsql.api;
package org.utplsql.api;

import java.sql.SQLData;
import java.sql.SQLException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.utplsql.api;
package org.utplsql.api;

import java.sql.SQLData;
import java.sql.SQLException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.utplsql.api;
package org.utplsql.api;

import io.github.utplsql.api.reporter.Reporter;
import org.utplsql.api.reporter.Reporter;
import oracle.jdbc.OracleTypes;

import java.io.PrintStream;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.utplsql.api;
package org.utplsql.api;

import io.github.utplsql.api.exception.SomeTestsFailedException;
import io.github.utplsql.api.reporter.DocumentationReporter;
import io.github.utplsql.api.reporter.Reporter;
import org.utplsql.api.exception.SomeTestsFailedException;
import org.utplsql.api.reporter.DocumentationReporter;
import org.utplsql.api.reporter.Reporter;
import oracle.jdbc.OracleConnection;

import java.sql.CallableStatement;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.utplsql.api.exception;
package org.utplsql.api.exception;

import java.sql.SQLException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.utplsql.api.reporter;
package org.utplsql.api.reporter;

import io.github.utplsql.api.CustomTypes;
import org.utplsql.api.CustomTypes;

import java.sql.SQLException;
import java.sql.SQLInput;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.utplsql.api.reporter;
package org.utplsql.api.reporter;

import io.github.utplsql.api.CustomTypes;
import org.utplsql.api.CustomTypes;

import java.sql.SQLException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.utplsql.api.reporter;
package org.utplsql.api.reporter;

import io.github.utplsql.api.CustomTypes;
import org.utplsql.api.CustomTypes;

import java.sql.SQLException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.utplsql.api.reporter;
package org.utplsql.api.reporter;

import io.github.utplsql.api.CustomTypes;
import org.utplsql.api.CustomTypes;

import java.sql.SQLException;
import java.sql.SQLInput;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.utplsql.api.reporter;
package org.utplsql.api.reporter;

import io.github.utplsql.api.DBHelper;
import org.utplsql.api.DBHelper;

import java.sql.*;
import java.util.Calendar;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.utplsql.api.reporter;
package org.utplsql.api.reporter;

import io.github.utplsql.api.CustomTypes;
import org.utplsql.api.CustomTypes;

public final class ReporterFactory {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.utplsql.api.reporter;
package org.utplsql.api.reporter;

import io.github.utplsql.api.CustomTypes;
import org.utplsql.api.CustomTypes;

import java.sql.SQLException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.utplsql.api.reporter;
package org.utplsql.api.reporter;

import io.github.utplsql.api.CustomTypes;
import org.utplsql.api.CustomTypes;

import java.sql.SQLException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.utplsql.api.reporter;
package org.utplsql.api.reporter;

import io.github.utplsql.api.CustomTypes;
import org.utplsql.api.CustomTypes;

import java.sql.SQLException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.utplsql.api;
package org.utplsql.api;

import io.github.utplsql.api.rules.DatabaseRule;
import org.utplsql.api.rules.DatabaseRule;
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.utplsql.api;
package org.utplsql.api;

import io.github.utplsql.api.reporter.DocumentationReporter;
import io.github.utplsql.api.reporter.Reporter;
import io.github.utplsql.api.rules.DatabaseRule;
import org.utplsql.api.reporter.DocumentationReporter;
import org.utplsql.api.reporter.Reporter;
import org.utplsql.api.rules.DatabaseRule;
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.utplsql.api;
package org.utplsql.api;

import io.github.utplsql.api.reporter.*;
import org.junit.Assert;
import org.junit.Test;
import org.utplsql.api.reporter.*;

import java.sql.SQLException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package io.github.utplsql.api;
package org.utplsql.api;

import io.github.utplsql.api.exception.SomeTestsFailedException;
import io.github.utplsql.api.reporter.*;
import io.github.utplsql.api.rules.DatabaseRule;
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
import org.utplsql.api.exception.SomeTestsFailedException;
import org.utplsql.api.reporter.*;
import org.utplsql.api.rules.DatabaseRule;

import java.sql.Connection;
import java.sql.SQLException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.utplsql.api.rules;
package org.utplsql.api.rules;

import org.junit.rules.ExternalResource;

Expand Down