You can't on the one hand do everything in your power to diminish and discredit an opponent[Hamas]and at the same time demand they achieve a complete halt to all operations by independent groups outside of their direct control. Even when the PA ruled Gaza there was periodic rocket fire from various groups. For the price of Cast Lead they achieved not only international opprobrium[Goldstone]but they never got the security they claimed Cast Lead would bring. Israel wanted Somalia on its doorstep, so they smashed up Gaza and tried to encourage anarchy. They're not quite there yet, but Rome wasn't destroyed in a day.
Islamic State destroys part of Syria's Temple of Bel, monitoring group says (Reuters)
from the article: U.S.: Military action will not solve Mideast conflict