-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
b8c3df7
commit e7e1257
Showing
4 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
perspective-aws/src/main/java/org/meridor/perspective/aws/WorkerMetadata.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.meridor.perspective.aws; | ||
|
||
import org.meridor.perspective.config.CloudType; | ||
import org.meridor.perspective.worker.misc.impl.AbstractWorkerMetadata; | ||
import org.springframework.stereotype.Component; | ||
|
||
@Component | ||
public class WorkerMetadata extends AbstractWorkerMetadata { | ||
@Override | ||
public CloudType getCloudType() { | ||
return CloudType.AWS; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...ective-google-cloud/src/main/java/org/meridor/perspective/googlecloud/WorkerMetadata.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.meridor.perspective.googlecloud; | ||
|
||
import org.meridor.perspective.config.CloudType; | ||
import org.meridor.perspective.worker.misc.impl.AbstractWorkerMetadata; | ||
import org.springframework.stereotype.Component; | ||
|
||
@Component | ||
public class WorkerMetadata extends AbstractWorkerMetadata { | ||
@Override | ||
public CloudType getCloudType() { | ||
return CloudType.GOOGLE_CLOUD; | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...-microsoft-azure/src/main/java/org/meridor/perspective/microsoftazure/WorkerMetadata.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.meridor.perspective.microsoftazure; | ||
|
||
import org.meridor.perspective.config.CloudType; | ||
import org.meridor.perspective.worker.misc.impl.AbstractWorkerMetadata; | ||
import org.springframework.stereotype.Component; | ||
|
||
@Component | ||
public class WorkerMetadata extends AbstractWorkerMetadata { | ||
@Override | ||
public CloudType getCloudType() { | ||
return CloudType.MICROSOFT_AZURE; | ||
} | ||
} |