Added the revision code and replaced the hardcoded value of version
This is part of the work task https://gitlab.opengroup.org/osdu/pmc/community-implementation/-/issues/70
This is part of the work task https://gitlab.opengroup.org/osdu/pmc/community-implementation/-/issues/70