Skip to content
Snippets Groups Projects
Commit c8ba9dbb authored by Rostislav Dublin (EPAM)'s avatar Rostislav Dublin (EPAM)
Browse files

author labels removed. EPAM license added

parent 9c4db668
No related branches found
No related tags found
1 merge request!144(GONRG-3831) GCP Notification: OQM mapper
Pipeline #81109 failed
/*
Copyright 2020 Google LLC
Copyright 2020 EPAM Systems, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.opengroup.osdu.notification.provider.gcp.mappers.oqm;
import lombok.Getter;
......@@ -6,11 +22,6 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
/**
* @author Rostislav_Dublin
* @since 28.11.2021
*/
@Configuration
@ConditionalOnProperty(name = "oqmDriver", havingValue = "rabbitmq")
@ConfigurationProperties(prefix = "oqm.rabbitmq")
......
package org.opengroup.osdu.notification.provider.gcp.mappers.oqm;
/*
Copyright 2020 Google LLC
Copyright 2020 EPAM Systems, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/package org.opengroup.osdu.notification.provider.gcp.mappers.oqm;
import com.rabbitmq.client.ConnectionFactory;
import com.rabbitmq.http.client.Client;
......@@ -30,9 +45,6 @@ import static org.springframework.beans.factory.config.BeanDefinition.SCOPE_SING
/**
* For RabbitMQ. Tenant Based OQM destination resolver
*
* @author Rostislav_Dublin
* @since 09.11.2021
*/
@Component
@Scope(SCOPE_SINGLETON)
......
/*
Copyright 2020 Google LLC
Copyright 2020 EPAM Systems, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.opengroup.osdu.notification.provider.gcp.mappers.oqm;
import lombok.Getter;
......@@ -6,11 +22,6 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
/**
* @author Rostislav_Dublin
* @since 28.11.2021
*/
@Configuration
@ConditionalOnProperty(name = "oqmDriver")
@ConfigurationProperties(prefix = "oqm")
......
/*
Copyright 2020 Google LLC
Copyright 2020 EPAM Systems, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.opengroup.osdu.notification.provider.gcp.mappers.oqm;
import com.google.cloud.pubsub.v1.SubscriptionAdminClient;
......@@ -25,9 +41,6 @@ import static org.springframework.beans.factory.config.BeanDefinition.SCOPE_SING
/**
* For GCP PubSub. Tenant Based OQM destination resolver
*
* @author Rostislav_Dublin
* @since 09.11.2021
*/
@Component
@Scope(SCOPE_SINGLETON)
......
/*
Copyright 2020 Google LLC
Copyright 2020 EPAM Systems, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.opengroup.osdu.notification.provider.gcp.pubsub.di;
import lombok.extern.slf4j.Slf4j;
......@@ -5,17 +21,12 @@ import org.opengroup.osdu.core.common.cryptographic.SignatureService;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Primary;
import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import static org.springframework.beans.factory.config.BeanDefinition.SCOPE_SINGLETON;
/**
* @author Rostislav_Dublin
* @since 17.11.2021
*/
@Component
@Scope(SCOPE_SINGLETON)
@Primary
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment