Exemplo n.º 1
0
class ClusterTypeDetailSerializer(ClusterTypeSerializer):
    actions = StackActionDetailSerializer(many=True, read_only=True)
    config = ConfigSerializer(many=True, read_only=True)
    upgrade = UpgradeSerializer(many=True, read_only=True)
    exports = ExportSerializer(many=True, read_only=True)
    imports = ImportSerializer(many=True, read_only=True)
Exemplo n.º 2
0
class AdcmTypeDetailSerializer(AdcmTypeSerializer):
    actions = StackActionDetailSerializer(many=True, read_only=True)
    config = ConfigSerializer(many=True, read_only=True)
Exemplo n.º 3
0
class ProviderTypeDetailSerializer(ProviderTypeSerializer):
    actions = StackActionDetailSerializer(many=True, read_only=True)
    config = ConfigSerializer(many=True, read_only=True)
    upgrade = UpgradeSerializer(many=True, read_only=True)
Exemplo n.º 4
0
class ComponentTypeDetailSerializer(ComponentTypeSerializer):
    actions = StackActionDetailSerializer(many=True, read_only=True)
    config = ConfigSerializer(many=True, read_only=True)
Exemplo n.º 5
0
class ServiceDetailSerializer(ServiceSerializer):
    actions = StackActionDetailSerializer(many=True, read_only=True)
    components = ComponentTypeSerializer(many=True, read_only=True)
    config = ConfigSerializer(many=True, read_only=True)
    exports = ExportSerializer(many=True, read_only=True)
    imports = ImportSerializer(many=True, read_only=True)