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

Load module feature #128

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dorianleveque
Copy link

No description provided.

@Wojcik98
Copy link

@jontje any chance this could be merged in the near future?

@jontje
Copy link
Contributor

jontje commented Jan 13, 2021

@jontje any chance this could be merged in the near future?

I don't have time this week, but I should be able to find some time for testing and reviewing either next week or the week after that.

@Wojcik98
Copy link

That would be great, thanks!

@Wojcik98
Copy link

Any updates on this?

@gavanderhoorn
Copy link
Member

I'm really sorry about leaving this open for so long @dorianleveque and @Wojcik98.

It's not because it's uninteresting or unwanted, far from it.

I am going to leave the review to @jontje though.

@jontje
Copy link
Contributor

jontje commented Jan 29, 2021

I have unfortunately not been able to find any time for the review due to higher priority tasks, and I am currently unsure when things will ease up.

RWSClient::RWSResult RWSClient::loadModuleIntoTask(const std::string& task, const FileResource& resource, const bool replace)
{
std::string uri = generateRAPIDTasksPath(task) + "?" + Queries::ACTION_LOAD_MODULE;
std::string content = Identifiers::MODULEPATH + "=" + generateFilePath(resource) + "&replace=" + ((replace) ? "true" : "false");

Choose a reason for hiding this comment

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

Path to the file should be a direct path, i.e. "{directory}/{filename}", but generateFilePath(resource) adds "fileservice/" at the beginning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants