Commit 576a2faf authored by Kostis Trantzas's avatar Kostis Trantzas
Browse files

Resolve "Update the clone TMF633 GST ServiceSpecification endpoint to latest version"

parent 2656afdd
Loading
Loading
Loading
Loading
+2042 −839

File changed.

Preview size limit exceeded, changes collapsed.

+3 −3
Original line number Diff line number Diff line
@@ -955,8 +955,8 @@ public class ServiceCatalogIntegrationTest {

		logger.info("Test: testBundledSpec responseSpec1 = " + responseSpec1);

		assertThat( responsesSpec1.getVersion()  ).isEqualTo("5.0.0");
		assertThat( responsesSpec1.getServiceSpecCharacteristic().size() ).isEqualTo(80);
		assertThat( responsesSpec1.getVersion()  ).isEqualTo("10.0.0");
		assertThat( responsesSpec1.getServiceSpecCharacteristic().size() ).isEqualTo(88);
		assertThat( responsesSpec1.getServiceSpecRelationship().size() ).isEqualTo(0);
		boolean userPartyRoleOwnerexists = false;
		for (RelatedParty r : responsesSpec1.getRelatedParty()) {
@@ -1017,7 +1017,7 @@ public class ServiceCatalogIntegrationTest {
		ServiceCategory categ2 = categRepoService.findByUuid( categ.getId() );
		assertThat( categ2.getServiceCandidateRefs().size() ).isEqualTo( FIXED_BOOTSTRAPS_SPECS );
		
		ServiceSpecification spec = this.specRepoService.findByNameAndVersion("A GST(NEST) Service Example", "5.0.0" );
		ServiceSpecification spec = this.specRepoService.findByNameAndVersion("A GST(NEST) Service Example", "10.0.0" );
		assertThat( spec ).isNotNull();
		
		spec.setVersion("0.x.0");