test_class.declarator: LOGGER = LoggerFactory.getLogger(TestWineryRepositoryClient.class)
test_class.modifier: private static final
test_class.original_string: private static final org.slf4j.Logger LOGGER = LoggerFactory.getLogger(TestWineryRepositoryClient.class);
test_class.type: org.slf4j.Logger
test_class.var_name: LOGGER
test_class.declarator: repositoryURI = "http://localhost:8080/winery"
test_class.modifier: private static final
test_class.original_string: private static final String repositoryURI = "http://localhost:8080/winery";
test_class.type: String
test_class.var_name: repositoryURI
test_class.declarator: USE_PROXY = false
test_class.modifier: private static final
test_class.original_string: private static final boolean USE_PROXY = false;
test_class.type: boolean
test_class.var_name: USE_PROXY
test_class.declarator: client = new WineryRepositoryClient(TestWineryRepositoryClient.USE_PROXY)
test_class.modifier: private static final
test_class.original_string: private static final IWineryRepositoryClient client = new WineryRepositoryClient(TestWineryRepositoryClient.USE_PROXY);
test_class.type: IWineryRepositoryClient
test_class.var_name: client
test_class.declarator: NAMESPACE_FOR_NEW_ARTIFACTS = "http://www.example.org/test/wineryclient/"
test_class.modifier: private static final
test_class.original_string: private static final String NAMESPACE_FOR_NEW_ARTIFACTS = "http://www.example.org/test/wineryclient/";
test_class.type: String
test_class.var_name: NAMESPACE_FOR_NEW_ARTIFACTS
test_class.declarator: server
test_class.modifier: private static
test_class.original_string: private static Server server;
test_class.type: Server
test_class.var_name: server
test_class.file: org.eclipse.winery.repository.client/src/test/java/org/eclipse/winery/repository/client/TestWineryRepositoryClient.java
test_class.identifier: TestWineryRepositoryClient
test_class.superclass: extends TestWithGitBackedRepository
test_case.body: @Test
      public void getPropertiesOfTestTopologyTemplate() throws Exception {
          this.setRevisionTo("origin/plain");
          QName serviceTemplate = new QName("http://plain.winery.opentosca.org/servicetemplates", "ServiceTemplateMinimalExampleWithAllPropertyVariants");
          TTopologyTemplate topologyTemplate = TestWineryRepositoryClient.client.getTopologyTemplate(serviceTemplate);
          assertNotNull(topologyTemplate);
          final TNodeTemplate nodeTemplateWithTwoKVProperties = topologyTemplate.getNodeTemplate("NodeTypeWithTwoKVProperties");
          assertNotNull(nodeTemplateWithTwoKVProperties);
          TEntityTemplate.Properties properties = nodeTemplateWithTwoKVProperties.getProperties();
          assertNotNull(properties);
          final LinkedHashMap<String, String> kvProperties = properties.getKVProperties();
          assertNotNull(kvProperties);
          final String value = kvProperties.get("key1");
          assertEquals("value", value);
      }
