Rename Java packages to use the .google TLD

The dark lord Gosling designed the Java package naming system so that
ownership flows from the DNS system. Since we own the domain name
registry.google, it seems only appropriate that we should use
google.registry as our package name.
This commit is contained in:
Michael Muller 2016-04-26 11:05:00 -04:00 committed by Justine Tunney
parent 5012893c1d
commit c458c05801
1309 changed files with 10981 additions and 10378 deletions

View file

@ -1,7 +1,9 @@
package(
default_visibility = ["//java/com/google/domain/registry:registry_project"],
default_visibility = ["//java/google/registry:registry_project"],
)
licenses(["notice"]) # Apache 2.0
java_library(
name = "api",

View file

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.domain.registry.keyring.api;
package google.registry.keyring.api;
import static com.google.common.base.Strings.emptyToNull;

View file

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.domain.registry.keyring.api;
package google.registry.keyring.api;
import org.bouncycastle.openpgp.PGPKeyPair;
import org.bouncycastle.openpgp.PGPPrivateKey;
@ -38,7 +38,7 @@ public interface Keyring extends AutoCloseable {
* <p>This keypair should only be known to the domain registry shared
* registry system.
*
* @see com.google.domain.registry.rde.RdeUploadAction
* @see google.registry.rde.RdeUploadAction
*/
PGPKeyPair getRdeSigningKey();
@ -65,28 +65,28 @@ public interface Keyring extends AutoCloseable {
* invocation of the RDE upload thing.
*
* @see #getRdeStagingEncryptionKey()
* @see com.google.domain.registry.rde.RdeUploadAction
* @see google.registry.rde.RdeUploadAction
*/
PGPPrivateKey getRdeStagingDecryptionKey();
/**
* Returns public key of escrow agent for encrypting deposits as they're uploaded.
*
* @see com.google.domain.registry.rde.RdeUploadAction
* @see google.registry.rde.RdeUploadAction
*/
PGPPublicKey getRdeReceiverKey();
/**
* Returns the PGP key we use to sign Bulk Registration Data Access (BRDA) deposits.
*
* @see com.google.domain.registry.rde.BrdaCopyAction
* @see google.registry.rde.BrdaCopyAction
*/
PGPKeyPair getBrdaSigningKey();
/**
* Returns public key of receiver of Bulk Registration Data Access (BRDA) deposits.
*
* @see com.google.domain.registry.rde.BrdaCopyAction
* @see google.registry.rde.BrdaCopyAction
*/
PGPPublicKey getBrdaReceiverKey();
@ -97,7 +97,7 @@ public interface Keyring extends AutoCloseable {
* {@code ~/.ssh/id_rsa.pub} file. It's usually a single line with the name of
* the algorithm, the base64 key, and the email address of the owner.
*
* @see com.google.domain.registry.rde.RdeUploadAction
* @see google.registry.rde.RdeUploadAction
*/
String getRdeSshClientPublicKey();
@ -112,35 +112,35 @@ public interface Keyring extends AutoCloseable {
* admin console. The request should originate from a backend task queue servlet
* invocation of the RDE upload thing.
*
* @see com.google.domain.registry.rde.RdeUploadAction
* @see google.registry.rde.RdeUploadAction
*/
String getRdeSshClientPrivateKey();
/**
* Returns password to be used when uploading reports to ICANN.
*
* @see com.google.domain.registry.rde.RdeReportAction
* @see google.registry.rde.RdeReportAction
*/
String getIcannReportingPassword();
/**
* Returns {@code user:password} login for TMCH MarksDB HTTP server DNL interface.
*
* @see com.google.domain.registry.tmch.TmchDnlAction
* @see google.registry.tmch.TmchDnlAction
*/
String getMarksdbDnlLogin();
/**
* Returns password for TMCH MarksDB HTTP server LORDN interface.
*
* @see "com.google.domain.registry.tmch.LordnRequestInitializer"
* @see "google.registry.tmch.LordnRequestInitializer"
*/
String getMarksdbLordnPassword();
/**
* Returns {@code user:password} login for TMCH MarksDB HTTP server SMDRL interface.
*
* @see com.google.domain.registry.tmch.TmchSmdrlAction
* @see google.registry.tmch.TmchSmdrlAction
*/
String getMarksdbSmdrlLogin();
@ -155,7 +155,7 @@ public interface Keyring extends AutoCloseable {
*
* <p>This is a base32 value copied from the Braintree website.
*
* @see com.google.domain.registry.config.ConfigModule#provideBraintreePublicKey
* @see google.registry.config.ConfigModule#provideBraintreePublicKey
*/
String getBraintreePrivateKey();

View file

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.domain.registry.keyring.api;
package google.registry.keyring.api;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.base.Verify.verify;

View file

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.domain.registry.keyring.api;
package google.registry.keyring.api;
import org.bouncycastle.openpgp.PGPKeyPair;
import org.bouncycastle.openpgp.PGPPrivateKey;

View file

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.domain.registry.keyring.api;
package google.registry.keyring.api;
import dagger.Module;
import dagger.Provides;

View file

@ -13,4 +13,4 @@
// limitations under the License.
@javax.annotation.ParametersAreNonnullByDefault
package com.google.domain.registry.keyring.api;
package google.registry.keyring.api;