Skip to content

Commit

Permalink
adding Client and Contract facilities
Browse files Browse the repository at this point in the history
  • Loading branch information
jquantin committed Oct 30, 2017
1 parent f96ab3b commit 7f0a181
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import io.apiman.cli.core.api.VersionAgnosticApi;
import io.apiman.cli.core.api.factory.Version11XManagementApiFactoryImpl;
import io.apiman.cli.core.api.factory.Version12XManagementApiFactoryImpl;
import io.apiman.cli.core.client.ClientApi;
import io.apiman.cli.core.common.ActionApi;
import io.apiman.cli.core.common.model.ManagementApiVersion;
import io.apiman.cli.core.gateway.GatewayApi;
Expand Down Expand Up @@ -67,5 +68,9 @@ protected void configure() {
bind(ManagementApiFactory.class)
.annotatedWith(ManagementApiBindings.boundTo(PlanApi.class))
.toInstance(new SimpleManagementApiFactoryImpl<>(PlanApi.class));

bind(ManagementApiFactory.class)
.annotatedWith(ManagementApiBindings.boundTo(ClientApi.class))
.toInstance(new SimpleManagementApiFactoryImpl<>(ClientApi.class));
}
}

0 comments on commit 7f0a181

Please sign in to comment.