Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.
This repository was archived by the owner on May 14, 2025. It is now read-only.

SCDF running locally fails to deploy apps #5232

@onobc

Description

@onobc

Running into an issue when running 2.10.1 locally SCDF+Skipper+H2. Repro steps are below. We may have an issue w/ the OOTB 2.10.1 running locally like this.

Summary

Attempt to resolve the 3.2.1 apps is failing on the default repo.spring.io/snapshot maven setting (it used to work because everything was available from there)

Summary on maven repos

https://repo.spring.io/snapshot does not work
https://repo.spring.io/libs-snapshot works (for me)
https://repo.spring.io/release works

Steps repro

Steps In UI
  • Navigate to localhost:9393/dashboard
  • Add apps -> kafka maven
  • Navigate to apps -> click aggregator
  • ----> 💣 - no properties for app in UI and log complains about not able to get resource from /snapshot

Ok lets try to fix w/…

  • Create democonfig.yml:
    maven:
      remoteRepositories:
        springRepo:
          url: https://repo.spring.io/release
    
  • Restart SCDF w/ above file:
    java -jar spring-cloud-dataflow-server-2.10.1.jar -Dspring.config.additonal-location="/Users/cbono/scdf-run-local/democonfig.yml"
    
  • Go through “Steps in UI” above - app props will show up.
  • Now do these steps as well:
Steps in UI
  • Create stream “time | log”
  • Deploy stream
  • -----> 💣 - skipper should fail on the snapshot repo as SCDF initially did.

Restart it w/ the same yml from above:

java -jar spring-cloud-skipper-server-2.9.1.jar -Dspring.config.additonal-location="/Users/cbono/scdf-run-local/democonfig.yml"

Redo above steps - should deploy fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions