ENTAXY-480 release version 1.8.3
This commit is contained in:
@ -1,11 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core</groupId>
|
||||
<artifactId>infrastructure</artifactId>
|
||||
<version>1.8.2.2</version>
|
||||
<version>1.8.3</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<packaging>pom</packaging>
|
||||
|
@ -1,11 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core.infrastructure</groupId>
|
||||
<artifactId>schema</artifactId>
|
||||
<version>1.8.2.2</version>
|
||||
<version>1.8.3</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-api
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -37,6 +37,8 @@ public interface ResourceService {
|
||||
|
||||
Optional<Resource> getResourceByName(String name);
|
||||
|
||||
Optional<Resource> getResourceByFullName(String name);
|
||||
|
||||
Optional<Resource> getResourceByIdAndVersion(long id, String version);
|
||||
|
||||
void removeResource(long id);
|
||||
@ -59,6 +61,12 @@ public interface ResourceService {
|
||||
|
||||
List<ResourceInfo> getListResourceInfoByName(String name);
|
||||
|
||||
List<ResourceInfo> getResourceInfoByFullName(String name);
|
||||
|
||||
List<ResourceInfo> getResourceInfoByPath(String path);
|
||||
|
||||
List<ResourceInfo> getResourceInfoByFullPath(String path);
|
||||
|
||||
List<ResourceInfo> getListResourceInfoByNamespace(String namespace);
|
||||
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-api
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-api
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -50,6 +50,8 @@ public class ResourceInfo {
|
||||
private String editedBy;
|
||||
@Column(name = "namespace_out")
|
||||
private String namespaceOut;
|
||||
@Column(name = "path")
|
||||
private String path;
|
||||
|
||||
@Column(name = "resource_id")
|
||||
private Long resourceId;
|
||||
@ -150,6 +152,14 @@ public class ResourceInfo {
|
||||
this.resourceId = resourceId;
|
||||
}
|
||||
|
||||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
|
||||
public void setPath(String path) {
|
||||
this.path = path;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ResourceInfo{" +
|
||||
@ -158,12 +168,13 @@ public class ResourceInfo {
|
||||
", namespace='" + namespace + '\'' +
|
||||
", description='" + description + '\'' +
|
||||
", version='" + version + '\'' +
|
||||
", convertor='" + convertor + '\'' +
|
||||
", convertor=" + convertor +
|
||||
", createdDate=" + createdDate +
|
||||
", createdBy='" + createdBy + '\'' +
|
||||
", editedDate=" + editedDate +
|
||||
", editedBy='" + editedBy + '\'' +
|
||||
", namespaceOut='" + namespaceOut + '\'' +
|
||||
", path='" + path + '\'' +
|
||||
", resourceId=" + resourceId +
|
||||
'}';
|
||||
}
|
||||
|
@ -1,11 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core.infrastructure</groupId>
|
||||
<artifactId>schema</artifactId>
|
||||
<version>1.8.2.2</version>
|
||||
<version>1.8.3</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-component
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-component
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-component
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-component
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-component
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-component
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -208,9 +208,9 @@ public class SchemaReaderFromDB {
|
||||
Optional<Resource> resource = Optional.empty();
|
||||
if (schemaResourceUri != null && schemaResourceUri.contains("namespace:")) {
|
||||
resource = resourceService.getResourceByNamespace(schemaResourceUri.replace("namespace:", ""));
|
||||
}
|
||||
|
||||
if (schemaResourceUri != null && schemaResourceUri.contains("uuid:")) {
|
||||
} else if (schemaResourceUri != null && schemaResourceUri.contains("name:")) {
|
||||
resource = resourceService.getResourceByFullName(schemaResourceUri.replace("name:", ""));
|
||||
} else if (schemaResourceUri != null && schemaResourceUri.contains("uuid:")) {
|
||||
resource = resourceService.getResourceByNamespace(schemaResourceUri.replace("uuid:", ""));
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# ~~~~~~licensing~~~~~~
|
||||
# schema-component
|
||||
# ==========
|
||||
# Copyright (C) 2020 - 2021 EmDev LLC
|
||||
# Copyright (C) 2020 - 2023 EmDev LLC
|
||||
# ==========
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
@ -1,11 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core.infrastructure</groupId>
|
||||
<artifactId>schema</artifactId>
|
||||
<version>1.8.2.2</version>
|
||||
<version>1.8.3</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@ -28,6 +26,7 @@
|
||||
ru.entaxy.esb.platform.runtime.core.infrastructure.schema.resolver.resource.*,
|
||||
ru.entaxy.esb.platform.runtime.core.infrastructure.schema.impl.*,
|
||||
</bundle.osgi.export.pkg>
|
||||
<org.osgi.annotations>1.4.0</org.osgi.annotations>
|
||||
<!-- bundle.osgi.private.pkg>
|
||||
ru.entaxy.esb.platform.runtime.core.infrastructure.schema.exception
|
||||
</bundle.osgi.private.pkg -->
|
||||
@ -69,5 +68,15 @@
|
||||
<artifactId>schema-api</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.camel</groupId>
|
||||
<artifactId>camel-file</artifactId>
|
||||
<version>${camel.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.osgi</groupId>
|
||||
<artifactId>org.osgi.service.component.annotations</artifactId>
|
||||
<version>${org.osgi.annotations}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-impl
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-impl
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-impl
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -30,6 +30,7 @@ import ru.entaxy.esb.platform.runtime.core.infrastructure.schema.exception.Resou
|
||||
import javax.persistence.EntityNotFoundException;
|
||||
import javax.persistence.criteria.CriteriaBuilder;
|
||||
import javax.persistence.criteria.CriteriaQuery;
|
||||
import javax.persistence.criteria.Expression;
|
||||
import javax.persistence.criteria.Root;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
@ -142,6 +143,34 @@ public class ResourceServiceImpl implements ResourceService {
|
||||
return resource;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Optional<Resource> getResourceByFullName(String name) {
|
||||
Optional<ResourceInfo> resourceInfo;
|
||||
Optional<Resource> resource;
|
||||
try (Session s = getSession()) {
|
||||
s.getTransaction().begin();
|
||||
|
||||
CriteriaBuilder builder = s.getCriteriaBuilder();
|
||||
CriteriaQuery<ResourceInfo> criteriaQuery = builder.createQuery(ResourceInfo.class);
|
||||
Root<ResourceInfo> root = criteriaQuery.from(ResourceInfo.class);
|
||||
|
||||
Expression<String> concat = builder.concat(root.get("name"), root.get("path"));
|
||||
criteriaQuery.where(
|
||||
builder.equal(concat, name)
|
||||
);
|
||||
resourceInfo = s.createQuery(criteriaQuery).uniqueResultOptional();
|
||||
|
||||
if (resourceInfo.isEmpty()) {
|
||||
throw new ResourceInfoNotFound();
|
||||
}
|
||||
|
||||
resource = getResource(resourceInfo.get().getResourceId());
|
||||
s.getTransaction().commit();
|
||||
s.close();
|
||||
}
|
||||
return resource;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Optional<Resource> getResourceByIdAndVersion(long id, String version) {
|
||||
Optional<ResourceInfo> resourceInfo;
|
||||
@ -337,6 +366,67 @@ public class ResourceServiceImpl implements ResourceService {
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ResourceInfo> getResourceInfoByFullName(String name) {
|
||||
List<ResourceInfo> list;
|
||||
try (Session s = getSession()) {
|
||||
s.getTransaction().begin();
|
||||
|
||||
CriteriaBuilder builder = s.getCriteriaBuilder();
|
||||
CriteriaQuery<ResourceInfo> criteriaQuery = builder.createQuery(ResourceInfo.class);
|
||||
Root<ResourceInfo> root = criteriaQuery.from(ResourceInfo.class);
|
||||
Expression<String> concat = builder.concat(root.get("path"), root.get("name"));
|
||||
criteriaQuery.where(
|
||||
builder.equal(concat, name)
|
||||
);
|
||||
list = s.createQuery(criteriaQuery).getResultList();
|
||||
|
||||
s.getTransaction().commit();
|
||||
s.close();
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ResourceInfo> getResourceInfoByPath(String path) {
|
||||
List<ResourceInfo> list;
|
||||
try (Session s = getSession()) {
|
||||
s.getTransaction().begin();
|
||||
|
||||
CriteriaBuilder builder = s.getCriteriaBuilder();
|
||||
CriteriaQuery<ResourceInfo> criteriaQuery = builder.createQuery(ResourceInfo.class);
|
||||
Root<ResourceInfo> root = criteriaQuery.from(ResourceInfo.class);
|
||||
criteriaQuery.where(
|
||||
builder.like(root.get("path"), "%" + path + "%")
|
||||
);
|
||||
list = s.createQuery(criteriaQuery).getResultList();
|
||||
|
||||
s.getTransaction().commit();
|
||||
s.close();
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ResourceInfo> getResourceInfoByFullPath(String path) {
|
||||
List<ResourceInfo> list;
|
||||
try (Session s = getSession()) {
|
||||
s.getTransaction().begin();
|
||||
|
||||
CriteriaBuilder builder = s.getCriteriaBuilder();
|
||||
CriteriaQuery<ResourceInfo> criteriaQuery = builder.createQuery(ResourceInfo.class);
|
||||
Root<ResourceInfo> root = criteriaQuery.from(ResourceInfo.class);
|
||||
criteriaQuery.where(
|
||||
builder.equal(root.get("path"), path)
|
||||
);
|
||||
list = s.createQuery(criteriaQuery).getResultList();
|
||||
|
||||
s.getTransaction().commit();
|
||||
s.close();
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ResourceInfo> getListResourceInfoByNamespace(String namespace) {
|
||||
List<ResourceInfo> list;
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-impl
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-impl
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-impl
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-impl
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -3,7 +3,7 @@
|
||||
~~~~~~licensing~~~~~~
|
||||
schema-impl
|
||||
==========
|
||||
Copyright (C) 2020 - 2021 EmDev LLC
|
||||
Copyright (C) 2020 - 2023 EmDev LLC
|
||||
==========
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -3,7 +3,7 @@
|
||||
~~~~~~licensing~~~~~~
|
||||
schema-impl
|
||||
==========
|
||||
Copyright (C) 2020 - 2021 EmDev LLC
|
||||
Copyright (C) 2020 - 2023 EmDev LLC
|
||||
==========
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -1,11 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<groupId>ru.entaxy.esb.platform.runtime.core.infrastructure</groupId>
|
||||
<artifactId>schema</artifactId>
|
||||
<version>1.8.2.2</version>
|
||||
<version>1.8.3</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@ -126,9 +124,10 @@
|
||||
<wsdlOptions>
|
||||
<wsdlOption>
|
||||
<wsdl>${basedir}/src/main/resources/wsdl/registry-schema-service.wsdl</wsdl>
|
||||
<wsdlLocation>classpath:wsdl/registry-schema-service.wsdl</wsdlLocation>
|
||||
<extraargs>
|
||||
<extraarg>-p</extraarg>
|
||||
<extraarg>ru.entaxy.esb.system.registry.schema.soap.cxf</extraarg>
|
||||
<extraarg>ru.entaxy.esb.platform.runtime.core.infrastructure.schema.soap.cxf</extraarg>
|
||||
<extraarg>-bareMethods</extraarg>
|
||||
</extraargs>
|
||||
<extendedSoapHeaders>true</extendedSoapHeaders>
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -77,6 +77,7 @@ public class RegistrySchemaServiceImpl implements RegistrySchemaService {
|
||||
@Override
|
||||
public String loadResourceInfo(ResourceInfoType request, String header) {
|
||||
try {
|
||||
request.setPath(preparePath(request.getPath()));
|
||||
ResourceInfo resourceInfo = resourceMapper.toResourceInfo(request);
|
||||
resourceInfo.setCreatedBy(header);
|
||||
return String.valueOf(resourceService.loadResourceInfo(resourceInfo));
|
||||
@ -88,6 +89,7 @@ public class RegistrySchemaServiceImpl implements RegistrySchemaService {
|
||||
@Override
|
||||
public String editResourceInfo(EditedResourceInfoFullType request, String header) {
|
||||
try {
|
||||
request.setPath(preparePath(request.getPath()));
|
||||
ResourceInfo resourceInfo = resourceMapper.editedResourceInfoFullTypeResourceInfo(request);
|
||||
resourceInfo.setEditedBy(header);
|
||||
return String.valueOf(resourceService.editResourceInfo(resourceInfo));
|
||||
@ -142,6 +144,45 @@ public class RegistrySchemaServiceImpl implements RegistrySchemaService {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public GetResourceInfoList getResourceInfoListByFullName(GetResourceInfoListByFullNameRequest request) {
|
||||
try {
|
||||
GetResourceInfoList list = new GetResourceInfoList();
|
||||
for (ResourceInfo resourceInfo : resourceService.getResourceInfoByFullName(request.getFullName())) {
|
||||
list.getResourceInfoFullType().add(resourceMapper.toResourceInfoFullType(resourceInfo));
|
||||
}
|
||||
return list;
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public GetResourceInfoList getResourceInfoListByPath(GetResourceInfoListByPathRequest request) {
|
||||
try {
|
||||
GetResourceInfoList list = new GetResourceInfoList();
|
||||
for (ResourceInfo resourceInfo : resourceService.getResourceInfoByPath(request.getPath())) {
|
||||
list.getResourceInfoFullType().add(resourceMapper.toResourceInfoFullType(resourceInfo));
|
||||
}
|
||||
return list;
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public GetResourceInfoList getResourceInfoListByFullPath(GetResourceInfoListByFullPathRequest request) {
|
||||
try {
|
||||
GetResourceInfoList list = new GetResourceInfoList();
|
||||
for (ResourceInfo resourceInfo : resourceService.getResourceInfoByFullPath(preparePath(request.getPath()))) {
|
||||
list.getResourceInfoFullType().add(resourceMapper.toResourceInfoFullType(resourceInfo));
|
||||
}
|
||||
return list;
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public GetResourceInfoList getResourceInfoListByNamespace(GetResourceInfoListByNamespaceRequest request) {
|
||||
try {
|
||||
@ -155,6 +196,13 @@ public class RegistrySchemaServiceImpl implements RegistrySchemaService {
|
||||
}
|
||||
}
|
||||
|
||||
public String preparePath(String path) {
|
||||
if (path != null && !path.isEmpty() && !(path.charAt(path.length() - 1) == '/')) {
|
||||
path = path + "/";
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
public void setResourceService(ResourceService resourceService) {
|
||||
this.resourceService = resourceService;
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -37,6 +37,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}long"/>
|
||||
* <element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="idResource" type="{http://www.w3.org/2001/XMLSchema}long"/>
|
||||
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
@ -55,6 +56,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "EditedResourceInfoFullType", propOrder = {
|
||||
"id",
|
||||
"path",
|
||||
"idResource",
|
||||
"name",
|
||||
"version",
|
||||
@ -66,6 +68,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
public class EditedResourceInfoFullType {
|
||||
|
||||
protected long id;
|
||||
@XmlElement(required = true)
|
||||
protected String path;
|
||||
protected long idResource;
|
||||
@XmlElement(required = true)
|
||||
protected String name;
|
||||
@ -94,6 +98,30 @@ public class EditedResourceInfoFullType {
|
||||
this.id = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the path property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the path property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setPath(String value) {
|
||||
this.path = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the idResource property.
|
||||
*
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -29,7 +29,7 @@ import javax.xml.namespace.QName;
|
||||
/**
|
||||
* This object contains factory methods for each
|
||||
* Java content interface and Java element interface
|
||||
* generated in the ru.entaxy.esb.system.registry.schema.soap.cxf package.
|
||||
* generated in the ru.entaxy.esb.platform.runtime.core.infrastructure.schema.soap.cxf package.
|
||||
* <p>An ObjectFactory allows you to programatically
|
||||
* construct new instances of the Java representation
|
||||
* for XML content. The Java representation of XML
|
||||
@ -58,7 +58,7 @@ public class ObjectFactory {
|
||||
private final static QName _Response_QNAME = new QName("http://www.entaxy.ru/registry-schema-service/", "response");
|
||||
|
||||
/**
|
||||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: ru.entaxy.esb.system.registry.schema.soap.cxf
|
||||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: ru.entaxy.esb.platform.runtime.core.infrastructure.schema.soap.cxf
|
||||
*
|
||||
*/
|
||||
public ObjectFactory() {
|
||||
@ -128,6 +128,30 @@ public class ObjectFactory {
|
||||
return new GetResourceInfoListByNameRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetResourceInfoListByFullNameRequest }
|
||||
*
|
||||
*/
|
||||
public GetResourceInfoListByFullNameRequest createGetResourceInfoListByFullNameRequest() {
|
||||
return new GetResourceInfoListByFullNameRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetResourceInfoListByPathRequest }
|
||||
*
|
||||
*/
|
||||
public GetResourceInfoListByPathRequest createGetResourceInfoListByPathRequest() {
|
||||
return new GetResourceInfoListByPathRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetResourceInfoListByFullPathRequest }
|
||||
*
|
||||
*/
|
||||
public GetResourceInfoListByFullPathRequest createGetResourceInfoListByFullPathRequest() {
|
||||
return new GetResourceInfoListByFullPathRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetResourceInfoListByNamespaceRequest }
|
||||
*
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -28,7 +28,7 @@ import javax.xml.bind.annotation.XmlSeeAlso;
|
||||
|
||||
/**
|
||||
* This class was generated by Apache CXF 3.3.6
|
||||
* 2021-02-03T15:56:39.006+07:00
|
||||
* 2022-11-24T13:47:15.641+03:00
|
||||
* Generated source version: 3.3.6
|
||||
*
|
||||
*/
|
||||
@ -37,20 +37,12 @@ import javax.xml.bind.annotation.XmlSeeAlso;
|
||||
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
|
||||
public interface RegistrySchemaService {
|
||||
|
||||
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/get-resourceInfo-info-list-by-namespace")
|
||||
@WebMethod
|
||||
@WebResult(name = "getResourceInfoListResponse", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
|
||||
public GetResourceInfoList getResourceInfoListByNamespace(
|
||||
public GetResourceInfoList getResourceInfoListByFullPath(
|
||||
|
||||
@WebParam(partName = "request", name = "getResourceInfoListByNamespaceRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
|
||||
GetResourceInfoListByNamespaceRequest request
|
||||
);
|
||||
|
||||
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/remove-resourceInfo")
|
||||
@WebResult(name = "response", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
|
||||
public java.lang.String removeResource(
|
||||
|
||||
@WebParam(partName = "request", name = "removeResourceRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
|
||||
long request
|
||||
@WebParam(partName = "request", name = "getResourceInfoListByFullPathRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
|
||||
GetResourceInfoListByFullPathRequest request
|
||||
);
|
||||
|
||||
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/get-resourceInfo-info-list")
|
||||
@ -89,16 +81,6 @@ public interface RegistrySchemaService {
|
||||
java.lang.String header
|
||||
);
|
||||
|
||||
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/edit-resourceInfo-info")
|
||||
@WebResult(name = "response", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
|
||||
public java.lang.String editResourceInfo(
|
||||
|
||||
@WebParam(partName = "request", name = "editResourceInfoRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
|
||||
EditedResourceInfoFullType request,
|
||||
@WebParam(partName = "header", name = "createdBy", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", header = true)
|
||||
java.lang.String header
|
||||
);
|
||||
|
||||
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/remove-resourceInfo-info")
|
||||
@WebResult(name = "response", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
|
||||
public java.lang.String removeResourceInfo(
|
||||
@ -125,6 +107,48 @@ public interface RegistrySchemaService {
|
||||
GetResourceInfoListByNameRequest request
|
||||
);
|
||||
|
||||
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/get-resourceInfo-info-list-by-namespace")
|
||||
@WebResult(name = "getResourceInfoListResponse", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
|
||||
public GetResourceInfoList getResourceInfoListByNamespace(
|
||||
|
||||
@WebParam(partName = "request", name = "getResourceInfoListByNamespaceRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
|
||||
GetResourceInfoListByNamespaceRequest request
|
||||
);
|
||||
|
||||
@WebMethod
|
||||
@WebResult(name = "getResourceInfoListResponse", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
|
||||
public GetResourceInfoList getResourceInfoListByPath(
|
||||
|
||||
@WebParam(partName = "request", name = "getResourceInfoListByPathRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
|
||||
GetResourceInfoListByPathRequest request
|
||||
);
|
||||
|
||||
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/remove-resourceInfo")
|
||||
@WebResult(name = "response", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
|
||||
public java.lang.String removeResource(
|
||||
|
||||
@WebParam(partName = "request", name = "removeResourceRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
|
||||
long request
|
||||
);
|
||||
|
||||
@WebMethod
|
||||
@WebResult(name = "getResourceInfoListResponse", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
|
||||
public GetResourceInfoList getResourceInfoListByFullName(
|
||||
|
||||
@WebParam(partName = "request", name = "getResourceInfoListByFullNameRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
|
||||
GetResourceInfoListByFullNameRequest request
|
||||
);
|
||||
|
||||
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/edit-resourceInfo-info")
|
||||
@WebResult(name = "response", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
|
||||
public java.lang.String editResourceInfo(
|
||||
|
||||
@WebParam(partName = "request", name = "editResourceInfoRequest", targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
|
||||
EditedResourceInfoFullType request,
|
||||
@WebParam(partName = "header", name = "createdBy", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", header = true)
|
||||
java.lang.String header
|
||||
);
|
||||
|
||||
@WebMethod(action = "http://www.entaxy.ru/registry-schema-service/get-resourceInfo-info")
|
||||
@WebResult(name = "getResourceInfoResponse", targetNamespace = "http://www.entaxy.ru/registry-schema-service/", partName = "response")
|
||||
public ResourceInfoFullType getResourceInfo(
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -19,7 +19,6 @@
|
||||
*/
|
||||
package ru.entaxy.esb.platform.runtime.core.infrastructure.schema.soap.cxf;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.ws.WebEndpoint;
|
||||
@ -29,12 +28,12 @@ import javax.xml.ws.Service;
|
||||
|
||||
/**
|
||||
* This class was generated by Apache CXF 3.3.6
|
||||
* 2021-02-03T15:56:39.112+07:00
|
||||
* 2022-11-24T13:47:15.676+03:00
|
||||
* Generated source version: 3.3.6
|
||||
*
|
||||
*/
|
||||
@WebServiceClient(name = "registry-schema-service",
|
||||
wsdlLocation = "file:/C:/Projects/entaxy-framework/system/registry/schema/schema-soap/src/main/resources/wsdl/registry-schema-service.wsdl",
|
||||
wsdlLocation = "classpath:wsdl/registry-schema-service.wsdl",
|
||||
targetNamespace = "http://www.entaxy.ru/registry-schema-service/")
|
||||
public class RegistrySchemaService_Service extends Service {
|
||||
|
||||
@ -43,13 +42,11 @@ public class RegistrySchemaService_Service extends Service {
|
||||
public final static QName SERVICE = new QName("http://www.entaxy.ru/registry-schema-service/", "registry-schema-service");
|
||||
public final static QName RegistrySchemaServiceSOAP = new QName("http://www.entaxy.ru/registry-schema-service/", "registry-schema-serviceSOAP");
|
||||
static {
|
||||
URL url = null;
|
||||
try {
|
||||
url = new URL("file:/C:/Projects/entaxy-framework/system/registry/schema/schema-soap/src/main/resources/wsdl/registry-schema-service.wsdl");
|
||||
} catch (MalformedURLException e) {
|
||||
URL url = RegistrySchemaService_Service.class.getClassLoader().getResource("wsdl/registry-schema-service.wsdl");
|
||||
if (url == null) {
|
||||
java.util.logging.Logger.getLogger(RegistrySchemaService_Service.class.getName())
|
||||
.log(java.util.logging.Level.INFO,
|
||||
"Can not initialize the default wsdl from {0}", "file:/C:/Projects/entaxy-framework/system/registry/schema/schema-soap/src/main/resources/wsdl/registry-schema-service.wsdl");
|
||||
"Can not initialize the default wsdl from {0}", "classpath:wsdl/registry-schema-service.wsdl");
|
||||
}
|
||||
WSDL_LOCATION = url;
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -38,6 +38,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <sequence>
|
||||
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}long"/>
|
||||
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="idResource" type="{http://www.w3.org/2001/XMLSchema}long"/>
|
||||
* <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
@ -60,6 +61,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
@XmlType(name = "ResourceInfoFullType", propOrder = {
|
||||
"id",
|
||||
"name",
|
||||
"path",
|
||||
"idResource",
|
||||
"version",
|
||||
"description",
|
||||
@ -76,6 +78,8 @@ public class ResourceInfoFullType {
|
||||
protected long id;
|
||||
@XmlElement(required = true)
|
||||
protected String name;
|
||||
@XmlElement(required = true)
|
||||
protected String path;
|
||||
protected long idResource;
|
||||
@XmlElement(required = true)
|
||||
protected String version;
|
||||
@ -135,6 +139,30 @@ public class ResourceInfoFullType {
|
||||
this.name = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the path property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the path property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setPath(String value) {
|
||||
this.path = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the idResource property.
|
||||
*
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -37,6 +37,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="idResource" type="{http://www.w3.org/2001/XMLSchema}long"/>
|
||||
* <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
@ -54,6 +55,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "ResourceInfoType", propOrder = {
|
||||
"name",
|
||||
"path",
|
||||
"idResource",
|
||||
"version",
|
||||
"description",
|
||||
@ -65,6 +67,8 @@ public class ResourceInfoType {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String name;
|
||||
@XmlElement(required = true)
|
||||
protected String path;
|
||||
protected long idResource;
|
||||
@XmlElement(required = true)
|
||||
protected String version;
|
||||
@ -100,6 +104,30 @@ public class ResourceInfoType {
|
||||
this.name = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the path property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the path property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setPath(String value) {
|
||||
this.path = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the idResource property.
|
||||
*
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ~~~~~~licensing~~~~~~
|
||||
* schema-soap
|
||||
* ==========
|
||||
* Copyright (C) 2020 - 2021 EmDev LLC
|
||||
* Copyright (C) 2020 - 2023 EmDev LLC
|
||||
* ==========
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -2,7 +2,7 @@
|
||||
# ~~~~~~licensing~~~~~~
|
||||
# karaf-features
|
||||
# ==========
|
||||
# Copyright (C) 2020 - 2021 EmDev LLC
|
||||
# Copyright (C) 2020 - 2023 EmDev LLC
|
||||
# ==========
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
@ -3,7 +3,7 @@
|
||||
~~~~~~licensing~~~~~~
|
||||
schema-soap
|
||||
==========
|
||||
Copyright (C) 2020 - 2021 EmDev LLC
|
||||
Copyright (C) 2020 - 2023 EmDev LLC
|
||||
==========
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -38,6 +38,7 @@
|
||||
<xsd:complexType name="ResourceInfoType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="name" type="xsd:string"/>
|
||||
<xsd:element name="path" type="xsd:string"/>
|
||||
<xsd:element name="idResource" type="xsd:long"/>
|
||||
<xsd:element name="version" type="xsd:string" wsdl:required="false"/>
|
||||
<xsd:element name="description" type="xsd:string" wsdl:required="false"/>
|
||||
@ -50,6 +51,7 @@
|
||||
<xsd:complexType name="EditedResourceInfoFullType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="id" type="xsd:long"/>
|
||||
<xsd:element name="path" type="xsd:string"/>
|
||||
<xsd:element name="idResource" type="xsd:long"/>
|
||||
<xsd:element name="name" type="xsd:string"/>
|
||||
<xsd:element name="version" type="xsd:string" wsdl:required="false"/>
|
||||
@ -66,6 +68,7 @@
|
||||
<xsd:sequence>
|
||||
<xsd:element name="id" type="xsd:long"/>
|
||||
<xsd:element name="name" type="xsd:string"/>
|
||||
<xsd:element name="path" type="xsd:string"/>
|
||||
<xsd:element name="idResource" type="xsd:long"/>
|
||||
<xsd:element name="version" type="xsd:string" wsdl:required="false"/>
|
||||
<xsd:element name="description" type="xsd:string" wsdl:required="false"/>
|
||||
@ -90,6 +93,27 @@
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="getResourceInfoListByFullNameRequest">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="fullName" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="getResourceInfoListByPathRequest">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="path" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="getResourceInfoListByFullPathRequest">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="path" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="getResourceInfoListByNamespaceRequest">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
@ -179,6 +203,27 @@
|
||||
<wsdl:part name="response" element="tns:getResourceInfoListResponse"/>
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getResourceInfoListByFullNameRequest">
|
||||
<wsdl:part name="request" element="tns:getResourceInfoListByFullNameRequest"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getResourceInfoListByFullNameResponse">
|
||||
<wsdl:part name="response" element="tns:getResourceInfoListResponse"/>
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getResourceInfoListByPathRequest">
|
||||
<wsdl:part name="request" element="tns:getResourceInfoListByPathRequest"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getResourceInfoListByPathResponse">
|
||||
<wsdl:part name="response" element="tns:getResourceInfoListResponse"/>
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getResourceInfoListByFullPathRequest">
|
||||
<wsdl:part name="request" element="tns:getResourceInfoListByFullPathRequest"/>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getResourceInfoListByFullPathResponse">
|
||||
<wsdl:part name="response" element="tns:getResourceInfoListResponse"/>
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getResourceInfoListByNamespaceRequest">
|
||||
<wsdl:part name="request" element="tns:getResourceInfoListByNamespaceRequest"/>
|
||||
</wsdl:message>
|
||||
@ -365,6 +410,21 @@
|
||||
<wsdl:output message="tns:getResourceInfoListByNameResponse"/>
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getResourceInfoListByFullName">
|
||||
<wsdl:input message="tns:getResourceInfoListByFullNameRequest"/>
|
||||
<wsdl:output message="tns:getResourceInfoListByFullNameResponse"/>
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getResourceInfoListByPath">
|
||||
<wsdl:input message="tns:getResourceInfoListByPathRequest"/>
|
||||
<wsdl:output message="tns:getResourceInfoListByPathResponse"/>
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getResourceInfoListByFullPath">
|
||||
<wsdl:input message="tns:getResourceInfoListByFullPathRequest"/>
|
||||
<wsdl:output message="tns:getResourceInfoListByFullPathResponse"/>
|
||||
</wsdl:operation>
|
||||
|
||||
<wsdl:operation name="getResourceInfoListByNamespace">
|
||||
<wsdl:input message="tns:getResourceInfoListByNamespaceRequest"/>
|
||||
<wsdl:output message="tns:getResourceInfoListByNamespaceResponse"/>
|
||||
|
Reference in New Issue
Block a user