Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Acceptance Test DSL Node refactoring #1498

Merged
merged 19 commits into from
May 29, 2019
Merged

Acceptance Test DSL Node refactoring #1498

merged 19 commits into from
May 29, 2019

Conversation

CjHare
Copy link
Contributor

@CjHare CjHare commented May 27, 2019

PR description

Restructuring of the AT DSL, for better encapsulation / logical grouping of behaviours.

Also enforcing consistency across the DSL (different teams introducing different features, using different patterns).

Fixed Issue(s)

@CjHare CjHare marked this pull request as ready for review May 28, 2019 06:04
@@ -244,9 +245,9 @@ public String getHostName() {
return LOCALHOST;
}

private JsonRequestFactories jsonRequestFactories() {
private NodeRequests jsonRequestFactories() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps rename method as well, nodeRequestFactories?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -1,5 +1,5 @@
/*
* Copyright 2019 ConsenSys AG.
* Copyright 2018 ConsenSys AG.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed to old date?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@@ -37,4 +42,20 @@ public BigInteger execute(final JsonRequestFactories node) {
throw new RuntimeException(e);
}
}

public static class CustomNetJsonRpcRequestFactory {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason to make this an inner class?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, not sure why that happened, I'll refactor it

@CjHare CjHare merged commit 4b2a3fa into PegaSysEng:master May 29, 2019
@CjHare CjHare deleted the at-dsl-refactor-node branch May 29, 2019 07:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants