This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/proxy/build.xml b/proxy/build.xml | |
index 7fffaa1..ee3363f 100644 | |
--- a/proxy/build.xml | |
+++ b/proxy/build.xml | |
@@ -11,7 +11,25 @@ | |
<property name="webapp.test.dir" location="${cp-home}/src/test/webapp" /> | |
<property name="target.dir" location="${cp-home}/target" /> | |
<property name="lib.dir" location="${libdir}" /> | |
+ <property name="dist.lib.dir" location="${distlibdir}" /> | |
<property name="pkgname" value="org.candlepin" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/java/org/candlepin/util/CrlFileUtil.java b/src/main/java/org/candlepin/util/CrlFileUtil.java | |
index 8618e7e..a8c71a1 100644 | |
--- a/src/main/java/org/candlepin/util/CrlFileUtil.java | |
+++ b/src/main/java/org/candlepin/util/CrlFileUtil.java | |
@@ -14,7 +14,6 @@ | |
*/ | |
package org.candlepin.util; | |
-import org.candlepin.controller.CrlGenerator; | |
import org.candlepin.pki.PKIUtility; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/java/org/candlepin/pinsetter/tasks/CertificateRevocationListTask.java b/src/main/java/org/candlepin/pinsetter/tasks/CertificateRevocationListTask.java | |
index 82de9f4..ce28e06 100644 | |
--- a/src/main/java/org/candlepin/pinsetter/tasks/CertificateRevocationListTask.java | |
+++ b/src/main/java/org/candlepin/pinsetter/tasks/CertificateRevocationListTask.java | |
@@ -14,13 +14,13 @@ | |
*/ | |
package org.candlepin.pinsetter.tasks; | |
-import org.candlepin.config.Config; | |
-import org.candlepin.config.ConfigProperties; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/java/org/candlepin/resource/CrlResource.java b/src/main/java/org/candlepin/resource/CrlResource.java | |
index d4a6c6c..300c68d 100644 | |
--- a/src/main/java/org/candlepin/resource/CrlResource.java | |
+++ b/src/main/java/org/candlepin/resource/CrlResource.java | |
@@ -14,25 +14,30 @@ | |
*/ | |
package org.candlepin.resource; | |
+import com.google.inject.Inject; | |
+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[junit] Unable to create export archive | |
[junit] org.candlepin.sync.ExportCreationException: Unable to create export archive | |
[junit] at org.candlepin.sync.Exporter.getFullExport(Exporter.java:134) | |
[junit] at org.candlepin.sync.ExporterTest.exportKeyPair(ExporterTest.java:378) | |
[junit] Caused by: org.codehaus.jackson.map.JsonMappingException: No serializer found for class sun.security.util.ObjectIdentifier and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: org.candlepin.model.KeyPair["privateKey"]->sun.security.rsa.RSAPrivateCrtKeyImpl["algorithmId"]->sun.security.x509.AlgorithmId["oid"]) | |
[junit] at org.codehaus.jackson.map.ser.impl.UnknownSerializer.failForEmpty(UnknownSerializer.java:52) | |
[junit] at org.codehaus.jackson.map.ser.impl.UnknownSerializer.serialize(UnknownSerializer.java:25) | |
[junit] at org.codehaus.jackson.map.ser.BeanPropertyWriter.serializeAsField(BeanPr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/java/org/candlepin/pinsetter/core/PinsetterJobListener.java b/src/main/java/org/candlepin/pinsetter/core/PinsetterJobListener.java | |
index 4cfcb73..e123642 100644 | |
--- a/src/main/java/org/candlepin/pinsetter/core/PinsetterJobListener.java | |
+++ b/src/main/java/org/candlepin/pinsetter/core/PinsetterJobListener.java | |
@@ -64,7 +64,9 @@ public class PinsetterJobListener implements JobListener { | |
ResteasyProviderFactory.pushContext(Principal.class, principal); | |
try { | |
+ System.out.println("Calling begin"); | |
unitOfWork.begin(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feb 07 17:03:01 [main] DEBUG net.rkbloom.logdriver.LogConnection - Opening connection: org.hsqldb.jdbc.jdbcConnection@18eefb41 | |
Feb 07 17:03:02 [main] DEBUG net.rkbloom.logdriver.LogConnection - Creating a new statement | |
Feb 07 17:03:02 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Unsuccessful: create index cp_poolattribute_pool_fk_idx on cp_product_pool_attribute (pool_id) | |
Feb 07 17:03:02 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Index already exists: CP_POOLATTRIBUTE_POOL_FK_IDX in statement [create index cp_poolattribute_pool_fk_idx on cp_product_pool_attribute] | |
Feb 07 17:03:02 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Unsuccessful: alter table cp_product_pool_attribute add constraint fk_pool_id foreign key (pool_id) references cp_pool | |
Feb 07 17:03:02 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport - Constraint already exists: FK_POOL_ID in statement [alter table cp_product_pool_attribute add constraint fk_pool_id foreign key (pool_id) references cp_pool] | |
Feb 07 17:03 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create sam consumer type | |
./cpc create_consumer_type sam true | |
# register a consumer as sam consumer type | |
./cpc register mymachine sam "" '{"key" => "fact"}' admin admin | |
# get the pool id for the test Virt pool | |
pool=`psql -U candlepin -c "select id, productname from cp_pool where productname like 'Virt%' limit 1;" | grep Virt | awk '{print $1}'` | |
# get the uuid of the consumer we registered | |
uuid=`psql -U candlepin -c "select uuid, name from cp_consumer where name = 'mymachine';" | grep mymachine | awk '{print $1}'` | |
# consumer the pool with id stored in $pool and consumer uuid in $uudi | |
./cpc consume_pool $pool "{:quantity => '1', :uuid => '$uuid'}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright (c) 2009 - 2012 Red Hat, Inc. | |
* | |
* This software is licensed to you under the GNU General Public License, | |
* version 2 (GPLv2). There is NO WARRANTY for this software, express or | |
* implied, including the implied warranties of MERCHANTABILITY or FITNESS | |
* FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2 | |
* along with this software; if not, see | |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python -tt | |
from bugzilla.rhbugzilla import RHBugzilla | |
from bugzilla.base import Bug | |
from copy import copy | |
import optparse, fileinput | |
import smtplib | |
import types | |
from email.mime.text import MIMEText | |
from optparse import OptionParser |