comparison OrthancServer/LuaScripting.cpp @ 3920:82e88ff003d7 c-get

merge default -> c-get
author Alain Mazy <alain@mazy.be>
date Tue, 12 May 2020 14:58:24 +0200
parents 0e3849268a55
children 100fbe970762
comparison
equal deleted inserted replaced
3918:dba48c162b7b 3920:82e88ff003d7
586 OrthancConfiguration::ReaderLock configLock; 586 OrthancConfiguration::ReaderLock configLock;
587 modality = configLock.GetConfiguration().GetModalityUsingSymbolicName(name); 587 modality = configLock.GetConfiguration().GetModalityUsingSymbolicName(name);
588 } 588 }
589 589
590 // This is not a C-MOVE: No need to call "StoreScuCommand::SetMoveOriginator()" 590 // This is not a C-MOVE: No need to call "StoreScuCommand::SetMoveOriginator()"
591 return lock.AddStoreScuOperation(localAet, modality); 591 return lock.AddStoreScuOperation(context_, localAet, modality);
592 } 592 }
593 593
594 if (operation == "store-peer") 594 if (operation == "store-peer")
595 { 595 {
596 OrthancConfiguration::ReaderLock configLock; 596 OrthancConfiguration::ReaderLock configLock;
819 } 819 }
820 } 820 }
821 821
822 822
823 void LuaScripting::SignalStoredInstance(const std::string& publicId, 823 void LuaScripting::SignalStoredInstance(const std::string& publicId,
824 DicomInstanceToStore& instance, 824 const DicomInstanceToStore& instance,
825 const Json::Value& simplifiedTags) 825 const Json::Value& simplifiedTags)
826 { 826 {
827 Json::Value metadata = Json::objectValue; 827 Json::Value metadata = Json::objectValue;
828 828
829 for (ServerIndex::MetadataMap::const_iterator 829 for (ServerIndex::MetadataMap::const_iterator