1
votes

Where does WSO2 Greg store custom RXTs that are created? They can be edited/added through admin console. I can see the default RXTs under wso2 greg home/repository/resources/rxts but do not see here the custom RXTs

Also let me know

How does WSo2 Greg generate reg_UUID for the resources added? I want to implement the UUID generation script outside so that i can add the resource entries in the respective tables directly from DB?

1
Does my answer helped you or you need more clarification ? - tk_
"This is a one-time addition and will not reflect any changes that we do to the rxt softcopy afterward" , this has helped me in knowing how to maintain rxt s. Also let me know RXT created through management console is stored in which registry table in DB? We have changed our plan on generating UUIDs.Do not need information on UUID generation now. - gayathri nadella_user6699670
Hi @gayathrinadella_user6699670, I got kinda busy this week. I will figure out a solution for your question once I'm free of work. Also please note that you ask this question on 2nd of feb, I answered it on 5th and since there was no feedback from you I put another comment on 7th asking how was my answer. after like 8++ days you are asking more questions. This is way too much for unpaid tasks like this. Only thing that motivates me to contribute to you is appreciations and that is also lacks from your-end. Again I will try to do my best in my free time. - tk_

1 Answers

0
votes

If you create it using mgt console it will be only stored in DB. However, users can add soft copies of rxt to <GREG_HOME>/repository/resources/rxts/ location. This is a one-time addition and will not reflect any changes that we do to the rxt softcopy afterward. Please find last words of this article.

UUID is created in registry PUT operation and please find the sample code here which we used to generate UUIDs for Swaggers. As per your fix you need to create a registry handler for your assets and remove any existing handler then link your UUID creation logic. Please find this article on how to create a custom handler.