Skip to content

Removed unsafe operations and updated dependencies - #114

Merged
sergkh merged 6 commits into
masterfrom
major-libs-update
Aug 18, 2026
Merged

sergkh merged 6 commits into
masterfrom
major-libs-update

Conversation

@sergkh

@sergkh sergkh commented Aug 17, 2026

Copy link
Copy Markdown
Member
  • Removed unsafe operations that cleaned all of the recipes or CAP files
  • Added confirmation for deletion operations (and --non-interactive flag for scripts)
  • Upgraded jackson version
  • Removed Java-WebSocket as native java client is good enough. Also added periodical pings, usefull for debugging
  • Moved Content-Type setting closer to specific requests as uploading of CAP files were failing because of it
  • WS delivery Status message is optional, so fixed reading of it
  • Added small usage examples and extended description of some options
  • Removed commons dependency – it needed for 2 simple functions.

@luisrodero-fidesmo luisrodero-fidesmo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 ! Just added a couple of comments. Also, can you please answer latest Miguel's question in the task?

Comment thread library/src/main/java/com/fidesmo/fdsm/FidesmoApiClient.java Outdated
private static void printUsageRecipes() {
System.err.println("Examples:");
System.err.println(" Upload a CAP file or recipe:");
System.err.println(" fdsm --auth <token> --app-id <app-id> --upload <name>.json");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same command can upload a recipe or a CAP file? No other flag is needed to tell them apart?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, they are differentiated by the file extension

sergkh and others added 3 commits August 17, 2026 21:26
@sergkh
sergkh merged commit 656b11b into master Aug 18, 2026
1 check passed
@sergkh
sergkh deleted the major-libs-update branch August 18, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants