This is an automated email from the ASF dual-hosted git repository.
yasithdev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/master by this push:
new 20076b36fd Remove dead workflow_data.proto and its orphaned SDK stubs
(#670)
20076b36fd is described below
commit 20076b36fd6c457277d96b02e062442d97f7af2b
Author: Yasith Jayawardana <[email protected]>
AuthorDate: Sat Jun 13 01:01:46 2026 -0400
Remove dead workflow_data.proto and its orphaned SDK stubs (#670)
workflow_data.proto (ComponentStatus, WorkflowStatus, WorkflowModel,
EdgeModel,
PortModel, NodeModel) is imported by no other proto and referenced by no
hand-written Java/Python/Go — a leftover workflow-engine model contract.
Remove
it and its three committed SDK stubs (workflow_data_pb2.py/.pyi/_grpc.py).
Protos
are glob-compiled, so the reactor regenerates cleanly without it.
---
.../model/workflow/data/workflow_data.proto | 95 ---------------
.../model/workflow/data/workflow_data_pb2.py | 52 --------
.../model/workflow/data/workflow_data_pb2.pyi | 131 ---------------------
.../model/workflow/data/workflow_data_pb2_grpc.py | 24 ----
4 files changed, 302 deletions(-)
diff --git
a/airavata-api/src/main/proto/org/apache/airavata/model/workflow/data/workflow_data.proto
b/airavata-api/src/main/proto/org/apache/airavata/model/workflow/data/workflow_data.proto
deleted file mode 100644
index a870080b65..0000000000
---
a/airavata-api/src/main/proto/org/apache/airavata/model/workflow/data/workflow_data.proto
+++ /dev/null
@@ -1,95 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// 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.
-
-syntax = "proto3";
-
-package org.apache.airavata.model;
-
-option java_package = "org.apache.airavata.model.proto";
-option java_multiple_files = true;
-
-import "org/apache/airavata/model/application/io/application_io.proto";
-
-enum WorkflowState {
- WORKFLOW_STATE_UNKNOWN = 0;
- CREATED = 1;
- STARTED = 2;
- EXECUTING = 3;
- COMPLETED = 4;
- FAILED = 5;
- CANCELLING = 6;
- CANCELED = 7;
-}
-
-enum ComponentState {
- COMPONENT_STATE_UNKNOWN = 0;
- COMPONENT_CREATED = 1;
- WAITING = 2;
- READY = 3;
- RUNNING = 4;
- COMPONENT_COMPLETED = 5;
- COMPONENT_FAILED = 6;
- COMPONENT_CANCELED = 7;
-}
-
-message ComponentStatus {
- ComponentState state = 1;
- string reason = 2;
- int64 timeof_state_change = 3;
-}
-
-message WorkflowStatus {
- WorkflowState state = 1;
- int64 time_of_state_change = 2;
- string reason = 3;
-}
-
-message WorkflowModel {
- string template_id = 1;
- string name = 2;
- string graph = 3;
- string gateway_id = 4;
- string created_user = 5;
- bytes image = 6;
- repeated org.apache.airavata.model.application.io.InputDataObjectType
workflow_inputs = 7;
- repeated org.apache.airavata.model.application.io.OutputDataObjectType
workflow_outputs = 8;
- int64 creation_time = 9;
-}
-
-message EdgeModel {
- string edge_id = 1;
- string name = 2;
- ComponentStatus status = 3;
- string description = 4;
-}
-
-message PortModel {
- string port_id = 1;
- string name = 2;
- ComponentStatus status = 3;
- string value = 4;
- string description = 5;
-}
-
-message NodeModel {
- string node_id = 1;
- string name = 2;
- string application_id = 3;
- string application_name = 4;
- ComponentStatus status = 5;
- string description = 6;
-}
diff --git
a/airavata-python-sdk/airavata_sdk/generated/org/apache/airavata/model/workflow/data/workflow_data_pb2.py
b/airavata-python-sdk/airavata_sdk/generated/org/apache/airavata/model/workflow/data/workflow_data_pb2.py
deleted file mode 100644
index b956996ffc..0000000000
---
a/airavata-python-sdk/airavata_sdk/generated/org/apache/airavata/model/workflow/data/workflow_data_pb2.py
+++ /dev/null
@@ -1,52 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by the protocol buffer compiler. DO NOT EDIT!
-# NO CHECKED-IN PROTOBUF GENCODE
-# source: org/apache/airavata/model/workflow/data/workflow_data.proto
-# Protobuf Python Version: 6.31.1
-"""Generated protocol buffer code."""
-from google.protobuf import descriptor as _descriptor
-from google.protobuf import descriptor_pool as _descriptor_pool
-from google.protobuf import runtime_version as _runtime_version
-from google.protobuf import symbol_database as _symbol_database
-from google.protobuf.internal import builder as _builder
-_runtime_version.ValidateProtobufRuntimeVersion(
- _runtime_version.Domain.PUBLIC,
- 6,
- 31,
- 1,
- '',
- 'org/apache/airavata/model/workflow/data/workflow_data.proto'
-)
-# @@protoc_insertion_point(imports)
-
-_sym_db = _symbol_database.Default()
-
-
-from org.apache.airavata.model.application.io import application_io_pb2 as
org_dot_apache_dot_airavata_dot_model_dot_application_dot_io_dot_application__io__pb2
-
-
-DESCRIPTOR =
_descriptor_pool.Default().AddSerializedFile(b'\n;org/apache/airavata/model/workflow/data/workflow_data.proto\x12\x19org.apache.airavata.model\x1a=org/apache/airavata/model/application/io/application_io.proto\"x\n\x0f\x43omponentStatus\x12\x38\n\x05state\x18\x01
\x01(\x0e\x32).org.apache.airavata.model.ComponentState\x12\x0e\n\x06reason\x18\x02
\x01(\t\x12\x1b\n\x13timeof_state_change\x18\x03
\x01(\x03\"w\n\x0eWorkflowStatus\x12\x37\n\x05state\x18\x01
\x01(\x0e\x32(.org.apac [...]
-
-_globals = globals()
-_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
-_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR,
'org.apache.airavata.model.workflow.data.workflow_data_pb2', _globals)
-if not _descriptor._USE_C_DESCRIPTORS:
- _globals['DESCRIPTOR']._loaded_options = None
- _globals['DESCRIPTOR']._serialized_options =
b'\n\037org.apache.airavata.model.protoP\001'
- _globals['_WORKFLOWSTATE']._serialized_start=1165
- _globals['_WORKFLOWSTATE']._serialized_end=1306
- _globals['_COMPONENTSTATE']._serialized_start=1309
- _globals['_COMPONENTSTATE']._serialized_end=1485
- _globals['_COMPONENTSTATUS']._serialized_start=153
- _globals['_COMPONENTSTATUS']._serialized_end=273
- _globals['_WORKFLOWSTATUS']._serialized_start=275
- _globals['_WORKFLOWSTATUS']._serialized_end=394
- _globals['_WORKFLOWMODEL']._serialized_start=397
- _globals['_WORKFLOWMODEL']._serialized_end=720
- _globals['_EDGEMODEL']._serialized_start=722
- _globals['_EDGEMODEL']._serialized_end=845
- _globals['_PORTMODEL']._serialized_start=848
- _globals['_PORTMODEL']._serialized_end=986
- _globals['_NODEMODEL']._serialized_start=989
- _globals['_NODEMODEL']._serialized_end=1162
-# @@protoc_insertion_point(module_scope)
diff --git
a/airavata-python-sdk/airavata_sdk/generated/org/apache/airavata/model/workflow/data/workflow_data_pb2.pyi
b/airavata-python-sdk/airavata_sdk/generated/org/apache/airavata/model/workflow/data/workflow_data_pb2.pyi
deleted file mode 100644
index 91968f8367..0000000000
---
a/airavata-python-sdk/airavata_sdk/generated/org/apache/airavata/model/workflow/data/workflow_data_pb2.pyi
+++ /dev/null
@@ -1,131 +0,0 @@
-from org.apache.airavata.model.application.io import application_io_pb2 as
_application_io_pb2
-from google.protobuf.internal import containers as _containers
-from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
-from google.protobuf import descriptor as _descriptor
-from google.protobuf import message as _message
-from collections.abc import Iterable as _Iterable, Mapping as _Mapping
-from typing import ClassVar as _ClassVar, Optional as _Optional, Union as
_Union
-
-DESCRIPTOR: _descriptor.FileDescriptor
-
-class WorkflowState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
- __slots__ = ()
- WORKFLOW_STATE_UNKNOWN: _ClassVar[WorkflowState]
- CREATED: _ClassVar[WorkflowState]
- STARTED: _ClassVar[WorkflowState]
- EXECUTING: _ClassVar[WorkflowState]
- COMPLETED: _ClassVar[WorkflowState]
- FAILED: _ClassVar[WorkflowState]
- CANCELLING: _ClassVar[WorkflowState]
- CANCELED: _ClassVar[WorkflowState]
-
-class ComponentState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
- __slots__ = ()
- COMPONENT_STATE_UNKNOWN: _ClassVar[ComponentState]
- COMPONENT_CREATED: _ClassVar[ComponentState]
- WAITING: _ClassVar[ComponentState]
- READY: _ClassVar[ComponentState]
- RUNNING: _ClassVar[ComponentState]
- COMPONENT_COMPLETED: _ClassVar[ComponentState]
- COMPONENT_FAILED: _ClassVar[ComponentState]
- COMPONENT_CANCELED: _ClassVar[ComponentState]
-WORKFLOW_STATE_UNKNOWN: WorkflowState
-CREATED: WorkflowState
-STARTED: WorkflowState
-EXECUTING: WorkflowState
-COMPLETED: WorkflowState
-FAILED: WorkflowState
-CANCELLING: WorkflowState
-CANCELED: WorkflowState
-COMPONENT_STATE_UNKNOWN: ComponentState
-COMPONENT_CREATED: ComponentState
-WAITING: ComponentState
-READY: ComponentState
-RUNNING: ComponentState
-COMPONENT_COMPLETED: ComponentState
-COMPONENT_FAILED: ComponentState
-COMPONENT_CANCELED: ComponentState
-
-class ComponentStatus(_message.Message):
- __slots__ = ("state", "reason", "timeof_state_change")
- STATE_FIELD_NUMBER: _ClassVar[int]
- REASON_FIELD_NUMBER: _ClassVar[int]
- TIMEOF_STATE_CHANGE_FIELD_NUMBER: _ClassVar[int]
- state: ComponentState
- reason: str
- timeof_state_change: int
- def __init__(self, state: _Optional[_Union[ComponentState, str]] = ...,
reason: _Optional[str] = ..., timeof_state_change: _Optional[int] = ...) ->
None: ...
-
-class WorkflowStatus(_message.Message):
- __slots__ = ("state", "time_of_state_change", "reason")
- STATE_FIELD_NUMBER: _ClassVar[int]
- TIME_OF_STATE_CHANGE_FIELD_NUMBER: _ClassVar[int]
- REASON_FIELD_NUMBER: _ClassVar[int]
- state: WorkflowState
- time_of_state_change: int
- reason: str
- def __init__(self, state: _Optional[_Union[WorkflowState, str]] = ...,
time_of_state_change: _Optional[int] = ..., reason: _Optional[str] = ...) ->
None: ...
-
-class WorkflowModel(_message.Message):
- __slots__ = ("template_id", "name", "graph", "gateway_id", "created_user",
"image", "workflow_inputs", "workflow_outputs", "creation_time")
- TEMPLATE_ID_FIELD_NUMBER: _ClassVar[int]
- NAME_FIELD_NUMBER: _ClassVar[int]
- GRAPH_FIELD_NUMBER: _ClassVar[int]
- GATEWAY_ID_FIELD_NUMBER: _ClassVar[int]
- CREATED_USER_FIELD_NUMBER: _ClassVar[int]
- IMAGE_FIELD_NUMBER: _ClassVar[int]
- WORKFLOW_INPUTS_FIELD_NUMBER: _ClassVar[int]
- WORKFLOW_OUTPUTS_FIELD_NUMBER: _ClassVar[int]
- CREATION_TIME_FIELD_NUMBER: _ClassVar[int]
- template_id: str
- name: str
- graph: str
- gateway_id: str
- created_user: str
- image: bytes
- workflow_inputs:
_containers.RepeatedCompositeFieldContainer[_application_io_pb2.InputDataObjectType]
- workflow_outputs:
_containers.RepeatedCompositeFieldContainer[_application_io_pb2.OutputDataObjectType]
- creation_time: int
- def __init__(self, template_id: _Optional[str] = ..., name: _Optional[str]
= ..., graph: _Optional[str] = ..., gateway_id: _Optional[str] = ...,
created_user: _Optional[str] = ..., image: _Optional[bytes] = ...,
workflow_inputs:
_Optional[_Iterable[_Union[_application_io_pb2.InputDataObjectType, _Mapping]]]
= ..., workflow_outputs:
_Optional[_Iterable[_Union[_application_io_pb2.OutputDataObjectType,
_Mapping]]] = ..., creation_time: _Optional[int] = ...) -> None: ...
-
-class EdgeModel(_message.Message):
- __slots__ = ("edge_id", "name", "status", "description")
- EDGE_ID_FIELD_NUMBER: _ClassVar[int]
- NAME_FIELD_NUMBER: _ClassVar[int]
- STATUS_FIELD_NUMBER: _ClassVar[int]
- DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
- edge_id: str
- name: str
- status: ComponentStatus
- description: str
- def __init__(self, edge_id: _Optional[str] = ..., name: _Optional[str] =
..., status: _Optional[_Union[ComponentStatus, _Mapping]] = ..., description:
_Optional[str] = ...) -> None: ...
-
-class PortModel(_message.Message):
- __slots__ = ("port_id", "name", "status", "value", "description")
- PORT_ID_FIELD_NUMBER: _ClassVar[int]
- NAME_FIELD_NUMBER: _ClassVar[int]
- STATUS_FIELD_NUMBER: _ClassVar[int]
- VALUE_FIELD_NUMBER: _ClassVar[int]
- DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
- port_id: str
- name: str
- status: ComponentStatus
- value: str
- description: str
- def __init__(self, port_id: _Optional[str] = ..., name: _Optional[str] =
..., status: _Optional[_Union[ComponentStatus, _Mapping]] = ..., value:
_Optional[str] = ..., description: _Optional[str] = ...) -> None: ...
-
-class NodeModel(_message.Message):
- __slots__ = ("node_id", "name", "application_id", "application_name",
"status", "description")
- NODE_ID_FIELD_NUMBER: _ClassVar[int]
- NAME_FIELD_NUMBER: _ClassVar[int]
- APPLICATION_ID_FIELD_NUMBER: _ClassVar[int]
- APPLICATION_NAME_FIELD_NUMBER: _ClassVar[int]
- STATUS_FIELD_NUMBER: _ClassVar[int]
- DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
- node_id: str
- name: str
- application_id: str
- application_name: str
- status: ComponentStatus
- description: str
- def __init__(self, node_id: _Optional[str] = ..., name: _Optional[str] =
..., application_id: _Optional[str] = ..., application_name: _Optional[str] =
..., status: _Optional[_Union[ComponentStatus, _Mapping]] = ..., description:
_Optional[str] = ...) -> None: ...
diff --git
a/airavata-python-sdk/airavata_sdk/generated/org/apache/airavata/model/workflow/data/workflow_data_pb2_grpc.py
b/airavata-python-sdk/airavata_sdk/generated/org/apache/airavata/model/workflow/data/workflow_data_pb2_grpc.py
deleted file mode 100644
index 63875d6f94..0000000000
---
a/airavata-python-sdk/airavata_sdk/generated/org/apache/airavata/model/workflow/data/workflow_data_pb2_grpc.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
-"""Client and server classes corresponding to protobuf-defined services."""
-import grpc
-import warnings
-
-
-GRPC_GENERATED_VERSION = '1.80.0'
-GRPC_VERSION = grpc.__version__
-_version_not_supported = False
-
-try:
- from grpc._utilities import first_version_is_lower
- _version_not_supported = first_version_is_lower(GRPC_VERSION,
GRPC_GENERATED_VERSION)
-except ImportError:
- _version_not_supported = True
-
-if _version_not_supported:
- raise RuntimeError(
- f'The grpc package installed is at version {GRPC_VERSION},'
- + ' but the generated code in
org/apache/airavata/model/workflow/data/workflow_data_pb2_grpc.py depends on'
- + f' grpcio>={GRPC_GENERATED_VERSION}.'
- + f' Please upgrade your grpc module to
grpcio>={GRPC_GENERATED_VERSION}'
- + f' or downgrade your generated code using
grpcio-tools<={GRPC_VERSION}.'
- )