mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Remove @author tag from non third-party source files in awsapi folder
This commit is contained in:
parent
5111fee70c
commit
1894fb56cf
@ -25,9 +25,6 @@ import javax.activation.DataSource;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class FileRangeDataSource implements DataSource {
|
||||
protected final static Logger logger = Logger.getLogger(FileRangeDataSource.class);
|
||||
|
||||
|
||||
@ -21,9 +21,6 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.RandomAccessFile;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class FileRangeInputStream extends InputStream {
|
||||
private RandomAccessFile randomAccessFile;
|
||||
private long curPos;
|
||||
|
||||
@ -35,7 +35,6 @@ import org.apache.axis2.databinding.ADBBean;
|
||||
import org.apache.axis2.databinding.ADBException;
|
||||
|
||||
/**
|
||||
* @author John Zucker
|
||||
* Provide an MTOM aware serializable output stream writer to be consumed by implementors of the
|
||||
* com.amazon.s3 Response ADB bean classes.
|
||||
* This writer enables participation is StaX based builders and AXIOM om xml stream processing
|
||||
|
||||
@ -38,9 +38,6 @@ import com.cloud.bridge.service.exception.OutOfStorageException;
|
||||
import com.cloud.bridge.util.StringHelper;
|
||||
import com.cloud.bridge.util.OrderedPair;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang, John Zucker
|
||||
*/
|
||||
public class S3FileSystemBucketAdapter implements S3BucketAdapter {
|
||||
protected final static Logger logger = Logger.getLogger(S3FileSystemBucketAdapter.class);
|
||||
|
||||
|
||||
@ -26,7 +26,6 @@ import com.cloud.bridge.service.controller.s3.ServiceProvider;
|
||||
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
* ServiceEngineLifecycle is used to participate Axis service life cycle management
|
||||
* so that we can inject proper initialization and cleanup procedure into the
|
||||
* process
|
||||
|
||||
@ -21,9 +21,6 @@ import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class MHost implements Serializable {
|
||||
private static final long serialVersionUID = 4848254624679753930L;
|
||||
|
||||
|
||||
@ -19,9 +19,6 @@ package com.cloud.bridge.model;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class MHostMount implements Serializable {
|
||||
private static final long serialVersionUID = -1119494563131099642L;
|
||||
|
||||
|
||||
@ -24,7 +24,6 @@ import com.cloud.bridge.util.OrderedPair;
|
||||
import com.cloud.bridge.util.Triple;
|
||||
|
||||
/**
|
||||
* @author John Zucker, Kelven Yang
|
||||
* A model of stored ACLs to remember the ACL permissions per canonicalUserID per grantee
|
||||
* Hold the AWS S3 grantee and permission constants.
|
||||
*
|
||||
|
||||
@ -22,7 +22,6 @@ import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang, John Zucker
|
||||
* Holds the relation
|
||||
* Id,
|
||||
* Name,
|
||||
|
||||
@ -20,9 +20,6 @@ import java.io.Serializable;
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang, John Zucker
|
||||
*/
|
||||
public class SHost implements Serializable {
|
||||
private static final long serialVersionUID = 213346565810468018L;
|
||||
|
||||
|
||||
@ -18,9 +18,6 @@ package com.cloud.bridge.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class SMeta implements Serializable {
|
||||
private static final long serialVersionUID = 7459503272337054283L;
|
||||
|
||||
|
||||
@ -22,9 +22,6 @@ import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang, John Zucker
|
||||
*/
|
||||
public class SObject implements Serializable {
|
||||
private static final long serialVersionUID = 8566744941395660486L;
|
||||
|
||||
|
||||
@ -19,9 +19,6 @@ package com.cloud.bridge.model;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang, John Zucker
|
||||
*/
|
||||
public class SObjectItem implements Serializable {
|
||||
private static final long serialVersionUID = -7351173256185687851L;
|
||||
|
||||
|
||||
@ -25,7 +25,6 @@ import org.hibernate.Session;
|
||||
import com.cloud.bridge.util.QueryHelper;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang, John Zucker
|
||||
* Provide methods for getting, saving, deleting or updating state per session or, in a given session, returnin a List in
|
||||
* response to queryEntities for a particular instantation of the EntityDao generic class, as defined here.
|
||||
* Any instantation of EntityDao passes in the class for which it is instantiating. For example a new instance of SBucketDao
|
||||
|
||||
@ -29,7 +29,6 @@ import org.hibernate.usertype.UserType;
|
||||
import com.cloud.bridge.util.DateHelper;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
* GMTDateTimeUserType implements a Hibernate user type, it deals with GMT date/time conversion
|
||||
* between Java Date/Calendar and MySQL DATE types
|
||||
*/
|
||||
|
||||
@ -33,7 +33,6 @@ import com.cloud.bridge.util.CloudStackSessionFactory;
|
||||
import com.cloud.bridge.util.OrderedPair;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*
|
||||
* We use Per-thread based hibernate session and transaction pattern. Transaction will be
|
||||
* started implicitly by EntityDao instances and be committed implicitly in the end of
|
||||
|
||||
@ -16,9 +16,6 @@
|
||||
// under the License.
|
||||
package com.cloud.bridge.persist;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class PersistException extends RuntimeException {
|
||||
private static final long serialVersionUID = -7137918292537610367L;
|
||||
|
||||
|
||||
@ -19,9 +19,6 @@ package com.cloud.bridge.persist.dao;
|
||||
import com.cloud.bridge.model.MHost;
|
||||
import com.cloud.bridge.persist.EntityDao;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class MHostDao extends EntityDao<MHost> {
|
||||
public MHostDao() {
|
||||
super(MHost.class);
|
||||
|
||||
@ -19,9 +19,6 @@ package com.cloud.bridge.persist.dao;
|
||||
import com.cloud.bridge.model.MHostMount;
|
||||
import com.cloud.bridge.persist.EntityDao;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class MHostMountDao extends EntityDao<MHostMount> {
|
||||
public MHostMountDao() {
|
||||
super(MHostMount.class);
|
||||
|
||||
@ -25,9 +25,6 @@ import com.cloud.bridge.persist.PersistContext;
|
||||
import com.cloud.bridge.service.core.s3.S3AccessControlList;
|
||||
import com.cloud.bridge.service.core.s3.S3Grant;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class SAclDao extends EntityDao<SAcl> {
|
||||
|
||||
public SAclDao() {
|
||||
|
||||
@ -21,9 +21,6 @@ import java.util.List;
|
||||
import com.cloud.bridge.model.SBucket;
|
||||
import com.cloud.bridge.persist.EntityDao;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class SBucketDao extends EntityDao<SBucket> {
|
||||
public SBucketDao() {
|
||||
super(SBucket.class);
|
||||
|
||||
@ -19,9 +19,6 @@ package com.cloud.bridge.persist.dao;
|
||||
import com.cloud.bridge.model.SHost;
|
||||
import com.cloud.bridge.persist.EntityDao;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class SHostDao extends EntityDao<SHost> {
|
||||
public SHostDao() {
|
||||
super(SHost.class);
|
||||
|
||||
@ -23,9 +23,6 @@ import com.cloud.bridge.persist.EntityDao;
|
||||
import com.cloud.bridge.persist.PersistContext;
|
||||
import com.cloud.bridge.service.core.s3.S3MetaDataEntry;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang, John Zucker
|
||||
*/
|
||||
public class SMetaDao extends EntityDao<SMeta> {
|
||||
public SMetaDao() {
|
||||
super(SMeta.class);
|
||||
|
||||
@ -24,9 +24,6 @@ import com.cloud.bridge.model.SObject;
|
||||
import com.cloud.bridge.persist.EntityDao;
|
||||
import com.cloud.bridge.util.EntityParam;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class SObjectDao extends EntityDao<SObject> {
|
||||
public SObjectDao() {
|
||||
super(SObject.class);
|
||||
|
||||
@ -19,9 +19,6 @@ package com.cloud.bridge.persist.dao;
|
||||
import com.cloud.bridge.model.SObjectItem;
|
||||
import com.cloud.bridge.persist.EntityDao;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class SObjectItemDao extends EntityDao<SObjectItem> {
|
||||
public SObjectItemDao() {
|
||||
super(SObjectItem.class);
|
||||
|
||||
@ -110,9 +110,6 @@ import com.cloud.bridge.util.XSerializerXmlAdapter;
|
||||
import com.cloud.bridge.util.XmlHelper;
|
||||
|
||||
|
||||
/**
|
||||
* @author Kelven Yang, John Zucker
|
||||
*/
|
||||
public class S3BucketAction implements ServletAction {
|
||||
protected final static Logger logger = Logger.getLogger(S3BucketAction.class);
|
||||
|
||||
|
||||
@ -80,9 +80,6 @@ import com.cloud.bridge.util.HeaderParam;
|
||||
import com.cloud.bridge.util.ServletRequestDataSource;
|
||||
import com.cloud.bridge.util.OrderedPair;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang, John Zucker
|
||||
*/
|
||||
public class S3ObjectAction implements ServletAction {
|
||||
protected final static Logger logger = Logger.getLogger(S3ObjectAction.class);
|
||||
|
||||
|
||||
@ -107,7 +107,7 @@ import com.cloud.bridge.service.core.s3.S3SetBucketAccessControlPolicyRequest;
|
||||
import com.cloud.bridge.service.core.s3.S3SetObjectAccessControlPolicyRequest;
|
||||
import com.cloud.bridge.service.exception.InternalErrorException;
|
||||
|
||||
/* @Author Kelven Yang, John Zucker
|
||||
/*
|
||||
* Implementation of S3 service requests as operations defined by the interface, com.amazon.s3.AmazonS3SkeletonInterface.
|
||||
* The operations dispatched from this class are of the form of SOAP operations which define business logic to be executed by the request.
|
||||
* The methods required for S3 services in accordance with the skeleton are either implementations of the following
|
||||
|
||||
@ -58,9 +58,6 @@ import com.cloud.bridge.util.DateHelper;
|
||||
import com.cloud.bridge.util.NetHelper;
|
||||
import com.cloud.bridge.util.OrderedPair;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class ServiceProvider {
|
||||
protected final static Logger logger = Logger.getLogger(ServiceProvider.class);
|
||||
|
||||
|
||||
@ -22,9 +22,6 @@ import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.xml.stream.XMLStreamException;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public interface ServletAction {
|
||||
void execute(HttpServletRequest request, HttpServletResponse response) throws IOException, XMLStreamException;
|
||||
}
|
||||
|
||||
@ -26,10 +26,6 @@ import java.util.Map;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
/**
|
||||
* @author slriv
|
||||
*
|
||||
*/
|
||||
public class EC2AddressFilterSet {
|
||||
protected final static Logger logger = Logger.getLogger(EC2KeyPairFilterSet.class);
|
||||
|
||||
|
||||
@ -20,10 +20,6 @@ package com.cloud.bridge.service.core.ec2;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author slriv
|
||||
*
|
||||
*/
|
||||
public class EC2DescribeKeyPairs {
|
||||
private EC2KeyPairFilterSet keyFilterSet;
|
||||
private List<String> keyNames;
|
||||
|
||||
@ -20,10 +20,6 @@ package com.cloud.bridge.service.core.ec2;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author slriv
|
||||
*
|
||||
*/
|
||||
public class EC2DescribeKeyPairsResponse {
|
||||
|
||||
protected List<EC2SSHKeyPair> keyPairSet = new ArrayList<EC2SSHKeyPair>();
|
||||
|
||||
@ -25,10 +25,6 @@ import java.util.Map;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
/**
|
||||
* @author slriv
|
||||
*
|
||||
*/
|
||||
public class EC2KeyPairFilterSet {
|
||||
protected final static Logger logger = Logger.getLogger(EC2KeyPairFilterSet.class);
|
||||
|
||||
|
||||
@ -20,7 +20,6 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang, John Zucker
|
||||
* An S3AccessControlList is simply a holder of grants depicted as instances of S3Grant.
|
||||
*/
|
||||
public class S3AccessControlList {
|
||||
|
||||
@ -16,9 +16,6 @@
|
||||
// under the License.
|
||||
package com.cloud.bridge.service.core.s3;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class S3AccessControlPolicy extends S3Response {
|
||||
protected S3CanonicalUser owner;
|
||||
protected S3Grant[] grants;
|
||||
|
||||
@ -18,9 +18,6 @@ package com.cloud.bridge.service.core.s3;
|
||||
|
||||
import com.cloud.bridge.util.XElement;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class S3CanonicalUser {
|
||||
|
||||
@XElement(name="ID")
|
||||
|
||||
@ -22,9 +22,6 @@ import java.io.InputStream;
|
||||
|
||||
import javax.activation.DataHandler;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang, John Zucker
|
||||
*/
|
||||
public class S3PutObjectInlineRequest extends S3Request {
|
||||
protected String bucketName;
|
||||
protected String key;
|
||||
|
||||
@ -18,9 +18,6 @@ package com.cloud.bridge.service.core.s3;
|
||||
|
||||
import java.util.Calendar;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang, John Zucker
|
||||
*/
|
||||
public class S3PutObjectInlineResponse extends S3Response {
|
||||
protected String ETag;
|
||||
protected Calendar lastModified;
|
||||
|
||||
@ -18,9 +18,6 @@ package com.cloud.bridge.service.core.s3;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class S3PutObjectRequest extends S3Request {
|
||||
protected String bucketName;
|
||||
protected String key;
|
||||
|
||||
@ -18,9 +18,6 @@ package com.cloud.bridge.service.core.s3;
|
||||
|
||||
import java.util.Calendar;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class S3PutObjectResponse extends S3Response {
|
||||
protected String ETag;
|
||||
protected Calendar lastModified;
|
||||
|
||||
@ -18,9 +18,6 @@ package com.cloud.bridge.service.core.s3;
|
||||
|
||||
import java.util.Calendar;
|
||||
|
||||
/**
|
||||
* @author Kelven
|
||||
*/
|
||||
public class S3Request {
|
||||
protected String accessKey;
|
||||
protected String signature;
|
||||
|
||||
@ -29,10 +29,6 @@ import org.jasypt.encryption.pbe.StandardPBEStringEncryptor;
|
||||
import org.jasypt.properties.EncryptableProperties;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
public class CloudStackSessionFactory {
|
||||
private static CloudStackSessionFactory instance;
|
||||
public static final Logger logger = Logger.getLogger(CloudStackSessionFactory.class);
|
||||
|
||||
@ -27,7 +27,6 @@ import java.util.Calendar;
|
||||
import java.util.TimeZone;
|
||||
|
||||
/**
|
||||
* @author John Zucker
|
||||
* Format and parse a date string which is expected to be in ISO 8601 DateTimeFormat especially for
|
||||
* use in XML documents.
|
||||
* An example is for use with GMTDateTimeUserType to provide parsing of DateTime format strings into
|
||||
|
||||
@ -21,9 +21,6 @@ import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* @author Kelven Yang
|
||||
*/
|
||||
@Target({ElementType.FIELD})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface XFlatten {
|
||||
|
||||
@ -19,10 +19,6 @@ package com.cloud.stack.models;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* @author slriv
|
||||
*
|
||||
*/
|
||||
public class CloudStackKeyPair {
|
||||
@SerializedName(ApiConstants.FINGERPRINT)
|
||||
private String fingerprint;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user