[NX-598] Add component metadata api with OrientDB impl