Skip to content

Commit

Permalink
some more updates
Browse files Browse the repository at this point in the history
  • Loading branch information
AshishMahendra committed Oct 9, 2024
1 parent 09410c4 commit 57c2eae
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 26 deletions.
1 change: 1 addition & 0 deletions jac-splice-orc/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Importing required modules and classes."""
1 change: 1 addition & 0 deletions jac-splice-orc/grpc_local/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Importing required modules and classes."""
30 changes: 13 additions & 17 deletions jac-splice-orc/grpc_local/module_service_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions jac-splice-orc/managers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Importing required modules and classes."""
12 changes: 6 additions & 6 deletions jac-splice-orc/managers/pod_manager_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
labels:
app: pod-manager
spec:
replicas: 1
replicas: 1
selector:
matchLabels:
app: pod-manager
Expand All @@ -26,9 +26,9 @@ spec:
serviceAccountName: smartimportsa # Use the service account
containers:
- name: pod-manager
image: ashishmahendra/jac-pod-manager:0.9
image: ashishmahendra/jac-pod-manager:0.9
ports:
- containerPort: 8000
- containerPort: 8000

---

Expand All @@ -42,6 +42,6 @@ spec:
app: pod-manager
ports:
- protocol: TCP
port: 8000
targetPort: 8000
type: LoadBalancer
port: 8000
targetPort: 8000
type: LoadBalancer
1 change: 1 addition & 0 deletions jac-splice-orc/plugin/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Importing required modules and classes."""
9 changes: 7 additions & 2 deletions jac-splice-orc/plugin/splice_plugin.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
"""JAC Splice-Orchestrator Plugin."""

import types
from typing import Optional, Union

from jaclang.plugin.default import hookimpl
from jaclang.plugin.spec import JacBuiltin, JacCmdSpec, JacFeatureSpec, P, T
from jaclang.runtimelib.importer import ImportPathSpec, JacImporter, PythonImporter
from jaclang.runtimelib.machine import JacMachine, JacProgram
from jaclang.settings import settings

from managers.proxy_manager import ModuleProxy

import pluggy


hookimpl = pluggy.HookimplMarker("jac")


class SpliceOrcPlugin:
"""JAC Splice-Orchestrator Plugin."""

@staticmethod
@hookimpl
def jac_import(
Expand Down
1 change: 1 addition & 0 deletions jac-splice-orc/server/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Importing required modules and classes."""
3 changes: 2 additions & 1 deletion jac-splice-orc/test.jac
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
import:py numpy;
import:py numpy;
import:py pandas;
1 change: 1 addition & 0 deletions jac-splice-orc/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Importing required modules and classes."""

0 comments on commit 57c2eae

Please sign in to comment.