Delete study, move from one storage to another and access rules based on called AET

452 views
Skip to first unread message

Maximilien Renard

unread,
Sep 17, 2014, 4:29:28 AM9/17/14
to dcm...@googlegroups.com
Hello !


I'm currently configuring dcm4chee and I cannot figure out how to do the 4 following things:

1) Programmatically schedule a study for deletion. I need to do that from a java application running on the same server. I have tried to manually flag the study as deletable by changing the "mark_to_delete" field of the study_on_fs table to true but it doesn't seem to do anything. Is there something I am missing? Is it possible to do it by calling something related to the jmx-console? Is that something that can be done through an HTTP request?

2) I have created 3 storages. The first one "PUBLIC" is supposed to contain all the files that all users will be able to see. The second one "PRIVATE" will contain only files that some users will be able to see. The last one "DELETABLE" is supposed to contain all files that will be deleted. I planned on configuration the deletion criteria in the latter in such a way that it would regularly delete the files. However I cannot figure out how to move (or even copy and then delete from source) files from one storage to another. When I do a store or a move, it says that the instance is already known in the db and nothing is done. Is it possible to move files from one storage to another? If yes, how? I also need to achieve this in my java application.

3) This links to another issue that I have : is it possible to configure dcm4chee in such a way that when an existing series is received, it still triggers the forwards and series-permissions stylesheets?

4) When a file is received one the AETitle associated with the two storages "PUBLIC" and "PRIVATE" mentionned above, I grant all permissions on the series to the role "public" or "private" depending on the called AET. This works as expected and I'm able to then associate a client AETitle with a specific user (e.g. AETitle "CLIENT_PUBLIC" is associated with the user "public" who has the role "public"). That way, I make sure that the users only see what is appropriate. However, I'd like to simplify this a bit by simply selecting the appropriate user based on the CALLED_AET and not the CLIENT_AET. Is this possible?


Many thanks!


Regards,


Maximilien

Prakash Jayaraman

unread,
Sep 17, 2014, 6:15:50 AM9/17/14
to dcm...@googlegroups.com
Interfacing Hierarchical Storage Managment Systems

The above link will provide part of the solution, I believe.

--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

Maximilien Renard

unread,
Sep 17, 2014, 8:12:36 AM9/17/14
to dcm...@googlegroups.com
Hi,

Thanks for the link but I already had found it and it doesn't seem to relate with my questions. I'm not trying to archive the files and I'm not interested in doing it automatically anyway. I need to be able to move files and delete them programatically.


Many thanks!


Max

Gustavo Pérez

unread,
Nov 7, 2014, 5:11:38 PM11/7/14
to dcm...@googlegroups.com
Can you do this?
I posted similar problem, but We had used three levels of storage: online, nearline and compression. But we didn't delete studies that have copied on the other storage, successfully never.

Gustavo
Reply all
Reply to author
Forward
0 new messages