Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Remove references to old Cluster model
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGodbehere committed Jan 29, 2024
1 parent aff5acf commit 4da5d43
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 144 deletions.
34 changes: 0 additions & 34 deletions app/Domain/Clusters/Actions/GetClustersAction.php

This file was deleted.

15 changes: 0 additions & 15 deletions app/Domain/Clusters/Models/Cluster.php

This file was deleted.

2 changes: 0 additions & 2 deletions app/Domain/Groups/Actions/CreateGroupAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

namespace App\Domain\Groups\Actions;

use App\Domain\Clusters\Models\Cluster;
use App\Domain\Groups\Models\Group;
use App\Exceptions\ActionFailException;
use App\Exceptions\ActionForbiddenException;

class CreateGroupAction
Expand Down
1 change: 0 additions & 1 deletion app/Domain/Groups/Models/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

namespace App\Domain\Groups\Models;

use App\Domain\Clusters\Models\Cluster;
use App\Domain\Nodes\Models\Node;
use Illuminate\Database\Eloquent\Model;
use Laravel\Scout\Searchable;
Expand Down
17 changes: 0 additions & 17 deletions app/Http/Controllers/ClusterController.php

This file was deleted.

1 change: 0 additions & 1 deletion app/Http/Controllers/GroupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

namespace App\Http\Controllers;

use App\Domain\Clusters\Models\Cluster;
use App\Domain\Groups\Actions\CreateGroupAction;
use App\Domain\Groups\Actions\DeleteGroupAction;
use App\Domain\Groups\Actions\GetAccessibleGroupsAction;
Expand Down
37 changes: 0 additions & 37 deletions database/migrations/2023_02_16_203011_seed_clusters.php

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/

use App\Http\Controllers\APITestController;
use App\Http\Controllers\ClusterController;
use App\Http\Controllers\DeviceConnectionController;
use App\Http\Controllers\DeviceController;
use App\Http\Controllers\DeviceSchemaController;
Expand Down Expand Up @@ -86,9 +85,6 @@
Route::middleware('auth:api')->patch('/devices/{device}/origin-map', [OriginMapController::class, 'update']);
Route::middleware('auth:api')->post('/devices/{device}/origin-map/activate', [OriginMapController::class, 'activate']);;

// ------ Clusters ------ //
Route::middleware('auth:api')->get('/clusters', [ClusterController::class, 'index']);

// ------ Edge Clusters ------ //
Route::middleware('auth:api')->get('/edge-clusters', [EdgeClusterController::class, 'index']);
Route::middleware('auth:api')->get('/edge-clusters/{cluster}/bootstrap-command', [EdgeClusterController::class, 'bootstrapCommand']);
Expand Down

0 comments on commit 4da5d43

Please sign in to comment.