Skip to content

Add create folder API #188

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

Merged
merged 1 commit into from
Dec 2, 2019
Merged

Add create folder API #188

merged 1 commit into from
Dec 2, 2019

Conversation

michalkcloudinay
Copy link
Contributor

No description provided.

@asisayag2 asisayag2 requested a review from nitzanj November 27, 2019 21:40
@@ -46,6 +46,7 @@
public static final Transformation DELETE_TRANSFORMATION = new Transformation().width(100).crop("scale").overlay(new TextLayer().text(SUFFIX + "_delete").fontFamily("Arial").fontSize(60));
public static final String TEST_KEY = "test-key" + SUFFIX;
public static final String API_TEST_RESTORE = "api_test_restore" + SUFFIX;
public static final Set<String> createdFolders = new HashSet<String>();
Copy link
Contributor

Choose a reason for hiding this comment

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

@michalkcloudinay , you only create a single folder with a known name in your test("api_test_create_folder" + "_" + SUFFIX), why you need to store a Set?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@asisayag2 In order to support additional functions (in the future) where we create folders. All folders will be added to this set and will be deleted in one command when cleaning up.

Copy link
Contributor

Choose a reason for hiding this comment

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

@michalkcloudinay , not needed right now.
Lean approach... we add what we need, and the next test that creates a folder will refactor to handle >1 folders.
@nitzanj , WDYT?

@nitzanj nitzanj changed the title "api create folder" Add create folder API Dec 2, 2019
@nitzanj nitzanj merged commit 659249e into master Dec 2, 2019
@nitzanj nitzanj deleted the feature/add-create-folder-api branch December 2, 2019 09:01
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.

3 participants