Skip to content
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
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ jdk:
- oraclejdk8
install: true

before_script:
- mvn install:install-file -Dfile=$TRAVIS_BUILD_DIR/libs/java-crypto-conditions-2.0.0-SNAPSHOT.jar -DgroupId=org.interledger -DartifactId=java-crypto-conditions -Dversion=2.0.0-SNAPSHOT -Dpackaging=jar

branches:
only:
- master
Expand Down
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@
<artifactId>commons-codec</artifactId>
<version>1.10</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20170516</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
Expand Down
7 changes: 1 addition & 6 deletions src/main/java/com/authenteq/api/TransactionsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import com.authenteq.util.NetworkUtils;
import okhttp3.RequestBody;
import okhttp3.Response;
import org.json.JSONException;

import java.io.IOException;
import java.util.logging.Logger;
Expand Down Expand Up @@ -75,20 +74,16 @@ public static Transaction getTransactionById(String id) throws IOException {
* @param operation
* the operation
* @return the transactions by asset id
* @throws JSONException
* the JSON exception
* @throws IOException
* Signals that an I/O exception has occurred.
*/
public static Transactions getTransactionsByAssetId(String assetId, Operations operation)
throws JSONException, IOException {
throws IOException {
LOGGER.info("getTransactionsByAssetId Call :" + assetId + " operation " + operation);
Response response = NetworkUtils.sendGetRequest(
BigChainDBGlobals.getBaseUrl() + BigchainDbApi.TRANSACTIONS + "?asset_id=" + assetId + "&operation=" + operation);
String body = response.body().string();
response.close();
return JsonUtils.fromJson(body, Transactions.class);

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import java.util.concurrent.TimeUnit;
import java.util.logging.Logger;

import com.authenteq.api.AccountApi;
import com.authenteq.constants.BigchainDbApi;
import com.authenteq.model.ApiEndpoints;
import com.authenteq.model.BigChainDBGlobals;
Expand All @@ -25,9 +24,8 @@
* The Class BigchainDbConfigBuilder.
*/
public class BigchainDbConfigBuilder {

private static final Logger LOGGER = Logger.getLogger(AccountApi.class.getName());


private static final Logger LOGGER = Logger.getLogger(BigchainDbConfigBuilder.class.getName());
/**
* Instantiates a new bigchain db config builder.
*/
Expand Down Expand Up @@ -74,11 +72,6 @@ public interface ITokens {
* Setup.
*/
void setup();

/**
* Setup.
*/

}

/**
Expand Down
Loading