Please sign in to comment.
Serverless implementation refactor and add api-name option for server…
…less deployment (#324) * Add api_name as param for lambda/gcp * use user defined api_name * add validation for serverless api_name * use boto3 to find aws lambda info * add validation for api_name option * make sure we catch exception from delete operation * make sure catch exception from describe as well * better handle for bentoml exceptions in operator * wrap try/catch outside operator actions * clean up imports * add python version as part of bento service metadata * set python version for BentoServiceMetadata proto * use load_service_metadata for deployment * make sure use metadata * dynamic import Status * make sure use bento config metadata * use yatai service instead of repo as part of operator signature * refactor serverless deployment * remove temp project generator for serverless * clean up
- Loading branch information...
Showing with 858 additions and 703 deletions.
- +2 −0 bentoml/archive/loader.py
- +18 −5 bentoml/cli/deployment.py
- +3 −3 bentoml/deployment/operator.py
- +227 −208 bentoml/deployment/sagemaker/__init__.py
- +235 −153 bentoml/deployment/serverless/aws_lambda.py
- +166 −113 bentoml/deployment/serverless/gcp_function.py
- +61 −135 bentoml/deployment/serverless/serverless_utils.py
- +26 −1 bentoml/deployment/utils.py
- +4 −0 bentoml/exceptions.py
- +57 −43 bentoml/proto/deployment_pb2.py
- +40 −33 bentoml/proto/repository_pb2.py
- +1 −1 bentoml/repository/metadata_store.py
- +1 −0 bentoml/service.py
- +2 −1 bentoml/service_env.py
- +8 −2 bentoml/utils/validator/__init__.py
- +4 −5 bentoml/yatai/yatai_service_impl.py
- +2 −0 protos/deployment.proto
- +1 −0 protos/repository.proto
Oops, something went wrong.