Skip to content

ActorTypeInformation with parsing logic + some stubs. - #41

Merged
artursouza merged 1 commit into
dapr:java_sdk_wipfrom
artursouza:actors
Dec 12, 2019
Merged

artursouza merged 1 commit into
dapr:java_sdk_wipfrom
artursouza:actors

Conversation

@artursouza

Copy link
Copy Markdown
Contributor

Description

ActorTypeInformation with parsing logic + some stubs.
Added TODO to fix async call in http client.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #29

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@artursouza
artursouza requested review from LMWF and amanbha December 12, 2019 00:46
Assert.assertFalse(info.isAbstractClass());
Assert.assertFalse(info.isRemindable());
Assert.assertEquals(1, info.getInterfaces().size());
Assert.assertTrue(info.getInterfaces().contains(MyActor.class));

@artursouza artursouza Dec 12, 2019

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@amanbha In this example, should it return only MyActor (like it is now) or also Actor? If the expected result is a shallow list of interfaces, then it is correct. Otherwise, we should do a deep search. This is the same behavior I identified in the .Net SDK as well.

Comment thread sdk/src/main/java/io/dapr/actors/runtime/ActorTypeInformation.java Outdated
Comment thread sdk/src/main/java/io/dapr/actors/runtime/Remindable.java
Comment thread sdk/src/main/java/io/dapr/actors/runtime/AbstractActor.java
Comment thread sdk/src/main/java/io/dapr/actors/runtime/ActorTypeInformation.java
@artursouza
artursouza merged commit 6584744 into dapr:java_sdk_wip Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants