omadawn / njord

Java iRule Editor
2 stars 1 forks source link

Have an 'offline' section so I can do new irule without having to connect #19

Closed omadawn closed 12 years ago

omadawn commented 12 years ago

This might be worth pushing off until v0.9.

omadawn commented 12 years ago

How to do so?

Re-Do the tree. Top node is an invisible 'top' node. Under that create 'Online' and 'Offline' Online won't be populated until you expand the tree. I should probably have get iRules not only get and populate the list but also open at leas the top level of the tree. Below each of Online and Offline there will also be sections for LTM iRules, GTM iRules, etc. but only if those other iRules types exist. Offline iRules should either only have one section or build the LTM/GTM/ETC sections based on the files structure of wherever I store them. I can create the directories if and only if you save one locall of that type. Question: Do I ask the user if it will be GTM/LTM/ETC ahead of time or just have a single directory?

Due to this a change will have to be made to the output stream writer. How will I know if I should save locally or push to the BigIP? I will have to do an if local write to local file and in order to move from local to remote have a separate mechanism. Instead of 'save' have 'deploy to bigip' or something.

omadawn commented 12 years ago

Ok, most of the local irules functionality is there. I need to add the ability to move local rules to remote as well as the ability to explicitely create new rules locally right now it just makes an assumption based on your connection.

omadawn commented 12 years ago

I also need to make it build the tree of local rules if they exist.

omadawn commented 12 years ago

Done, Need to expand it to be able to specify local or remote if you are connected and would be nice to do local or remote based on what tree you have highlighted. Will open a separate enhancement for that for 1.0.