test_case.class_method_signature: TestWineryRepositoryClient.getPropertiesOfTestTopologyTemplate()
test_case.full_signature: @Test public void getPropertiesOfTestTopologyTemplate()
test_case.identifier: getPropertiesOfTestTopologyTemplate
test_case.invocations: setRevisionTo getTopologyTemplate assertNotNull getNodeTemplate assertNotNull getProperties assertNotNull getKVProperties assertNotNull get assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getPropertiesOfTestTopologyTemplate()
focal_class.declarator: context = WineryRepositoryClient.initContext()
focal_class.modifier: public static final
focal_class.original_string: public static final JAXBContext context = WineryRepositoryClient.initContext();
focal_class.type: JAXBContext
focal_class.var_name: context
focal_class.declarator: LOGGER = LoggerFactory.getLogger(WineryRepositoryClient.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(WineryRepositoryClient.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: VALIDATING = false
focal_class.modifier: private static final
focal_class.original_string: private static final boolean VALIDATING = false;
focal_class.type: boolean
focal_class.var_name: VALIDATING
focal_class.declarator: MAX_NAME_CACHE_SIZE = 1000
focal_class.modifier: private static final
focal_class.original_string: private static final int MAX_NAME_CACHE_SIZE = 1000;
focal_class.type: int
focal_class.var_name: MAX_NAME_CACHE_SIZE
focal_class.declarator: repositoryResources = new HashSet<>()
focal_class.modifier: private final
focal_class.original_string: private final Collection<WebTarget> repositoryResources = new HashSet<>();
focal_class.type: Collection<WebTarget>
focal_class.var_name: repositoryResources
focal_class.declarator: knownURIs = new HashSet<String>()
focal_class.modifier: private final
focal_class.original_string: private final Collection<String> knownURIs = new HashSet<String>();
focal_class.type: Collection<String>
focal_class.var_name: knownURIs
focal_class.declarator: client
focal_class.modifier: private final
focal_class.original_string: private final Client client;
focal_class.type: Client
focal_class.var_name: client
focal_class.declarator: entityTypeDataCache
focal_class.modifier: private final
focal_class.original_string: private final Map<Class<? extends TEntityType>, Map<QName, TEntityType>> entityTypeDataCache;
focal_class.type: Map<Class<? extends TEntityType>, Map<QName, TEntityType>>
focal_class.var_name: entityTypeDataCache
focal_class.declarator: nameCache
focal_class.modifier: private final
focal_class.original_string: private final Map<GenericId, String> nameCache;
focal_class.type: Map<GenericId, String>
focal_class.var_name: nameCache
focal_class.declarator: primaryRepository = null
focal_class.modifier: private
focal_class.original_string: private String primaryRepository = null;
focal_class.type: String
focal_class.var_name: primaryRepository
focal_class.declarator: primaryWebTarget = null
focal_class.modifier: private
focal_class.original_string: private WebTarget primaryWebTarget = null;
focal_class.type: WebTarget
focal_class.var_name: primaryWebTarget
focal_class.file: org.eclipse.winery.repository.client/src/main/java/org/eclipse/winery/repository/client/WineryRepositoryClient.java
focal_class.identifier: WineryRepositoryClient
focal_class.interfaces: implements IWineryRepositoryClient
focal_class.class_method_signature: WineryRepositoryClient.WineryRepositoryClient()
focal_class.full_signature: public  WineryRepositoryClient()
focal_class.identifier: WineryRepositoryClient
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  WineryRepositoryClient()
focal_class.class_method_signature: WineryRepositoryClient.WineryRepositoryClient(boolean useProxy)
focal_class.full_signature: public  WineryRepositoryClient(boolean useProxy)
focal_class.identifier: WineryRepositoryClient
focal_class.modifiers: public
focal_class.parameters: (boolean useProxy)
focal_class.signature:  WineryRepositoryClient(boolean useProxy)
focal_class.class_method_signature: WineryRepositoryClient.initContext()
focal_class.full_signature: private static JAXBContext initContext()
focal_class.identifier: initContext
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: JAXBContext
focal_class.signature: JAXBContext initContext()
focal_class.class_method_signature: WineryRepositoryClient.createUnmarshaller()
focal_class.full_signature: private static Unmarshaller createUnmarshaller()
focal_class.identifier: createUnmarshaller
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: Unmarshaller
focal_class.signature: Unmarshaller createUnmarshaller()
focal_class.class_method_signature: WineryRepositoryClient.getTopologyTemplateWebTarget(WebTarget base, QName serviceTemplate)
focal_class.full_signature: private static WebTarget getTopologyTemplateWebTarget(WebTarget base, QName serviceTemplate)
focal_class.identifier: getTopologyTemplateWebTarget
focal_class.modifiers: private static
focal_class.parameters: (WebTarget base, QName serviceTemplate)
focal_class.return: WebTarget
focal_class.signature: WebTarget getTopologyTemplateWebTarget(WebTarget base, QName serviceTemplate)
focal_class.class_method_signature: WineryRepositoryClient.getTopologyTemplateWebTarget(WebTarget base, QName serviceTemplate, String parentPath, String elementPath)
focal_class.full_signature: private static WebTarget getTopologyTemplateWebTarget(WebTarget base, QName serviceTemplate, String parentPath, String elementPath)
focal_class.identifier: getTopologyTemplateWebTarget
focal_class.modifiers: private static
focal_class.parameters: (WebTarget base, QName serviceTemplate, String parentPath, String elementPath)
focal_class.return: WebTarget
focal_class.signature: WebTarget getTopologyTemplateWebTarget(WebTarget base, QName serviceTemplate, String parentPath, String elementPath)
focal_class.class_method_signature: WineryRepositoryClient.getDefinitions(WebTarget wr, String path, String ns, String localPart)
focal_class.full_signature: private static TDefinitions getDefinitions(WebTarget wr, String path, String ns, String localPart)
focal_class.identifier: getDefinitions
focal_class.modifiers: private static
focal_class.parameters: (WebTarget wr, String path, String ns, String localPart)
focal_class.return: TDefinitions
focal_class.signature: TDefinitions getDefinitions(WebTarget wr, String path, String ns, String localPart)
focal_class.class_method_signature: WineryRepositoryClient.getDefinitions(WebTarget instanceResource)
focal_class.full_signature: private static Definitions getDefinitions(WebTarget instanceResource)
focal_class.identifier: getDefinitions
focal_class.modifiers: private static
focal_class.parameters: (WebTarget instanceResource)
focal_class.return: Definitions
focal_class.signature: Definitions getDefinitions(WebTarget instanceResource)
focal_class.class_method_signature: WineryRepositoryClient.getDefinitions(WebTarget componentListResource, String ns, String localPart)
focal_class.full_signature: private static TDefinitions getDefinitions(WebTarget componentListResource, String ns, String localPart)
focal_class.identifier: getDefinitions
focal_class.modifiers: private static
focal_class.parameters: (WebTarget componentListResource, String ns, String localPart)
focal_class.return: TDefinitions
focal_class.signature: TDefinitions getDefinitions(WebTarget componentListResource, String ns, String localPart)
focal_class.class_method_signature: WineryRepositoryClient.addRepository(String uri)
focal_class.full_signature: @Override public void addRepository(String uri)
focal_class.identifier: addRepository
focal_class.modifiers: @Override public
focal_class.parameters: (String uri)
focal_class.return: void
focal_class.signature: void addRepository(String uri)
focal_class.class_method_signature: WineryRepositoryClient.getPrimaryRepository()
focal_class.full_signature: @Override public String getPrimaryRepository()
focal_class.identifier: getPrimaryRepository
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPrimaryRepository()
focal_class.class_method_signature: WineryRepositoryClient.setPrimaryRepository(String uri)
focal_class.full_signature: @Override public void setPrimaryRepository(String uri)
focal_class.identifier: setPrimaryRepository
focal_class.modifiers: @Override public
focal_class.parameters: (String uri)
focal_class.return: void
focal_class.signature: void setPrimaryRepository(String uri)
focal_class.class_method_signature: WineryRepositoryClient.getNamespaces()
focal_class.full_signature: @Override public SortedSet<String> getNamespaces()
focal_class.identifier: getNamespaces
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: SortedSet<String>
focal_class.signature: SortedSet<String> getNamespaces()
focal_class.class_method_signature: WineryRepositoryClient.getName(GenericId id)
focal_class.full_signature: @Override public String getName(GenericId id)
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: (GenericId id)
focal_class.return: String
focal_class.signature: String getName(GenericId id)
focal_class.class_method_signature: WineryRepositoryClient.getQNameListOfAllTypes(Class<T> className)
focal_class.full_signature: @Override public List<QName> getQNameListOfAllTypes(Class<T> className)
focal_class.identifier: getQNameListOfAllTypes
focal_class.modifiers: @Override public
focal_class.parameters: (Class<T> className)
focal_class.return: List<QName>
focal_class.signature: List<QName> getQNameListOfAllTypes(Class<T> className)
focal_class.class_method_signature: WineryRepositoryClient.getListOfAllInstances(Class<? extends DefinitionsChildId> clazz)
focal_class.full_signature: @Override public Collection<QNameWithName> getListOfAllInstances(Class<? extends DefinitionsChildId> clazz)
focal_class.identifier: getListOfAllInstances
focal_class.modifiers: @Override public
focal_class.parameters: (Class<? extends DefinitionsChildId> clazz)
focal_class.return: Collection<QNameWithName>
focal_class.signature: Collection<QNameWithName> getListOfAllInstances(Class<? extends DefinitionsChildId> clazz)
focal_class.class_method_signature: WineryRepositoryClient.getAllTypes(Class<T> c)
focal_class.full_signature: @Override public Collection<T> getAllTypes(Class<T> c)
focal_class.identifier: getAllTypes
focal_class.modifiers: @Override public
focal_class.parameters: (Class<T> c)
focal_class.return: Collection<T>
focal_class.signature: Collection<T> getAllTypes(Class<T> c)
focal_class.class_method_signature: WineryRepositoryClient.getType(QName qname, Class<T> type)
focal_class.full_signature: @Override @SuppressWarnings("unchecked") public T getType(QName qname, Class<T> type)
focal_class.identifier: getType
focal_class.modifiers: @Override @SuppressWarnings("unchecked") public
focal_class.parameters: (QName qname, Class<T> type)
focal_class.return: T
focal_class.signature: T getType(QName qname, Class<T> type)
focal_class.class_method_signature: WineryRepositoryClient.getDefinitions(DefinitionsChildId id)
focal_class.full_signature: @Override public Definitions getDefinitions(DefinitionsChildId id)
focal_class.identifier: getDefinitions
focal_class.modifiers: @Override public
focal_class.parameters: (DefinitionsChildId id)
focal_class.return: Definitions
focal_class.signature: Definitions getDefinitions(DefinitionsChildId id)
focal_class.class_method_signature: WineryRepositoryClient.getAllTypesWithAssociatedElements(Class<T> c)
focal_class.full_signature: @Override public Collection<TDefinitions> getAllTypesWithAssociatedElements(Class<T> c)
focal_class.identifier: getAllTypesWithAssociatedElements
focal_class.modifiers: @Override public
focal_class.parameters: (Class<T> c)
focal_class.return: Collection<TDefinitions>
focal_class.signature: Collection<TDefinitions> getAllTypesWithAssociatedElements(Class<T> c)
focal_class.class_method_signature: WineryRepositoryClient.getTopologyTemplate(QName serviceTemplate)
focal_class.full_signature: @Override public TTopologyTemplate getTopologyTemplate(QName serviceTemplate)
focal_class.identifier: getTopologyTemplate
focal_class.modifiers: @Override public
focal_class.parameters: (QName serviceTemplate)
focal_class.return: TTopologyTemplate
focal_class.signature: TTopologyTemplate getTopologyTemplate(QName serviceTemplate)
focal_class.class_method_signature: WineryRepositoryClient.getTopologyTemplate(QName serviceTemplate, String parentPath, String elementPath)
focal_class.full_signature: @Override public TTopologyTemplate getTopologyTemplate(QName serviceTemplate, String parentPath, String elementPath)
focal_class.identifier: getTopologyTemplate
focal_class.modifiers: @Override public
focal_class.parameters: (QName serviceTemplate, String parentPath, String elementPath)
focal_class.return: TTopologyTemplate
focal_class.signature: TTopologyTemplate getTopologyTemplate(QName serviceTemplate, String parentPath, String elementPath)
focal_class.class_method_signature: WineryRepositoryClient.setTopologyTemplate(QName serviceTemplate, TTopologyTemplate topologyTemplate)
focal_class.full_signature: @Override public void setTopologyTemplate(QName serviceTemplate, TTopologyTemplate topologyTemplate)
focal_class.identifier: setTopologyTemplate
focal_class.modifiers: @Override public
focal_class.parameters: (QName serviceTemplate, TTopologyTemplate topologyTemplate)
focal_class.return: void
focal_class.signature: void setTopologyTemplate(QName serviceTemplate, TTopologyTemplate topologyTemplate)
focal_class.class_method_signature: WineryRepositoryClient.getArtifactTypeQNameForExtension(String extension)
focal_class.full_signature: @Override public QName getArtifactTypeQNameForExtension(String extension)
focal_class.identifier: getArtifactTypeQNameForExtension
focal_class.modifiers: @Override public
focal_class.parameters: (String extension)
focal_class.return: QName
focal_class.signature: QName getArtifactTypeQNameForExtension(String extension)
focal_class.class_method_signature: WineryRepositoryClient.createArtifactTemplate(QName qname, QName artifactType)
focal_class.full_signature: @Override public void createArtifactTemplate(QName qname, QName artifactType)
focal_class.identifier: createArtifactTemplate
focal_class.modifiers: @Override public
focal_class.parameters: (QName qname, QName artifactType)
focal_class.return: void
focal_class.signature: void createArtifactTemplate(QName qname, QName artifactType)
focal_class.class_method_signature: WineryRepositoryClient.createComponent(QName qname, Class<? extends DefinitionsChildId> idClass)
focal_class.full_signature: @Override public void createComponent(QName qname, Class<? extends DefinitionsChildId> idClass)
focal_class.identifier: createComponent
focal_class.modifiers: @Override public
focal_class.parameters: (QName qname, Class<? extends DefinitionsChildId> idClass)
focal_class.return: void
focal_class.signature: void createComponent(QName qname, Class<? extends DefinitionsChildId> idClass)
focal_class.class_method_signature: WineryRepositoryClient.forceDelete(GenericId id)
focal_class.full_signature: @Override public void forceDelete(GenericId id)
focal_class.identifier: forceDelete
focal_class.modifiers: @Override public
focal_class.parameters: (GenericId id)
focal_class.return: void
focal_class.signature: void forceDelete(GenericId id)
focal_class.class_method_signature: WineryRepositoryClient.rename(DefinitionsChildId oldId, DefinitionsChildId newId)
focal_class.full_signature: @Override public void rename(DefinitionsChildId oldId, DefinitionsChildId newId)
focal_class.identifier: rename
focal_class.modifiers: @Override public
focal_class.parameters: (DefinitionsChildId oldId, DefinitionsChildId newId)
focal_class.return: void
focal_class.signature: void rename(DefinitionsChildId oldId, DefinitionsChildId newId)
focal_class.class_method_signature: WineryRepositoryClient.duplicate(DefinitionsChildId from, DefinitionsChildId newId)
focal_class.full_signature: @Override public void duplicate(DefinitionsChildId from, DefinitionsChildId newId)
focal_class.identifier: duplicate
focal_class.modifiers: @Override public
focal_class.parameters: (DefinitionsChildId from, DefinitionsChildId newId)
focal_class.return: void
focal_class.signature: void duplicate(DefinitionsChildId from, DefinitionsChildId newId)
focal_class.class_method_signature: WineryRepositoryClient.forceDelete(Class<? extends DefinitionsChildId> definitionsChildIdClazz, Namespace namespace)
focal_class.full_signature: @Override public void forceDelete(Class<? extends DefinitionsChildId> definitionsChildIdClazz, Namespace namespace)
focal_class.identifier: forceDelete
focal_class.modifiers: @Override public
focal_class.parameters: (Class<? extends DefinitionsChildId> definitionsChildIdClazz, Namespace namespace)
focal_class.return: void
focal_class.signature: void forceDelete(Class<? extends DefinitionsChildId> definitionsChildIdClazz, Namespace namespace)
focal_class.class_method_signature: WineryRepositoryClient.primaryRepositoryAvailable()
focal_class.full_signature: @Override public boolean primaryRepositoryAvailable()
focal_class.identifier: primaryRepositoryAvailable
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean primaryRepositoryAvailable()
focal_class.class_method_signature: WineryRepositoryClient.getWRtoNamespaceAndIdListMapOfAllTypes(String path)
focal_class.full_signature: private Map<WebTarget, List<NamespaceIdOptionalName>> getWRtoNamespaceAndIdListMapOfAllTypes(String path)
focal_class.identifier: getWRtoNamespaceAndIdListMapOfAllTypes
focal_class.modifiers: private
focal_class.parameters: (String path)
focal_class.return: Map<WebTarget, List<NamespaceIdOptionalName>>
focal_class.signature: Map<WebTarget, List<NamespaceIdOptionalName>> getWRtoNamespaceAndIdListMapOfAllTypes(String path)
focal_class.class_method_signature: WineryRepositoryClient.cache(TEntityType et, QName qName)
focal_class.full_signature: private void cache(TEntityType et, QName qName)
focal_class.identifier: cache
focal_class.modifiers: private
focal_class.parameters: (TEntityType et, QName qName)
focal_class.return: void
focal_class.signature: void cache(TEntityType et, QName qName)
focal_class.class_method_signature: WineryRepositoryClient.getAllTypes(String path, Class<T> className)
focal_class.full_signature: @SuppressWarnings("unchecked") private Collection<T> getAllTypes(String path, Class<T> className)
focal_class.identifier: getAllTypes
focal_class.modifiers: @SuppressWarnings("unchecked") private
focal_class.parameters: (String path, Class<T> className)
focal_class.return: Collection<T>
focal_class.signature: Collection<T> getAllTypes(String path, Class<T> className)
focal_method.body: @Override
      public TTopologyTemplate getTopologyTemplate(QName serviceTemplate) {
          return this.getTopologyTemplate(serviceTemplate, "servicetemplates", "topologytemplate");
      }
focal_method.class_method_signature: WineryRepositoryClient.getTopologyTemplate(QName serviceTemplate)
focal_method.full_signature: @Override public TTopologyTemplate getTopologyTemplate(QName serviceTemplate)
focal_method.identifier: getTopologyTemplate
focal_method.invocations: getTopologyTemplate
focal_method.modifiers: @Override public
focal_method.parameters: (QName serviceTemplate)
focal_method.return: TTopologyTemplate
focal_method.signature: TTopologyTemplate getTopologyTemplate(QName serviceTemplate)