Skip to content
Snippets Groups Projects
Commit 9d8a22b0 authored by Julian Tusch's avatar Julian Tusch :no_entry_sign:
Browse files

updated naming to better reflect functionality

parent 24fd4cf9
No related branches found
No related tags found
3 merge requests!460Draft: fluxio/dev-skill-timeout,!454Fluxio/dev delete skill method,!449Fluxio preliminary release
Pipeline #19469 passed
......@@ -99,6 +99,8 @@ module armarx
string hint;
};
sequence<dto::FluxioIdentificator> FluxioIdentificatorList;
struct FluxioSkillStatusUpdate
{
armarx::core::time::dto::DateTime timestamp;
......@@ -190,7 +192,6 @@ module armarx
};
sequence<dto::FluxioSkill> FluxioSkillList;
sequence<dto::FluxioIdentificator> FluxioDeleteResult;
}
module dti
......@@ -258,7 +259,7 @@ module armarx
void
deleteSkillMutex(string skillId, string userId); // release a mutex for a skill
optional(5) dto::FluxioDeleteResult
optional(5) dto::FluxioIdentificatorList
deleteSkill(string skillId, string userId, bool dryRun); // removes a skill
// TODO: implement dry-run
......
......@@ -269,13 +269,13 @@ namespace armarx
return s->second.updateFromIce(skill, providersMap, profilesMap, skillsMap);
}
IceUtil::Optional<skills::manager::dto::FluxioDeleteResult>
IceUtil::Optional<skills::manager::dto::FluxioIdentificatorList>
SkillManagerComponentPluginUser::deleteSkill(const std::string& skillId,
const std::string& userId,
bool dryRun,
const Ice::Current& current)
{
skills::manager::dto::FluxioDeleteResult ret;
skills::manager::dto::FluxioIdentificatorList ret;
auto l = this->plugin->deleteSkill(skillId, userId, dryRun);
if (!l.has_value())
......
......@@ -86,7 +86,7 @@ namespace armarx
const skills::manager::dto::FluxioSkill& skill,
const Ice::Current& current) override;
IceUtil::Optional<skills::manager::dto::FluxioDeleteResult>
IceUtil::Optional<skills::manager::dto::FluxioIdentificatorList>
deleteSkill(const std::string& skillId,
const std::string& userId,
bool dryRun,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment