Skip to content
Snippets Groups Projects
Commit 6886f66e authored by trantzas's avatar trantzas
Browse files

This closes #4

Merge branch 'cherry-pick-2790fae9' into 'main'

Initial commit

See merge request !3
parents 69940c0b cd548872
No related branches found
No related tags found
1 merge request!3Initial commit
Showing
with 3760 additions and 0 deletions
/target/
.project
.classpath
/.settings
FROM ibm-semeru-runtimes:open-17.0.7_7-jdk
MAINTAINER openslice.io
RUN mkdir /opt/shareclasses
RUN mkdir -p /opt/openslice/lib/
COPY target/org.etsi.osl.bugzilla-1.2.0-SNAPSHOT.jar /opt/openslice/lib/
CMD ["java", "-Xshareclasses:cacheDir=/opt/shareclasses","-jar", "/opt/openslice/lib/org.etsi.osl.bugzilla-1.2.0-SNAPSHOT.jar"]
\ No newline at end of file
LICENSE 0 → 100644
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
pom.xml 0 → 100644
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.etsi.osl</groupId>
<artifactId>org.etsi.osl.main</artifactId>
<version>1.2.0-SNAPSHOT</version>
<relativePath>../org.etsi.osl.main</relativePath>
</parent>
<artifactId>org.etsi.osl.bugzilla</artifactId>
<name>org.etsi.osl.bugzilla</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<spring.boot-version>${spring-boot-version}</spring.boot-version>
<spring.cloud-consul-version>${spring-cloud-consul-version}</spring.cloud-consul-version>
</properties>
<dependencyManagement>
<dependencies>
<!-- Spring Boot BOM -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring.boot-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Camel BOM -->
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-spring-boot-dependencies</artifactId>
<version>${camel.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Spring Boot -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-http-starter</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-undertow-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-undertow</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!-- <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-consul-discovery</artifactId>
</dependency> -->
<!-- activeMQ -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-activemq</artifactId>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-amqp</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.apache.qpid</groupId>
<artifactId>proton-j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.messaginghub</groupId>
<artifactId>pooled-jms</artifactId>
</dependency>
<!-- Camel -->
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-pool</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-activemq</artifactId>
<exclusions>
<exclusion>
<groupId>org.apache.activemq</groupId>
<artifactId>activemq-broker</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-service-starter</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jackson</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-http</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-base</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-http-common</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-stream</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<!-- models -->
<dependency>
<groupId>org.etsi.osl</groupId>
<artifactId>org.etsi.osl.model</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.etsi.osl</groupId>
<artifactId>org.etsi.osl.tmf.api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot-version}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Python clients can use stomp to exhange things
pip install stomp.py
simple.py:
******************************************************
import time
import sys
import stomp
hosts = [('localhost', 61613)]
conn = stomp.Connection(host_and_ports=hosts)
#conn.set_listener('', MyListener())
conn.start()
conn.connect('admin', 'admin', wait=True,headers = {'client-id': 'clientname'} )
#conn.subscribe(destination='/topic/users.create', id=1, ack='auto')
conn.send(body=' '.join(sys.argv[1:]), destination='/topic/users.create')
time.sleep(2)
conn.disconnect()
******************************************************
run: python simple.py '{"name":"CT", "email":"tranoris@example.com"}'
/*-
* ========================LICENSE_START=================================
* org.etsi.osl.bugzilla
* %%
* Copyright (C) 2019 openslice.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =========================LICENSE_END==================================
*/
package org.etsi.osl.bugzilla;
import org.apache.camel.component.activemq.ActiveMQComponent;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import jakarta.jms.ConnectionFactory;
/**
* @author ctranoris
*
*/
@Configuration
public class ActiveMQComponentConfig {
@Bean(name = "activemq")
public ActiveMQComponent createComponent(ConnectionFactory factory) {
ActiveMQComponent activeMQComponent = new ActiveMQComponent();
activeMQComponent.setConnectionFactory(factory);
return activeMQComponent;
}
}
This diff is collapsed.
This diff is collapsed.
/*-
* ========================LICENSE_START=================================
* org.etsi.osl.bugzilla
* %%
* Copyright (C) 2019 openslice.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =========================LICENSE_END==================================
*/
package org.etsi.osl.bugzilla;
//import org.apache.camel.zipkin.starter.CamelZipkin;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
/**
* @author ctranoris
*
* based on
* https://github.com/apache/camel/tree/master/examples/camel-example-spring-boot-activemq
* https://github.com/indrabasak/spring-consul-example
*/
@SpringBootApplication
//@EnableRetry
@EnableAutoConfiguration
@EnableConfigurationProperties
public class BugzillaService {
public static void main(String[] args) {
SpringApplication.run( BugzillaService.class, args);
}
}
/*-
* ========================LICENSE_START=================================
* org.etsi.osl.bugzilla
* %%
* Copyright (C) 2019 openslice.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =========================LICENSE_END==================================
*/
package org.etsi.osl.bugzilla.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* @author ctranoris
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AssignedToDetail {
@JsonProperty("email")
private String email;
@JsonProperty("id")
private Integer id;
@JsonProperty("name")
private String name;
@JsonProperty("real_name")
private String realName;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonProperty("email")
public String getEmail() {
return email;
}
@JsonProperty("email")
public void setEmail(String email) {
this.email = email;
}
@JsonProperty("id")
public Integer getId() {
return id;
}
@JsonProperty("id")
public void setId(Integer id) {
this.id = id;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
@JsonProperty("real_name")
public String getRealName() {
return realName;
}
@JsonProperty("real_name")
public void setRealName(String realName) {
this.realName = realName;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
/*-
* ========================LICENSE_START=================================
* org.etsi.osl.bugzilla
* %%
* Copyright (C) 2019 openslice.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =========================LICENSE_END==================================
*/
package org.etsi.osl.bugzilla.model;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* @author ctranoris
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Bug {
@JsonProperty("alias")
private List<Object> alias = null;
@JsonProperty("assigned_to")
private String assignedTo;
@JsonProperty("assigned_to_detail")
private AssignedToDetail assignedToDetail;
@JsonProperty("blocks")
private List<Object> blocks = null;
@JsonProperty("cc")
private List<String> cc = null;
@JsonProperty("cc_detail")
private List<CcDetail> ccDetail = null;
@JsonProperty("classification")
private String classification;
@JsonProperty("component")
private String component;
@JsonProperty("comment")
private Comment comment;
@JsonProperty("creation_time")
private String creationTime;
@JsonProperty("creator")
private String creator;
@JsonProperty("creator_detail")
private CreatorDetail creatorDetail;
@JsonProperty("deadline")
private Object deadline;
@JsonProperty("depends_on")
private List<Object> dependsOn = null;
@JsonProperty("dupe_of")
private Object dupeOf;
@JsonProperty("flags")
private List<Object> flags = null;
@JsonProperty("groups")
private List<Object> groups = null;
@JsonProperty("id")
private Integer id;
@JsonProperty("is_cc_accessible")
private Boolean isCcAccessible;
@JsonProperty("is_confirmed")
private Boolean isConfirmed;
@JsonProperty("is_creator_accessible")
private Boolean isCreatorAccessible;
@JsonProperty("is_open")
private Boolean isOpen;
@JsonProperty("keywords")
private List<Object> keywords = null;
@JsonProperty("last_change_time")
private String lastChangeTime;
@JsonProperty("op_sys")
private String opSys;
@JsonProperty("platform")
private String platform;
@JsonProperty("priority")
private String priority;
@JsonProperty("product")
private String product;
@JsonProperty("qa_contact")
private String qaContact;
@JsonProperty("resolution")
private String resolution;
@JsonProperty("see_also")
private List<Object> seeAlso = null;
@JsonProperty("severity")
private String severity;
@JsonProperty("status")
private String status;
@JsonProperty("summary")
private String summary;
@JsonProperty("description")
private String description;
@JsonProperty("target_milestone")
private String targetMilestone;
@JsonProperty("url")
private String url;
@JsonProperty("version")
private String version;
@JsonProperty("whiteboard")
private String whiteboard;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonProperty("alias")
public List<Object> getAlias() {
return alias;
}
@JsonIgnore
public String getAliasFirst() {
if ( alias!= null ) {
if ( alias.size() >0 ) {
return (String) alias.get(0).toString();
}
}
return "";
}
@JsonProperty("alias")
public void setAlias(List<Object> alias) {
this.alias = alias;
}
@JsonProperty("assigned_to")
public String getAssignedTo() {
return assignedTo;
}
@JsonProperty("assigned_to")
public void setAssignedTo(String assignedTo) {
this.assignedTo = assignedTo;
}
@JsonProperty("assigned_to_detail")
public AssignedToDetail getAssignedToDetail() {
return assignedToDetail;
}
@JsonProperty("assigned_to_detail")
public void setAssignedToDetail(AssignedToDetail assignedToDetail) {
this.assignedToDetail = assignedToDetail;
}
@JsonProperty("blocks")
public List<Object> getBlocks() {
return blocks;
}
@JsonProperty("blocks")
public void setBlocks(List<Object> blocks) {
this.blocks = blocks;
}
@JsonProperty("cc")
public List<String> getCc() {
return cc;
}
@JsonProperty("cc")
public void setCc(List<String> cc) {
this.cc = cc;
}
@JsonProperty("cc_detail")
public List<CcDetail> getCcDetail() {
return ccDetail;
}
@JsonProperty("cc_detail")
public void setCcDetail(List<CcDetail> ccDetail) {
this.ccDetail = ccDetail;
}
@JsonProperty("classification")
public String getClassification() {
return classification;
}
@JsonProperty("classification")
public void setClassification(String classification) {
this.classification = classification;
}
@JsonProperty("component")
public String getComponent() {
return component;
}
@JsonProperty("component")
public void setComponent(String component) {
this.component = component;
}
@JsonProperty("comment")
public Comment getComment() {
return comment;
}
@JsonProperty("comment")
public void setComment(Comment comment) {
this.comment = comment;
}
@JsonProperty("creation_time")
public String getCreationTime() {
return creationTime;
}
@JsonProperty("creation_time")
public void setCreationTime(String creationTime) {
this.creationTime = creationTime;
}
@JsonProperty("creator")
public String getCreator() {
return creator;
}
@JsonProperty("creator")
public void setCreator(String creator) {
this.creator = creator;
}
@JsonProperty("creator_detail")
public CreatorDetail getCreatorDetail() {
return creatorDetail;
}
@JsonProperty("creator_detail")
public void setCreatorDetail(CreatorDetail creatorDetail) {
this.creatorDetail = creatorDetail;
}
@JsonProperty("deadline")
public Object getDeadline() {
return deadline;
}
@JsonProperty("deadline")
public void setDeadline(Object deadline) {
this.deadline = deadline;
}
@JsonProperty("depends_on")
public List<Object> getDependsOn() {
return dependsOn;
}
@JsonProperty("depends_on")
public void setDependsOn(List<Object> dependsOn) {
this.dependsOn = dependsOn;
}
@JsonProperty("dupe_of")
public Object getDupeOf() {
return dupeOf;
}
@JsonProperty("dupe_of")
public void setDupeOf(Object dupeOf) {
this.dupeOf = dupeOf;
}
@JsonProperty("flags")
public List<Object> getFlags() {
return flags;
}
@JsonProperty("flags")
public void setFlags(List<Object> flags) {
this.flags = flags;
}
@JsonProperty("groups")
public List<Object> getGroups() {
return groups;
}
@JsonProperty("groups")
public void setGroups(List<Object> groups) {
this.groups = groups;
}
@JsonProperty("id")
public Integer getId() {
return id;
}
@JsonProperty("id")
public void setId(Integer id) {
this.id = id;
}
@JsonProperty("is_cc_accessible")
public Boolean getIsCcAccessible() {
return isCcAccessible;
}
@JsonProperty("is_cc_accessible")
public void setIsCcAccessible(Boolean isCcAccessible) {
this.isCcAccessible = isCcAccessible;
}
@JsonProperty("is_confirmed")
public Boolean getIsConfirmed() {
return isConfirmed;
}
@JsonProperty("is_confirmed")
public void setIsConfirmed(Boolean isConfirmed) {
this.isConfirmed = isConfirmed;
}
@JsonProperty("is_creator_accessible")
public Boolean getIsCreatorAccessible() {
return isCreatorAccessible;
}
@JsonProperty("is_creator_accessible")
public void setIsCreatorAccessible(Boolean isCreatorAccessible) {
this.isCreatorAccessible = isCreatorAccessible;
}
@JsonProperty("is_open")
public Boolean getIsOpen() {
return isOpen;
}
@JsonProperty("is_open")
public void setIsOpen(Boolean isOpen) {
this.isOpen = isOpen;
}
@JsonProperty("keywords")
public List<Object> getKeywords() {
return keywords;
}
@JsonProperty("keywords")
public void setKeywords(List<Object> keywords) {
this.keywords = keywords;
}
@JsonProperty("last_change_time")
public String getLastChangeTime() {
return lastChangeTime;
}
@JsonProperty("last_change_time")
public void setLastChangeTime(String lastChangeTime) {
this.lastChangeTime = lastChangeTime;
}
@JsonProperty("op_sys")
public String getOpSys() {
return opSys;
}
@JsonProperty("op_sys")
public void setOpSys(String opSys) {
this.opSys = opSys;
}
@JsonProperty("platform")
public String getPlatform() {
return platform;
}
@JsonProperty("platform")
public void setPlatform(String platform) {
this.platform = platform;
}
@JsonProperty("priority")
public String getPriority() {
return priority;
}
@JsonProperty("priority")
public void setPriority(String priority) {
this.priority = priority;
}
@JsonProperty("product")
public String getProduct() {
return product;
}
@JsonProperty("product")
public void setProduct(String product) {
this.product = product;
}
@JsonProperty("qa_contact")
public String getQaContact() {
return qaContact;
}
@JsonProperty("qa_contact")
public void setQaContact(String qaContact) {
this.qaContact = qaContact;
}
@JsonProperty("resolution")
public String getResolution() {
return resolution;
}
@JsonProperty("resolution")
public void setResolution(String resolution) {
this.resolution = resolution;
}
@JsonProperty("see_also")
public List<Object> getSeeAlso() {
return seeAlso;
}
@JsonProperty("see_also")
public void setSeeAlso(List<Object> seeAlso) {
this.seeAlso = seeAlso;
}
@JsonProperty("severity")
public String getSeverity() {
return severity;
}
@JsonProperty("severity")
public void setSeverity(String severity) {
this.severity = severity;
}
@JsonProperty("status")
public String getStatus() {
return status;
}
@JsonProperty("status")
public void setStatus(String status) {
this.status = status;
}
@JsonProperty("summary")
public String getSummary() {
return summary;
}
@JsonProperty("summary")
public void setSummary(String summary) {
this.summary = summary;
}
@JsonProperty("description")
public String getDescription() {
return description;
}
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
@JsonProperty("target_milestone")
public String getTargetMilestone() {
return targetMilestone;
}
@JsonProperty("target_milestone")
public void setTargetMilestone(String targetMilestone) {
this.targetMilestone = targetMilestone;
}
@JsonProperty("url")
public String getUrl() {
return url;
}
@JsonProperty("url")
public void setUrl(String url) {
this.url = url;
}
@JsonProperty("version")
public String getVersion() {
return version;
}
@JsonProperty("version")
public void setVersion(String version) {
this.version = version;
}
@JsonProperty("whiteboard")
public String getWhiteboard() {
return whiteboard;
}
@JsonProperty("whiteboard")
public void setWhiteboard(String whiteboard) {
this.whiteboard = whiteboard;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
/*-
* ========================LICENSE_START=================================
* org.etsi.osl.bugzilla
* %%
* Copyright (C) 2019 openslice.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =========================LICENSE_END==================================
*/
package org.etsi.osl.bugzilla.model;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* @author ctranoris
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Bugs {
@JsonProperty("bugs")
private List<Bug> bugs = null;
@JsonProperty("faults")
private List<Object> faults = null;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonProperty("bugs")
public List<Bug> getBugs() {
return bugs;
}
@JsonProperty("bugs")
public void setBugs(List<Bug> bugs) {
this.bugs = bugs;
}
@JsonProperty("faults")
public List<Object> getFaults() {
return faults;
}
@JsonProperty("faults")
public void setFaults(List<Object> faults) {
this.faults = faults;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
/*-
* ========================LICENSE_START=================================
* org.etsi.osl.bugzilla
* %%
* Copyright (C) 2019 openslice.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =========================LICENSE_END==================================
*/
package org.etsi.osl.bugzilla.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* @author ctranoris
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CcDetail {
@JsonProperty("email")
private String email;
@JsonProperty("id")
private Integer id;
@JsonProperty("name")
private String name;
@JsonProperty("real_name")
private String realName;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonProperty("email")
public String getEmail() {
return email;
}
@JsonProperty("email")
public void setEmail(String email) {
this.email = email;
}
@JsonProperty("id")
public Integer getId() {
return id;
}
@JsonProperty("id")
public void setId(Integer id) {
this.id = id;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
@JsonProperty("real_name")
public String getRealName() {
return realName;
}
@JsonProperty("real_name")
public void setRealName(String realName) {
this.realName = realName;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
/*-
* ========================LICENSE_START=================================
* org.etsi.osl.bugzilla
* %%
* Copyright (C) 2019 openslice.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =========================LICENSE_END==================================
*/
package org.etsi.osl.bugzilla.model;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author ctranoris
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Comment {
// @JsonProperty("id")
// private int id;
@JsonProperty("bug_id")
private int bug_id;
@JsonProperty("attachment_id")
private int attachment_id;
@JsonProperty("count")
private int count;
@JsonProperty("comment")
private String comment;
@JsonProperty("creator")
private String creator;
@JsonProperty("time")
private String time;
@JsonProperty("creation_time")
private String creation_time;
@JsonProperty("is_private")
private Boolean is_private;
@JsonProperty("is_markdown")
private Boolean is_markdown;
@JsonProperty("tags")
private List<String> tags = null;
//
// @JsonProperty("id")
// public int getId() {
// return id;
// }
//
// @JsonProperty("id")
// public void setId(int id) {
// this.id = id;
// }
@JsonProperty("bug_id")
public int getBug_id() {
return bug_id;
}
@JsonProperty("bug_id")
public void setBug_id(int bug_id) {
this.bug_id = bug_id;
}
@JsonProperty("attachment_id")
public int getAttachment_id() {
return attachment_id;
}
@JsonProperty("attachment_id")
public void setAttachment_id(int attachment_id) {
this.attachment_id = attachment_id;
}
@JsonProperty("count")
public int getCount() {
return count;
}
@JsonProperty("count")
public void setCount(int count) {
this.count = count;
}
@JsonProperty("comment")
public String getComment() {
return comment;
}
@JsonProperty("comment")
public void setComment(String comment) {
this.comment = comment;
}
@JsonProperty("creator")
public String getCreator() {
return creator;
}
@JsonProperty("creator")
public void setCreator(String creator) {
this.creator = creator;
}
@JsonProperty("time")
public String getTime() {
return time;
}
@JsonProperty("time")
public void setTime(String time) {
this.time = time;
}
@JsonProperty("creation_time")
public String getCreation_time() {
return creation_time;
}
@JsonProperty("creation_time")
public void setCreation_time(String creation_time) {
this.creation_time = creation_time;
}
@JsonProperty("is_private")
public Boolean getIs_private() {
return is_private;
}
@JsonProperty("is_private")
public void setIs_private(Boolean is_private) {
this.is_private = is_private;
}
@JsonProperty("is_markdown")
public Boolean getIs_markdown() {
return is_markdown;
}
@JsonProperty("is_markdown")
public void setIs_markdown(Boolean is_markdown) {
this.is_markdown = is_markdown;
}
@JsonProperty("tags")
public List<String> getTags() {
return tags;
}
@JsonProperty("tags")
public void setTags(List<String> tags) {
this.tags = tags;
}
}
/*-
* ========================LICENSE_START=================================
* org.etsi.osl.bugzilla
* %%
* Copyright (C) 2019 openslice.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =========================LICENSE_END==================================
*/
package org.etsi.osl.bugzilla.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* @author ctranoris
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CreatorDetail {
@JsonProperty("email")
private String email;
@JsonProperty("id")
private Integer id;
@JsonProperty("name")
private String name;
@JsonProperty("real_name")
private String realName;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonProperty("email")
public String getEmail() {
return email;
}
@JsonProperty("email")
public void setEmail(String email) {
this.email = email;
}
@JsonProperty("id")
public Integer getId() {
return id;
}
@JsonProperty("id")
public void setId(Integer id) {
this.id = id;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
@JsonProperty("real_name")
public String getRealName() {
return realName;
}
@JsonProperty("real_name")
public void setRealName(String realName) {
this.realName = realName;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
/*-
* ========================LICENSE_START=================================
* org.etsi.osl.bugzilla
* %%
* Copyright (C) 2019 openslice.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =========================LICENSE_END==================================
*/
package org.etsi.osl.bugzilla.model;
/**
* @author ctranoris
*
*/
public class ErrorMsg {
String message;
public ErrorMsg() {
super();
this.message = "";
}
public ErrorMsg(String message) {
super();
this.message = message;
}
/**
* @return the message
*/
public String getMessage() {
return message;
}
/**
* @param message the message to set
*/
public void setMessage(String message) {
this.message = message;
}
}
/*-
* ========================LICENSE_START=================================
* org.etsi.osl.bugzilla
* %%
* Copyright (C) 2019 openslice.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =========================LICENSE_END==================================
*/
package org.etsi.osl.bugzilla.model;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* @author ctranoris
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Group {
@JsonProperty("description")
private String description;
@JsonProperty("id")
private Integer id;
@JsonProperty("name")
private String name;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonProperty("description")
public String getDescription() {
return description;
}
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
@JsonProperty("id")
public Integer getId() {
return id;
}
@JsonProperty("id")
public void setId(Integer id) {
this.id = id;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
/*-
* ========================LICENSE_START=================================
* org.etsi.osl.bugzilla
* %%
* Copyright (C) 2019 openslice.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =========================LICENSE_END==================================
*/
package org.etsi.osl.bugzilla.model;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* @author ctranoris
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class User {
@JsonProperty("can_login")
private Boolean canLogin;
@JsonProperty("email")
private String email;
@JsonProperty("login")
private String login;
@JsonProperty("email_enabled")
private Boolean emailEnabled;
@JsonProperty("groups")
private List<Group> groups = null;
@JsonProperty("id")
private Integer id;
@JsonProperty("login_denied_text")
private String loginDeniedText;
@JsonProperty("name")
private String name;
@JsonProperty("password")
private String password;
@JsonProperty("real_name")
private String realName;
@JsonProperty("full_name")
private String fullName;
@JsonProperty("saved_reports")
private List<Object> savedReports = null;
@JsonProperty("saved_searches")
private List<Object> savedSearches = null;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonProperty("can_login")
public Boolean getCanLogin() {
return canLogin;
}
@JsonProperty("can_login")
public void setCanLogin(Boolean canLogin) {
this.canLogin = canLogin;
}
@JsonProperty("login")
public String getLogin() {
return login;
}
@JsonProperty("login")
public void setLogin(String login) {
this.login = login;
}
@JsonProperty("email")
public String getEmail() {
return email;
}
@JsonProperty("email")
public void setEmail(String email) {
this.email = email;
}
@JsonProperty("email_enabled")
public Boolean getEmailEnabled() {
return emailEnabled;
}
@JsonProperty("email_enabled")
public void setEmailEnabled(Boolean emailEnabled) {
this.emailEnabled = emailEnabled;
}
@JsonProperty("groups")
public List<Group> getGroups() {
return groups;
}
@JsonProperty("groups")
public void setGroups(List<Group> groups) {
this.groups = groups;
}
@JsonProperty("id")
public Integer getId() {
return id;
}
@JsonProperty("id")
public void setId(Integer id) {
this.id = id;
}
@JsonProperty("login_denied_text")
public String getLoginDeniedText() {
return loginDeniedText;
}
@JsonProperty("login_denied_text")
public void setLoginDeniedText(String loginDeniedText) {
this.loginDeniedText = loginDeniedText;
}
@JsonProperty("password")
public String getPassword() {
return password;
}
@JsonProperty("password")
public void setPassword(String password) {
this.password = password;
}
@JsonProperty("name")
public String getName() {
return name;
}
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
@JsonProperty("real_name")
public String getRealName() {
return realName;
}
@JsonProperty("real_name")
public void setRealName(String realName) {
this.realName = realName;
}
@JsonProperty("full_name")
public String getFulllName() {
return fullName;
}
@JsonProperty("full_name")
public void setFullName(String fullName) {
this.fullName = fullName;
}
@JsonProperty("saved_reports")
public List<Object> getSavedReports() {
return savedReports;
}
@JsonProperty("saved_reports")
public void setSavedReports(List<Object> savedReports) {
this.savedReports = savedReports;
}
@JsonProperty("saved_searches")
public List<Object> getSavedSearches() {
return savedSearches;
}
@JsonProperty("saved_searches")
public void setSavedSearches(List<Object> savedSearches) {
this.savedSearches = savedSearches;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
/*-
* ========================LICENSE_START=================================
* org.etsi.osl.bugzilla
* %%
* Copyright (C) 2019 openslice.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =========================LICENSE_END==================================
*/
package org.etsi.osl.bugzilla.model;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* @author ctranoris
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Users {
@JsonProperty("users")
private List<User> users = null;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonProperty("users")
public List<User> getUsers() {
return users;
}
@JsonProperty("users")
public void setUsers(List<User> users) {
this.users = users;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
# For Spring Actuator /info endpoint
info:
artifact: bugzilla-client-service
name: bugzilla-client-service
description: Spring bugzilla-client-service
version: 1.0.0
server:
port: 13010
logging:
level:
root: INFO
org.springframework: INFO
org.apache.camel: INFO
spring:
config:
activate:
on-profile: "default"
application:
name: bugzilla-client-service
activemq:
brokerUrl: tcp://localhost:61616?jms.watchTopicAdvisories=false
user: artemis
password: artemis
pool:
enabled: true
max-connections: 100
packages:
trust-all: true
portaltitle: "openslice"
maindomain: "http://localhost:13000"
main_operations_product: "Openslice Operations"
bugzillaurl: "bugzilla.example.org:443/bugstaging/"
bugzillakey: ""
#EVENT TOPICS IN Message Bus
EVENT_SERVICE_CREATE: "jms:topic:EVENT.SERVICE.CREATE"
EVENT_SERVICE_STATE_CHANGED: "jms:topic:EVENT.SERVICE.STATECHANGED"
EVENT_SERVICE_DELETE: "jms:topic:EVENT.SERVICE.DELETE"
EVENT_SERVICE_ATTRIBUTE_VALUE_CHANGED: "jms:topic:EVENT.SERVICE.ATTRCHANGED"
EVENT_SERVICE_ORDER_CREATE: "jms:topic:EVENT.SERVICEORDER.CREATE"
EVENT_SERVICE_ORDER_STATE_CHANGED: "jms:topic:EVENT.SERVICEORDER.STATECHANGED"
EVENT_SERVICE_ORDER_DELETE: "jms:topic:EVENT.SERVICEORDER.DELETE"
EVENT_SERVICE_ORDER_ATTRIBUTE_VALUE_CHANGED: "jms:topic:EVENT.SERVICEORDER.ATTRCHANGED"
EVENT_INDIVIDUAL_CREATE: "jms:topic:EVENT.INDIVIDUAL.CREATE"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment