Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable non-multiparty namespaces #878

Merged
merged 27 commits into from
Jul 6, 2022
Merged

Commits on Jun 28, 2022

  1. Split definition methods out of Broadcast Manager into new Definition…

    … Sender
    
    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    999cc61 View commit details
    Browse the repository at this point in the history
  2. Rename "Broadcast" methods of Definition Sender to "Create"

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    0312f18 View commit details
    Browse the repository at this point in the history
  3. Move BatchState struct into core

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    96dde60 View commit details
    Browse the repository at this point in the history
  4. Conditionally initialize multiparty messaging managers

    If multiparty mode is disabled for a given namespace, do not initialize the
    multipary manager or any of the messaging managers.
    
    Adjust other components and routes to deal with these managers potentially
    being nil.
    
    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    8c3a404 View commit details
    Browse the repository at this point in the history
  5. Add more config deprecation warnings

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    58d11f8 View commit details
    Browse the repository at this point in the history
  6. Store definitions locally in gateway mode

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    35d21d5 View commit details
    Browse the repository at this point in the history
  7. Use lowercase for nested array keys due to Viper bug

    Due to spf13/viper#1386, array keys with mixed
    case are not parsed correctly. At least for the time being, mitigate
    by changing some keys to all lowercase.
    
    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    cd7c354 View commit details
    Browse the repository at this point in the history
  8. Add helper for disabling routes based on orchestrator features

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    e974ce4 View commit details
    Browse the repository at this point in the history
  9. Add some additional test coverage

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    37a5864 View commit details
    Browse the repository at this point in the history
  10. Disable identity resolution for local definitions

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    09d4255 View commit details
    Browse the repository at this point in the history
  11. Allow plugin config to be omitted

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    3ee0967 View commit details
    Browse the repository at this point in the history
  12. Remove default value for "ffdx"

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    4fe64b6 View commit details
    Browse the repository at this point in the history
  13. Move FFI/API creation methods into Definition Sender

    To align with other components, Definition Sender is the entry point for initiating
    the creation of contract FFIs/APIs, but it calls out to Contract Manager for
    validation.
    
    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    82a0476 View commit details
    Browse the repository at this point in the history
  14. Combine defsender into definitions package

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    dced5c5 View commit details
    Browse the repository at this point in the history
  15. Shorten definition handler filenames

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    a8e080e View commit details
    Browse the repository at this point in the history
  16. Handle gateway-mode token pool definitions directly

    No need to create a message in this case.
    
    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    5fbce07 View commit details
    Browse the repository at this point in the history
  17. Handle gateway-mode contract definitions directly

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    cc3b5f3 View commit details
    Browse the repository at this point in the history
  18. Disable datatype definitions in gateway mode

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    0f22e53 View commit details
    Browse the repository at this point in the history
  19. Remove unused CreateDefinition method from public interface

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    5779bc4 View commit details
    Browse the repository at this point in the history
  20. Handle gateway-mode identity definitions directly

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    3f77c04 View commit details
    Browse the repository at this point in the history
  21. Move plugin start calls to namespace manager

    Avoid starting plugins more than once.
    
    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    1f60a54 View commit details
    Browse the repository at this point in the history
  22. Complete test coverage and remove dead branches

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    2a02fee View commit details
    Browse the repository at this point in the history
  23. Combine init of definition sender/handler

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    007f8a8 View commit details
    Browse the repository at this point in the history
  24. Fix up identity update path

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    03989eb View commit details
    Browse the repository at this point in the history
  25. Remove references to "gateway mode"

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    fb5c9a3 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. Return an error if key cannot be resolved in non-multiparty mode

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    0ce79ca View commit details
    Browse the repository at this point in the history
  2. Allow FFIs and APIs to be created without a message ID

    Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
    awrichar committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    784a4db View commit details
    Browse the repository at this point in the history