http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/crsh/ComputationalResourceSchedulingSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/crsh/ComputationalResourceSchedulingSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/crsh/ComputationalResourceSchedulingSerializer.java deleted file mode 100644 index 29d2fff..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/crsh/ComputationalResourceSchedulingSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.crsh; - -import org.apache.airavata.model.workspace.experiment.ComputationalResourceScheduling; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class ComputationalResourceSchedulingSerializer extends - AbstractThriftSerializer<ComputationalResourceScheduling._Fields, ComputationalResourceScheduling> { - private final static Logger logger = LoggerFactory.getLogger(ComputationalResourceSchedulingSerializer.class); - - @Override - protected ComputationalResourceScheduling._Fields[] getFieldValues() { - return ComputationalResourceScheduling._Fields.values(); - } - - @Override - protected Class<ComputationalResourceScheduling> getThriftClass() { - return null; - } -} \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/datatrdetails/DataTransferDetailsDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/datatrdetails/DataTransferDetailsDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/datatrdetails/DataTransferDetailsDeserializer.java deleted file mode 100644 index b0b7a46..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/datatrdetails/DataTransferDetailsDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.datatrdetails; - -import org.apache.airavata.model.workspace.experiment.DataTransferDetails; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class DataTransferDetailsDeserializer extends - AbstractThriftDeserializer<DataTransferDetails._Fields, DataTransferDetails> { - - @Override - protected DataTransferDetails._Fields getField(final String fieldName) { - return DataTransferDetails._Fields.valueOf(fieldName); - } - - @Override - protected DataTransferDetails newInstance() { - return new DataTransferDetails(); - } - - @Override - protected void validate(final DataTransferDetails instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/datatrdetails/DataTransferDetailsSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/datatrdetails/DataTransferDetailsSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/datatrdetails/DataTransferDetailsSerializer.java deleted file mode 100644 index c7b9106..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/datatrdetails/DataTransferDetailsSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.datatrdetails; - -import org.apache.airavata.model.workspace.experiment.DataTransferDetails; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class DataTransferDetailsSerializer extends - AbstractThriftSerializer<DataTransferDetails._Fields, DataTransferDetails> { - private final static Logger logger = LoggerFactory.getLogger(DataTransferDetailsSerializer.class); - - @Override - protected DataTransferDetails._Fields[] getFieldValues() { - return DataTransferDetails._Fields.values(); - } - - @Override - protected Class<DataTransferDetails> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/errdetails/ErrorDetailsDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/errdetails/ErrorDetailsDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/errdetails/ErrorDetailsDeserializer.java deleted file mode 100644 index fb64042..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/errdetails/ErrorDetailsDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.errdetails; - -import org.apache.airavata.model.workspace.experiment.ErrorDetails; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class ErrorDetailsDeserializer extends - AbstractThriftDeserializer<ErrorDetails._Fields, ErrorDetails> { - - @Override - protected ErrorDetails._Fields getField(final String fieldName) { - return ErrorDetails._Fields.valueOf(fieldName); - } - - @Override - protected ErrorDetails newInstance() { - return new ErrorDetails(); - } - - @Override - protected void validate(final ErrorDetails instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/errdetails/ErrorDetailsSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/errdetails/ErrorDetailsSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/errdetails/ErrorDetailsSerializer.java deleted file mode 100644 index de374d2..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/errdetails/ErrorDetailsSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.errdetails; - -import org.apache.airavata.model.workspace.experiment.ErrorDetails; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class ErrorDetailsSerializer extends - AbstractThriftSerializer<ErrorDetails._Fields, ErrorDetails> { - private final static Logger logger = LoggerFactory.getLogger(ErrorDetailsSerializer.class); - - @Override - protected ErrorDetails._Fields[] getFieldValues() { - return ErrorDetails._Fields.values(); - } - - @Override - protected Class<ErrorDetails> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expstatus/ExperimentStatusDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expstatus/ExperimentStatusDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expstatus/ExperimentStatusDeserializer.java deleted file mode 100644 index bd8066d..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expstatus/ExperimentStatusDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.expstatus; - -import org.apache.airavata.model.workspace.experiment.ExperimentStatus; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class ExperimentStatusDeserializer extends - AbstractThriftDeserializer<ExperimentStatus._Fields, ExperimentStatus> { - - @Override - protected ExperimentStatus._Fields getField(final String fieldName) { - return ExperimentStatus._Fields.valueOf(fieldName); - } - - @Override - protected ExperimentStatus newInstance() { - return new ExperimentStatus(); - } - - @Override - protected void validate(final ExperimentStatus instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expstatus/ExperimentStatusSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expstatus/ExperimentStatusSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expstatus/ExperimentStatusSerializer.java deleted file mode 100644 index 2121e16..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expstatus/ExperimentStatusSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.expstatus; - -import org.apache.airavata.model.workspace.experiment.ExperimentStatus; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class ExperimentStatusSerializer extends - AbstractThriftSerializer<ExperimentStatus._Fields, ExperimentStatus> { - private final static Logger logger = LoggerFactory.getLogger(ExperimentStatusSerializer.class); - - @Override - protected ExperimentStatus._Fields[] getFieldValues() { - return ExperimentStatus._Fields.values(); - } - - @Override - protected Class<ExperimentStatus> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expsummary/ExperimentSummaryDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expsummary/ExperimentSummaryDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expsummary/ExperimentSummaryDeserializer.java deleted file mode 100644 index 7d9ce35..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expsummary/ExperimentSummaryDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.expsummary; - -import org.apache.airavata.model.workspace.experiment.ExperimentSummary; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class ExperimentSummaryDeserializer extends - AbstractThriftDeserializer<ExperimentSummary._Fields, ExperimentSummary> { - - @Override - protected ExperimentSummary._Fields getField(final String fieldName) { - return ExperimentSummary._Fields.valueOf(fieldName); - } - - @Override - protected ExperimentSummary newInstance() { - return new ExperimentSummary(); - } - - @Override - protected void validate(final ExperimentSummary instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expsummary/ExperimentSummarySerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expsummary/ExperimentSummarySerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expsummary/ExperimentSummarySerializer.java deleted file mode 100644 index 0fbd64d..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/expsummary/ExperimentSummarySerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.expsummary; - -import org.apache.airavata.model.workspace.experiment.ExperimentSummary; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class ExperimentSummarySerializer extends - AbstractThriftSerializer<ExperimentSummary._Fields, ExperimentSummary> { - private final static Logger logger = LoggerFactory.getLogger(ExperimentSummarySerializer.class); - - @Override - protected ExperimentSummary._Fields[] getFieldValues() { - return ExperimentSummary._Fields.values(); - } - - @Override - protected Class<ExperimentSummary> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobdetails/JobDetailsDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobdetails/JobDetailsDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobdetails/JobDetailsDeserializer.java deleted file mode 100644 index 9805751..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobdetails/JobDetailsDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.jobdetails; - -import org.apache.airavata.model.workspace.experiment.JobDetails; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class JobDetailsDeserializer extends - AbstractThriftDeserializer<JobDetails._Fields, JobDetails> { - - @Override - protected JobDetails._Fields getField(final String fieldName) { - return JobDetails._Fields.valueOf(fieldName); - } - - @Override - protected JobDetails newInstance() { - return new JobDetails(); - } - - @Override - protected void validate(final JobDetails instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobdetails/JobDetailsSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobdetails/JobDetailsSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobdetails/JobDetailsSerializer.java deleted file mode 100644 index 064f642..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobdetails/JobDetailsSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.jobdetails; - -import org.apache.airavata.model.workspace.experiment.JobDetails; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class JobDetailsSerializer extends - AbstractThriftSerializer<JobDetails._Fields, JobDetails> { - private final static Logger logger = LoggerFactory.getLogger(JobDetailsSerializer.class); - - @Override - protected JobDetails._Fields[] getFieldValues() { - return JobDetails._Fields.values(); - } - - @Override - protected Class<JobDetails> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobstatus/JobStatusDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobstatus/JobStatusDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobstatus/JobStatusDeserializer.java deleted file mode 100644 index 9b149a1..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobstatus/JobStatusDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.jobstatus; - -import org.apache.airavata.model.workspace.experiment.JobStatus; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class JobStatusDeserializer extends - AbstractThriftDeserializer<JobStatus._Fields, JobStatus> { - - @Override - protected JobStatus._Fields getField(final String fieldName) { - return JobStatus._Fields.valueOf(fieldName); - } - - @Override - protected JobStatus newInstance() { - return new JobStatus(); - } - - @Override - protected void validate(final JobStatus instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobstatus/JobStatusSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobstatus/JobStatusSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobstatus/JobStatusSerializer.java deleted file mode 100644 index e8c4dc5..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/jobstatus/JobStatusSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.jobstatus; - -import org.apache.airavata.model.workspace.experiment.JobStatus; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class JobStatusSerializer extends - AbstractThriftSerializer<JobStatus._Fields, JobStatus> { - private final static Logger logger = LoggerFactory.getLogger(JobStatusSerializer.class); - - @Override - protected JobStatus._Fields[] getFieldValues() { - return JobStatus._Fields.values(); - } - - @Override - protected Class<JobStatus> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/qosp/QualityOfServiceParamsDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/qosp/QualityOfServiceParamsDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/qosp/QualityOfServiceParamsDeserializer.java deleted file mode 100644 index 03399f8..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/qosp/QualityOfServiceParamsDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.qosp; - -import org.apache.airavata.model.workspace.experiment.QualityOfServiceParams; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class QualityOfServiceParamsDeserializer extends - AbstractThriftDeserializer<QualityOfServiceParams._Fields, QualityOfServiceParams> { - - @Override - protected QualityOfServiceParams._Fields getField(final String fieldName) { - return QualityOfServiceParams._Fields.valueOf(fieldName); - } - - @Override - protected QualityOfServiceParams newInstance() { - return new QualityOfServiceParams(); - } - - @Override - protected void validate(final QualityOfServiceParams instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/qosp/QualityOfServiceParamsSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/qosp/QualityOfServiceParamsSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/qosp/QualityOfServiceParamsSerializer.java deleted file mode 100644 index c6c6d05..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/qosp/QualityOfServiceParamsSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.qosp; - -import org.apache.airavata.model.workspace.experiment.QualityOfServiceParams; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class QualityOfServiceParamsSerializer extends - AbstractThriftSerializer<QualityOfServiceParams._Fields, QualityOfServiceParams> { - private final static Logger logger = LoggerFactory.getLogger(QualityOfServiceParamsSerializer.class); - - @Override - protected QualityOfServiceParams._Fields[] getFieldValues() { - return QualityOfServiceParams._Fields.values(); - } - - @Override - protected Class<QualityOfServiceParams> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskdetails/TaskDetailsDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskdetails/TaskDetailsDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskdetails/TaskDetailsDeserializer.java deleted file mode 100644 index cb710c9..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskdetails/TaskDetailsDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.taskdetails; - -import org.apache.airavata.model.workspace.experiment.TaskDetails; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class TaskDetailsDeserializer extends - AbstractThriftDeserializer<TaskDetails._Fields, TaskDetails> { - - @Override - protected TaskDetails._Fields getField(final String fieldName) { - return TaskDetails._Fields.valueOf(fieldName); - } - - @Override - protected TaskDetails newInstance() { - return new TaskDetails(); - } - - @Override - protected void validate(final TaskDetails instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskdetails/TaskDetailsSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskdetails/TaskDetailsSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskdetails/TaskDetailsSerializer.java deleted file mode 100644 index ccfe1b4..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskdetails/TaskDetailsSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.taskdetails; - -import org.apache.airavata.model.workspace.experiment.TaskDetails; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class TaskDetailsSerializer extends - AbstractThriftSerializer<TaskDetails._Fields, TaskDetails> { - private final static Logger logger = LoggerFactory.getLogger(TaskDetailsSerializer.class); - - @Override - protected TaskDetails._Fields[] getFieldValues() { - return TaskDetails._Fields.values(); - } - - @Override - protected Class<TaskDetails> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskstatus/TaskStatusDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskstatus/TaskStatusDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskstatus/TaskStatusDeserializer.java deleted file mode 100644 index d198242..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskstatus/TaskStatusDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.taskstatus; - -import org.apache.airavata.model.workspace.experiment.TaskStatus; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class TaskStatusDeserializer extends - AbstractThriftDeserializer<TaskStatus._Fields, TaskStatus> { - - @Override - protected TaskStatus._Fields getField(final String fieldName) { - return TaskStatus._Fields.valueOf(fieldName); - } - - @Override - protected TaskStatus newInstance() { - return new TaskStatus(); - } - - @Override - protected void validate(final TaskStatus instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskstatus/TaskStatusSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskstatus/TaskStatusSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskstatus/TaskStatusSerializer.java deleted file mode 100644 index b09095e..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/taskstatus/TaskStatusSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.taskstatus; - -import org.apache.airavata.model.workspace.experiment.TaskStatus; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class TaskStatusSerializer extends - AbstractThriftSerializer<TaskStatus._Fields, TaskStatus> { - private final static Logger logger = LoggerFactory.getLogger(TaskStatusSerializer.class); - - @Override - protected TaskStatus._Fields[] getFieldValues() { - return TaskStatus._Fields.values(); - } - - @Override - protected Class<TaskStatus> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/trstatus/TransferStatusDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/trstatus/TransferStatusDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/trstatus/TransferStatusDeserializer.java deleted file mode 100644 index 5662715..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/trstatus/TransferStatusDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.trstatus; - -import org.apache.airavata.model.workspace.experiment.TransferStatus; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class TransferStatusDeserializer extends - AbstractThriftDeserializer<TransferStatus._Fields, TransferStatus> { - - @Override - protected TransferStatus._Fields getField(final String fieldName) { - return TransferStatus._Fields.valueOf(fieldName); - } - - @Override - protected TransferStatus newInstance() { - return new TransferStatus(); - } - - @Override - protected void validate(final TransferStatus instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/trstatus/TransferStatusSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/trstatus/TransferStatusSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/trstatus/TransferStatusSerializer.java deleted file mode 100644 index bf94779..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/trstatus/TransferStatusSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.trstatus; - -import org.apache.airavata.model.workspace.experiment.TransferStatus; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class TransferStatusSerializer extends - AbstractThriftSerializer<TransferStatus._Fields, TransferStatus> { - private final static Logger logger = LoggerFactory.getLogger(TransferStatusSerializer.class); - - @Override - protected TransferStatus._Fields[] getFieldValues() { - return TransferStatus._Fields.values(); - } - - @Override - protected Class<TransferStatus> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/ucdata/UserConfigurationDataDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/ucdata/UserConfigurationDataDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/ucdata/UserConfigurationDataDeserializer.java deleted file mode 100644 index aa8c7a2..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/ucdata/UserConfigurationDataDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.ucdata; - -import org.apache.airavata.model.workspace.experiment.UserConfigurationData; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class UserConfigurationDataDeserializer extends - AbstractThriftDeserializer<UserConfigurationData._Fields, UserConfigurationData> { - - @Override - protected UserConfigurationData._Fields getField(final String fieldName) { - return UserConfigurationData._Fields.valueOf(fieldName); - } - - @Override - protected UserConfigurationData newInstance() { - return new UserConfigurationData(); - } - - @Override - protected void validate(final UserConfigurationData instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/ucdata/UserConfigurationDataSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/ucdata/UserConfigurationDataSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/ucdata/UserConfigurationDataSerializer.java deleted file mode 100644 index dca810d..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/ucdata/UserConfigurationDataSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.ucdata; - -import org.apache.airavata.model.workspace.experiment.UserConfigurationData; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class UserConfigurationDataSerializer extends - AbstractThriftSerializer<UserConfigurationData._Fields, UserConfigurationData> { - private final static Logger logger = LoggerFactory.getLogger(UserConfigurationDataSerializer.class); - - @Override - protected UserConfigurationData._Fields[] getFieldValues() { - return UserConfigurationData._Fields.values(); - } - - @Override - protected Class<UserConfigurationData> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validationrslt/ValidationResultsDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validationrslt/ValidationResultsDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validationrslt/ValidationResultsDeserializer.java deleted file mode 100644 index f13c9dc..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validationrslt/ValidationResultsDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.validationrslt; - -import org.apache.airavata.model.workspace.experiment.ValidationResults; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class ValidationResultsDeserializer extends - AbstractThriftDeserializer<ValidationResults._Fields, ValidationResults> { - - @Override - protected ValidationResults._Fields getField(final String fieldName) { - return ValidationResults._Fields.valueOf(fieldName); - } - - @Override - protected ValidationResults newInstance() { - return new ValidationResults(); - } - - @Override - protected void validate(final ValidationResults instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validationrslt/ValidationResultsSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validationrslt/ValidationResultsSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validationrslt/ValidationResultsSerializer.java deleted file mode 100644 index 6d6dd64..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validationrslt/ValidationResultsSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.validationrslt; - -import org.apache.airavata.model.workspace.experiment.ValidationResults; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class ValidationResultsSerializer extends - AbstractThriftSerializer<ValidationResults._Fields, ValidationResults> { - private final static Logger logger = LoggerFactory.getLogger(ValidationResultsSerializer.class); - - @Override - protected ValidationResults._Fields[] getFieldValues() { - return ValidationResults._Fields.values(); - } - - @Override - protected Class<ValidationResults> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validatorrslt/ValidatorResultDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validatorrslt/ValidatorResultDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validatorrslt/ValidatorResultDeserializer.java deleted file mode 100644 index 333f9eb..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validatorrslt/ValidatorResultDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.validatorrslt; - -import org.apache.airavata.model.error.ValidatorResult; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class ValidatorResultDeserializer extends - AbstractThriftDeserializer<ValidatorResult._Fields, ValidatorResult> { - - @Override - protected ValidatorResult._Fields getField(final String fieldName) { - return ValidatorResult._Fields.valueOf(fieldName); - } - - @Override - protected ValidatorResult newInstance() { - return new ValidatorResult(); - } - - @Override - protected void validate(final ValidatorResult instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validatorrslt/ValidatorResultSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validatorrslt/ValidatorResultSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validatorrslt/ValidatorResultSerializer.java deleted file mode 100644 index c7e5c6c..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/validatorrslt/ValidatorResultSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.validatorrslt; - -import org.apache.airavata.model.error.ValidatorResult; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class ValidatorResultSerializer extends - AbstractThriftSerializer<ValidatorResult._Fields, ValidatorResult> { - private final static Logger logger = LoggerFactory.getLogger(ValidatorResultSerializer.class); - - @Override - protected ValidatorResult._Fields[] getFieldValues() { - return ValidatorResult._Fields.values(); - } - - @Override - protected Class<ValidatorResult> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfnd/WorkflowNodeDetailsDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfnd/WorkflowNodeDetailsDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfnd/WorkflowNodeDetailsDeserializer.java deleted file mode 100644 index a51bcee..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfnd/WorkflowNodeDetailsDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.wfnd; - -import org.apache.airavata.model.workspace.experiment.WorkflowNodeDetails; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class WorkflowNodeDetailsDeserializer extends - AbstractThriftDeserializer<WorkflowNodeDetails._Fields, WorkflowNodeDetails> { - - @Override - protected WorkflowNodeDetails._Fields getField(final String fieldName) { - return WorkflowNodeDetails._Fields.valueOf(fieldName); - } - - @Override - protected WorkflowNodeDetails newInstance() { - return new WorkflowNodeDetails(); - } - - @Override - protected void validate(final WorkflowNodeDetails instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfnd/WorkflowNodeDetailsSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfnd/WorkflowNodeDetailsSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfnd/WorkflowNodeDetailsSerializer.java deleted file mode 100644 index cfdef1a..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfnd/WorkflowNodeDetailsSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.wfnd; - -import org.apache.airavata.model.workspace.experiment.WorkflowNodeDetails; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class WorkflowNodeDetailsSerializer extends - AbstractThriftSerializer<WorkflowNodeDetails._Fields, WorkflowNodeDetails> { - private final static Logger logger = LoggerFactory.getLogger(WorkflowNodeDetailsSerializer.class); - - @Override - protected WorkflowNodeDetails._Fields[] getFieldValues() { - return WorkflowNodeDetails._Fields.values(); - } - - @Override - protected Class<WorkflowNodeDetails> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfns/WorkflowNodeStatusDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfns/WorkflowNodeStatusDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfns/WorkflowNodeStatusDeserializer.java deleted file mode 100644 index 92b0047..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfns/WorkflowNodeStatusDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.wfns; - -import org.apache.airavata.model.workspace.experiment.WorkflowNodeStatus; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class WorkflowNodeStatusDeserializer extends - AbstractThriftDeserializer<WorkflowNodeStatus._Fields, WorkflowNodeStatus> { - - @Override - protected WorkflowNodeStatus._Fields getField(final String fieldName) { - return WorkflowNodeStatus._Fields.valueOf(fieldName); - } - - @Override - protected WorkflowNodeStatus newInstance() { - return new WorkflowNodeStatus(); - } - - @Override - protected void validate(final WorkflowNodeStatus instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfns/WorkflowNodeStatusSerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfns/WorkflowNodeStatusSerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfns/WorkflowNodeStatusSerializer.java deleted file mode 100644 index 16dc293..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/experiment/wfns/WorkflowNodeStatusSerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.experiment.wfns; - -import org.apache.airavata.model.workspace.experiment.WorkflowNodeStatus; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class WorkflowNodeStatusSerializer extends - AbstractThriftSerializer<WorkflowNodeStatus._Fields, WorkflowNodeStatus> { - private final static Logger logger = LoggerFactory.getLogger(WorkflowNodeStatusSerializer.class); - - @Override - protected WorkflowNodeStatus._Fields[] getFieldValues() { - return WorkflowNodeStatus._Fields.values(); - } - - @Override - protected Class<WorkflowNodeStatus> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/gateway/GatewayDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/gateway/GatewayDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/gateway/GatewayDeserializer.java deleted file mode 100644 index 32c929b..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/gateway/GatewayDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.gateway; - -import org.apache.airavata.model.workspace.Gateway; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class GatewayDeserializer extends - AbstractThriftDeserializer<Gateway._Fields, Gateway> { - - @Override - protected Gateway._Fields getField(final String fieldName) { - return Gateway._Fields.valueOf(fieldName); - } - - @Override - protected Gateway newInstance() { - return new Gateway(); - } - - @Override - protected void validate(final Gateway instance) throws TException { - instance.validate(); - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/gateway/GatewaySerializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/gateway/GatewaySerializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/gateway/GatewaySerializer.java deleted file mode 100644 index f863e7e..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/gateway/GatewaySerializer.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.gateway; - -import org.apache.airavata.model.workspace.Gateway; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftSerializer; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class GatewaySerializer extends - AbstractThriftSerializer<Gateway._Fields, Gateway> { - private final static Logger logger = LoggerFactory.getLogger(GatewaySerializer.class); - - @Override - protected Gateway._Fields[] getFieldValues() { - return Gateway._Fields.values(); - } - - @Override - protected Class<Gateway> getThriftClass() { - return null; - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/801489bf/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/group/GroupDeserializer.java ---------------------------------------------------------------------- diff --git a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/group/GroupDeserializer.java b/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/group/GroupDeserializer.java deleted file mode 100644 index 6ed949c..0000000 --- a/modules/registry/airavata-mongo-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/mongo/conversion/group/GroupDeserializer.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - * -*/ -package org.apache.airavata.persistance.registry.jpa.mongo.conversion.group; - -import org.apache.airavata.model.workspace.Group; -import org.apache.airavata.persistance.registry.jpa.mongo.conversion.AbstractThriftDeserializer; -import org.apache.thrift.TException; - -public class GroupDeserializer extends - AbstractThriftDeserializer<Group._Fields, Group> { - - @Override - protected Group._Fields getField(final String fieldName) { - return Group._Fields.valueOf(fieldName); - } - - @Override - protected Group newInstance() { - return new Group(); - } - - @Override - protected void validate(final Group instance) throws TException { - instance.validate(); - } -} \ No newline at end of file
