Use a grater to coarsly grate the cucumber. Transfer to a medium bowl. Add the 1/2 tsp salt, stir, and let sit for 5 minutes.
To assemble, slice the pita bread into halves and open the pocket. Stuff with roasted eggplant, sliced tomato, sliced onion, parsley, and cucumber sauce.