Petals CDK

Load service contract with imports only if needed

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 5.6.1
  • Fix Version/s: 5.6.2
  • Component/s: runtime
  • Security Level: Public
  • Description:
    Hide

    Service contract are loaded at several places to do different things. Sometimes it is needed to load import in the service contract, other times not. For example:

    • it is not needed to include imports when updating the endpoint name 'autogenerate',
    • but when the service contract is put in the registry, it should be done with the imports to be used by remote containers.
      So, please include imports in service contract only if needed.
    Show
    Service contract are loaded at several places to do different things. Sometimes it is needed to load import in the service contract, other times not. For example:
    • it is not needed to include imports when updating the endpoint name 'autogenerate',
    • but when the service contract is put in the registry, it should be done with the imports to be used by remote containers. So, please include imports in service contract only if needed.
  • Environment:
    -

Activity

People

Dates

  • Created:
    Wed, 26 Apr 2017 - 13:02:59 +0200
    Updated:
    Wed, 26 Apr 2017 - 14:50:56 +0200
    Resolved:
    Wed, 26 Apr 2017 - 14:50:55 +0200