Skip to content

Commit

Permalink
Removed reference to Azure and Google cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
fdurand committed Jun 30, 2021
1 parent 2f880f8 commit bf6ebc0
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 230 deletions.
45 changes: 0 additions & 45 deletions html/pfappserver/lib/pfappserver/Form/Config/Cloud/Azure.pm

This file was deleted.

45 changes: 0 additions & 45 deletions html/pfappserver/lib/pfappserver/Form/Config/Cloud/Google.pm

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
</template>
<template v-slot:buttonAdd>
<b-dropdown :text="$t('New Cloud')" variant="outline-primary">
<!-- <b-dropdown-item :to="{ name: 'newCloud', params: { cloudType: 'Azure' } }">Microsoft Azure</b-dropdown-item>
<b-dropdown-item :to="{ name: 'newCloud', params: { cloudType: 'Google' } }">Google Cloud</b-dropdown-item>
-->
<b-dropdown-item :to="{ name: 'newCloud', params: { cloudType: 'Intune' } }">Microsoft Intune</b-dropdown-item>
</b-dropdown>
</template>
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,11 @@
</template>
<script>
import { BaseContainerLoading } from '@/components/new/'
import FormTypeAzure from './FormTypeAzure'
import FormTypeGoogle from './FormTypeGoogle'
import FormTypeIntune from './FormTypeIntune'
const components = {
BaseContainerLoading,
FormTypeAzure,
FormTypeGoogle,
FormTypeIntune,
}
Expand All @@ -48,10 +44,6 @@ export const setup = (props) => {
const formType = computed(() => {
const { type } = unref(form)
switch(type) {
case 'Azure':
return FormTypeAzure // break
case 'Google':
return FormTypeGoogle // break
case 'Intune':
return FormTypeIntune // break
default:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import i18n from '@/utils/locale'

export const types = {
Azure: i18n.t('Azure'),
Google: i18n.t('Google'),
Intune: i18n.t('Intune'),
}

Expand Down
4 changes: 0 additions & 4 deletions lib/pf/UnifiedApi/Controller/Config/Clouds.pm
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,10 @@ has 'primary_key' => 'cloud_id';

use pf::ConfigStore::Cloud;
use pfappserver::Form::Config::Cloud;
use pfappserver::Form::Config::Cloud::Azure;
use pfappserver::Form::Config::Cloud::Google;
use pfappserver::Form::Config::Cloud::Intune;

our %TYPES_TO_FORMS = (
map { $_ => "pfappserver::Form::Config::Cloud::$_" } qw(
Azure
Google
Intune
)
);
Expand Down
2 changes: 0 additions & 2 deletions lib/pf/constants/cloud.pm
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ use base qw(Exporter);
use Readonly;

Readonly::Scalar our $CLOUD_TYPES => [
"Azure",
"Google",
"Intune",
];

Expand Down

0 comments on commit bf6ebc0

Please sign in to comment.