Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import com.morpheusdata.core.provisioning.MorpheusProvisionService;
import com.morpheusdata.model.BackupProvider;
import com.morpheusdata.core.admin.MorpheusAdminService;
import com.morpheusdata.core.library.MorpheusResourceSpecTemplateService;

public interface MorpheusAsyncServices {
/**
Expand Down Expand Up @@ -563,4 +564,16 @@ public interface MorpheusAsyncServices {
* @return an instance of the MorpheusCurrencyConversionService
*/
MorpheusCurrencyConversionService getCurrency();

/**
* Returns the {@link MorpheusResourceSpecTemplateService} which allows access to Resource Spec Template operations
* @return an instance of {@link MorpheusResourceSpecTemplateService}
*/
MorpheusResourceSpecTemplateService getResourceSpecTemplate();

/**
* Returns the {@link MorpheusFileContentService} which allows access to File Content operations
* @return an instance of {@link MorpheusFileContentService}
*/
MorpheusFileContentService getFileContent();
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* Copyright 2024 Morpheus Data, LLC.
*
* Licensed under the PLUGIN CORE SOURCE LICENSE (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://raw.githubusercontent.com/gomorpheus/morpheus-plugin-core/v1.0.x/LICENSE
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.morpheusdata.core;

import com.morpheusdata.model.FileContent;

/**
* Context methods for managing file content
* @author bdwheeler
* @since 0.15.1
*/
public interface MorpheusFileContentService extends MorpheusDataService<FileContent,FileContent> {

}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ComputeTypeLayout extends MorpheusModel {
protected Collection<ComputeTypeSet> computeServers;
protected ProvisionType provisionType;
protected ComputeServerGroupType groupType;

protected Collection<ResourceSpecTemplate> specTemplates;
protected Collection<ComputeTypePackage> packages;

public String getCode() {
Expand Down
Loading