- 
                Notifications
    You must be signed in to change notification settings 
- Fork 39
Open
Labels
bugSomething isn't workingSomething isn't workingpinnedLong-term issues that should be solved without going staleLong-term issues that should be solved without going stale
Description
If I have a shared provider like the one in the example below that has an explicit ID, links do not work properly:
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: shared-provider
  annotations:
    description: "Shared provider instances"
    experimental.wasmcloud.dev/shared: "true"
spec:
  components:
    - name: custom-provider
      type: capability
      properties:
        image: custom-provider:0.0.0
        id: custom-provider
      traits:
        - type: spreadscaler
          properties:
            instances: 1If you look at the published linkdefs, you'll get a different source ID than you should when using it in another manifest:
❯ wash link get
  Source ID                          Target                                 Interface(s)              Name
  shared_provider-custom_provider   01914a67-f1c6-70e6-9ddd-e4f4437ee407   wasi:http/incoming-handler   default
This should be just a fix that checks if a target manifest has an ID and to use that instead of generating it.
brooksmtownsend
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpinnedLong-term issues that should be solved without going staleLong-term issues that should be solved without going stale