to what extent were the soviet union and china collaborators in the North Korean War effort?

http://countrystudies.us/north-korea/66.htm