aboutsummaryrefslogtreecommitdiff
path: root/buildscripts/import-control.xml
diff options
context:
space:
mode:
authorsebright <sebright@google.com>2018-09-12 12:13:14 -0700
committerGitHub <noreply@github.com>2018-09-12 12:13:14 -0700
commitd3fa0e5c60903f95c184d7c7bafae8fdd12156ad (patch)
treef88e8fb0ebd0fa60c603285363acfcb6b7cee33e /buildscripts/import-control.xml
parentc0e0b225a5230036b3dc09134f94eece81d3f96d (diff)
downloadopencensus-java-d3fa0e5c60903f95c184d7c7bafae8fdd12156ad.tar.gz
Temporarily move "metrics" package into impl_core/ for release. (#1426)
The "metrics" package isn't ready to be released yet, so this commit moves it out of the API artifact. The package can still be accessed by the stats implementation in impl_core/. This commit can be reverted once the package is ready to be exposed. The moved package names also contain "temporary" so that there is no possibility of class name conflicts between different versions of opencensus-api and opencensus-impl-core. For example, io.opencensus.metrics.export is renamed to io.opencensus.implcore.temporary.metrics.export.
Diffstat (limited to 'buildscripts/import-control.xml')
-rw-r--r--buildscripts/import-control.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/buildscripts/import-control.xml b/buildscripts/import-control.xml
index 938b57ee..b89f9f27 100644
--- a/buildscripts/import-control.xml
+++ b/buildscripts/import-control.xml
@@ -38,10 +38,10 @@ General guidelines on imports:
<allow pkg="io.opencensus.internal"/>
<allow pkg="io.opencensus.tags"/>
</subpackage>
- <subpackage name="metrics">
+ <subpackage name="implcore.temporary.metrics">
<allow pkg="io.opencensus.internal"/>
<allow pkg="io.opencensus.common"/>
- <allow pkg="io.opencensus.metrics"/>
+ <allow pkg="io.opencensus.implcore.temporary.metrics"/>
</subpackage>
<subpackage name="stats">
<allow pkg="io.opencensus.common"/>
@@ -182,7 +182,7 @@ General guidelines on imports:
<allow pkg="com.google.common"/>
<allow pkg="io.opencensus.common"/>
<allow pkg="io.opencensus.implcore"/>
- <allow pkg="io.opencensus.metrics"/>
+ <allow pkg="io.opencensus.implcore.temporary.metrics"/>
<allow pkg="io.opencensus.stats"/>
<allow pkg="io.opencensus.tags"/>
<allow pkg="io.opencensus.trace"/>
@@ -192,7 +192,7 @@ General guidelines on imports:
<allow pkg="io.opencensus.common"/>
<allow pkg="io.opencensus.impl"/>
<allow pkg="io.opencensus.implcore"/>
- <allow pkg="io.opencensus.metrics"/>
+ <allow pkg="io.opencensus.implcore.temporary.metrics"/>
<allow pkg="io.opencensus.stats"/>
<allow pkg="io.opencensus.tags"/>
<allow pkg="io.opencensus.trace"/>
@@ -201,7 +201,7 @@ General guidelines on imports:
<allow pkg="io.opencensus.common"/>
<allow pkg="io.opencensus.implcore"/>
<allow pkg="io.opencensus.impllite"/>
- <allow pkg="io.opencensus.metrics"/>
+ <allow pkg="io.opencensus.implcore.temporary.metrics"/>
<allow pkg="io.opencensus.stats"/>
<allow pkg="io.opencensus.tags"/>
<allow pkg="io.opencensus.trace"/>