You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by He Sun <no...@github.com.INVALID> on 2023/03/16 10:09:54 UTC

[apache/incubator-teaclave] Count quota (PR #678)

## Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.

It is necessary to count the function invocation times. Almost every FaaS platform has this feature. A limit to the times is also added in this PR.  

Fixes # (issue)

## Type of change (select or add applied and delete the others)

- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] API change with a documentation update
- [ ] Additional test coverage
- [ ] Code cleanup or just sync with upstream third-party crates

## How has this been tested?

## Checklist

- [X] Fork the repo and create your branch from `master`.
- [X] If you&#39;ve added code that should be tested, add tests.
- [ ] If you&#39;ve changed APIs, update the documentation.
- [X] Ensure the tests pass (see CI results).
- [X] Make sure your code lints/format.

You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave/pull/678

-- Commit Summary --

  * Update the Rustfmt edition number to the latest
  * [CI] Update the license tool
  * Reorganize scripts and tool
  * Add usage statistics and quota for function

-- File Changes --

    M .github/workflows/ci.yml (2)
    M .rustfmt.toml (2)
    M README.md (2)
    M cmake/TeaclaveGenVars.cmake (2)
    M cmake/scripts/parse_cargo_packages.py (4)
    M cmake/tomls/Cargo.sgx_trusted_lib.toml (2)
    M cmake/tomls/Cargo.sgx_untrusted_app.toml (2)
    M docs/README.md (2)
    M docs/development-tips.md (2)
    M examples/c/builtin_echo.c (3)
    M examples/c/builtin_ordered_set_intersect.c (3)
    M examples/rust/builtin_echo/src/main.rs (1)
    M examples/rust/builtin_ordered_set_intersect/src/main.rs (1)
    M sdk/c/teaclave_client_sdk.h (26)
    M sdk/python/teaclave.py (35)
    M sdk/rust/src/bindings.rs (5)
    M sdk/rust/src/lib.rs (79)
    M services/frontend/enclave/src/service.rs (34)
    M services/management/enclave/src/error.rs (2)
    M services/management/enclave/src/service.rs (107)
    M services/proto/src/proto/teaclave_frontend_service.proto (12)
    M services/proto/src/proto/teaclave_management_service.proto (1)
    M services/proto/src/teaclave_frontend_service.rs (89)
    M services/proto/src/teaclave_management_service.rs (4)
    M tests/functional/enclave/src/management_service.rs (1)
    A tools/README.md (9)
    R tools/scripts/ide.sh (0)
    R tools/sgx_tool/README.md (4)
    R tools/sgx_tool/app/Cargo.toml (4)
    R tools/sgx_tool/app/build.rs (0)
    R tools/sgx_tool/app/src/main.rs (0)
    R tools/sgx_tool/enclave/Cargo.toml (8)
    R tools/sgx_tool/enclave/Enclave.config.xml (0)
    R tools/sgx_tool/enclave/src/lib.rs (0)
    M types/src/function.rs (24)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/678.patch
https://github.com/apache/incubator-teaclave/pull/678.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/678
You are receiving this because you are subscribed to this thread.

Message ID: &lt;apache/incubator-teaclave/pull/678@github.com&gt;

Re: [apache/incubator-teaclave] Count quota (PR #678)

Posted by He Sun <no...@github.com.INVALID>.
Merged #678 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/678#event-8778363308
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>