Skip to content

Commit

Permalink
refactor: split controllers (#66)
Browse files Browse the repository at this point in the history
* refactor: group controllers under a facade management class

* chore: rename class getters

* refactor: split management tests

* fix: fix rebase conflicts
  • Loading branch information
OlfaBensoussia authored Aug 8, 2023
1 parent 1c6e2aa commit 9b2ec3a
Show file tree
Hide file tree
Showing 23 changed files with 2,354 additions and 1,832 deletions.
7 changes: 2 additions & 5 deletions src/client.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import { EdcConnectorClientContext } from "./context";
import {
ManagementController,
ObservabilityController,
PublicController,
} from "./controllers";
import { ObservabilityController, PublicController } from "./controllers";
import { Addresses } from "./entities";
import { Inner } from "./inner";

import { version } from "../package.json";
import { ManagementController } from "./facades/management";

export class EdcConnectorClient {
readonly management: ManagementController;
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from "./management-controller";
export * from "./management-controllers";
export * from "./observability-controller";
export * from "./public-controller";
Loading

0 comments on commit 9b2ec3a

Please sign in to comment.