"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "clc/modules/object-storage-common/src/main/java/com/eucalyptus/objectstorage/entities/PartEntity.java" between
eucalyptus-4.4.1.tar.gz and eucalyptus-4.4.2.tar.gz

About: Eucalyptus (Elastic Utility Computing Architecture for Linking Your Programs To Useful Systems) is an infrastructure for implementing "cloud computing" on clusters (compatible with Amazon’s EC2 interface, but designed to support multiple client-side interfaces).

PartEntity.java  (eucalyptus-4.4.1):PartEntity.java  (eucalyptus-4.4.2)
skipping to change at line 58 skipping to change at line 58
import com.eucalyptus.objectstorage.ObjectState; import com.eucalyptus.objectstorage.ObjectState;
import com.eucalyptus.objectstorage.exceptions.s3.AccountProblemException; import com.eucalyptus.objectstorage.exceptions.s3.AccountProblemException;
import com.eucalyptus.objectstorage.util.ObjectStorageProperties; import com.eucalyptus.objectstorage.util.ObjectStorageProperties;
import com.eucalyptus.storage.msgs.s3.Part; import com.eucalyptus.storage.msgs.s3.Part;
//TODO: make the a child-class of ObjectEntity //TODO: make the a child-class of ObjectEntity
@Entity @Entity
@OptimisticLocking(type = OptimisticLockType.NONE) @OptimisticLocking(type = OptimisticLockType.NONE)
@PersistenceContext(name = "eucalyptus_osg") @PersistenceContext(name = "eucalyptus_osg")
@Table(name = "parts", indexes = { @Table(name = "parts", indexes = {
@Index(name = "IDX_part_uuid", columnList = "part_uuid") @Index(name = "IDX_part_uuid", columnList = "part_uuid"),
@Index(name = "IDX_part_bucket_fk", columnList = "bucket_fk"),
}) })
public class PartEntity extends S3AccessControlledEntity<ObjectState> implements Comparable { public class PartEntity extends S3AccessControlledEntity<ObjectState> implements Comparable {
@Column(name = "object_key") @Column(name = "object_key")
private String objectKey; private String objectKey;
@NotFound(action = NotFoundAction.EXCEPTION) @NotFound(action = NotFoundAction.EXCEPTION)
@ManyToOne(optional = false, targetEntity = Bucket.class, fetch = FetchType.EA GER) @ManyToOne(optional = false, targetEntity = Bucket.class, fetch = FetchType.EA GER)
@ForeignKey(name = "FK_bucket") @ForeignKey(name = "FK_bucket")
@JoinColumn(name = "bucket_fk") @JoinColumn(name = "bucket_fk")
private Bucket bucket; private Bucket bucket;
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)