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

dotCMS CLI: Implement endpoint to push files to dotCMS #24738

Closed
5 tasks
Tracked by #24753
nollymar opened this issue Apr 24, 2023 · 1 comment · Fixed by #25164
Closed
5 tasks
Tracked by #24753

dotCMS CLI: Implement endpoint to push files to dotCMS #24738

nollymar opened this issue Apr 24, 2023 · 1 comment · Fixed by #25164

Comments

@nollymar
Copy link
Contributor

nollymar commented Apr 24, 2023

Parent Issue

#24753

User Story

As a user, I'd like to have an endpoint to push files from my local environment to dotCMS using the CLI. This endpoint should:

  • Create any nested folders needed in dotCMS
  • Receive an optional desiredState parameter with values: live or working (live by default if not specified)
  • Also, it should receive an optional language (defaults to default language, if not specified)
  • If a file is archived, we should unarchive/publish it

Acceptance Criteria

The endpoint should support these operations:

  • Create any nested folders needed in dotCMS
  • Receive an optional desiredState parameter with values: live or working (live by default if not specified) and save the files considering this status
  • Also, it should receive an optional language (defaults to default language, if not specified)
  • If a file is archived, we should unarchive/publish it
  • Make sure zero length files can be pushed. Related to Error when update zero size file through Webdav or CLI. #24042

Besides, tests should be implemented accordingly.

Proposed Objective

Core Features

Proposed Priority

Priority 3 - Average

@nollymar nollymar moved this from New to Current Sprint Backlog in dotCMS - Product Planning Apr 24, 2023
@fabrizzio-dotCMS fabrizzio-dotCMS self-assigned this May 24, 2023
@fabrizzio-dotCMS fabrizzio-dotCMS moved this from Current Sprint Backlog to In Progress in dotCMS - Product Planning May 24, 2023
fabrizzio-dotCMS added a commit that referenced this issue May 25, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 5, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 6, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 7, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 7, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 12, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 14, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 21, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 22, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 22, 2023
@fabrizzio-dotCMS fabrizzio-dotCMS linked a pull request Jun 22, 2023 that will close this issue
fabrizzio-dotCMS added a commit that referenced this issue Jun 22, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 27, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 27, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 28, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 29, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 29, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 30, 2023
fabrizzio-dotCMS added a commit that referenced this issue Jun 30, 2023
nollymar pushed a commit that referenced this issue Jun 30, 2023
* #24738

* #24738 pusg files

* #24738

* #24738

* #24738

* #24738 file asset download endpoint

* #24738 save point

* #24738 fixes

* #24738 fixing 404

* #24738  fix bug on pull

* #24738 adding delete support + tests

* #24738 adding doc

* #24738 adding doc

* #24738 many fixes bringing versions + initiating delete endpoint work

* #fix postman

* #24738 fix in tests

* #24738 remove unnecessary class

* #24738  fixing sub folder dups + IT for rchive and delete

* #24738 fix conflict

* #24738 archive file postman test

* #24738 fix retrieving file versions

* #24738 feedback

* #24738 improve finding all versions

* #24738 no dont to filter live or worrking if we get our versions joined with contentlet_version_info

* #24738 order tests

* #24738 change on the field we use to get to the  asset

* #24738

* #24738 solve conflict
@nollymar nollymar reopened this Jun 30, 2023
@nollymar nollymar moved this from In Progress to Internal QA in dotCMS - Product Planning Jun 30, 2023
manuelrojas pushed a commit that referenced this issue Jul 5, 2023
* #24738

* #24738 pusg files

* #24738

* #24738

* #24738

* #24738 file asset download endpoint

* #24738 save point

* #24738 fixes

* #24738 fixing 404

* #24738  fix bug on pull

* #24738 adding delete support + tests

* #24738 adding doc

* #24738 adding doc

* #24738 many fixes bringing versions + initiating delete endpoint work

* #fix postman

* #24738 fix in tests

* #24738 remove unnecessary class

* #24738  fixing sub folder dups + IT for rchive and delete

* #24738 fix conflict

* #24738 archive file postman test

* #24738 fix retrieving file versions

* #24738 feedback

* #24738 improve finding all versions

* #24738 no dont to filter live or worrking if we get our versions joined with contentlet_version_info

* #24738 order tests

* #24738 change on the field we use to get to the  asset

* #24738

* #24738 solve conflict
@dcolina
Copy link
Contributor

dcolina commented Aug 11, 2023

Internal QA: PASSED.

Related to #24740

@github-project-automation github-project-automation bot moved this from Internal QA to Done in dotCMS - Product Planning Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants